Releases: slackapi/node-slack-sdk
Releases · slackapi/node-slack-sdk
@slack/client v4.1.0
IncomingWebhook.send()
works with both callbacks and Promises (#508) - thanks @clavin- Completes type defintions for all
WebClient
method arguments (#512) - thanks @clavin - Allows
files.upload
to work with Buffers (in addition to ReadableStreams) (#500) - thanks @KharitonOff - Allows any WebClient methods argument to work with binary types (#519) - thanks @clavin and @aoberoi
- Fails when
WebClient.apiCall()
options don't look like the right type (#522) - thanks @aoberoi - Fixes TypeScript compile errors in node >=6 <=8 related to
callbackify
(#518) - thanks @aoberoi - Fixes mismatched parenthesis in RTMClient usage example documentation (#511) - thanks @parthsr
- Adds
examples
directory back to the repository (#520) - thanks @aoberoi
@slack/client v4.0.1
- Fixes crash in projects where
"name"
or"version"
were not defined in thepackage.json
file (#478) - thanks @wilhelmklopp @clavin @aoberoi - Fixes
IncomingWebhook.send()
to parse the response as text instead of JSON (#477) - thanks @aoberoi - Allows
IncomingWebhook
to be initialized without defaults (#479) - thanks @aoberoi - Allows
WebClient
to be initialized without atoken
in TypeScript (#482) - thanks @aoberoi - Allows unspecificed arguments to be used with
WebClient
method aliases andapiCall()
(#484) - thanks @clavin - Exports method argument types as top level exports in the type declarations (#483) - thanks @aoberoi
- Fixes inaccurate property type for
as_user
inChatPostMessageArguments
(#475) - thanks @harveyr - Improves the
OAuthAccessArguments
andOAuthTokenArguments
types (#481) - thanks @aoberoi
@slack/client v4.0.0
Breaking Changes If you are upgrading from a previous version, follow our comprehensive
Migration Guide to learn how to transport
your app into the new, shiny, future!
WebClient
- New
apiCall(method, options)
public API for making generic Web API calls. - Improved logging
- Improved error management
- Configuration for custom http Agent
- Custom TLS configuration
- Tons of performance improvements
RTMClient
- Improved message queuing - No need to wait for client to connect before sending a message.
- Lifecycle events driven by an all-new state machine
- New keep-alive algorithm
- Improved logging
- Improved error management
- Configuration for custom http Agent
- Custom TLS configuration
- Tons of performance improvements
General
- TypeScript declarations available for all APIs 🎉
- Updates all dependencies to their latest version
- Drops support for node versions less than 6.0
@slack/client v3.16.0
- Adds several missing RTM events into
RTM.EVENTS
export (thanks @clavin) #457 #448 - Adds
users.lookupByEmail
to WebClient (thanks @DominikPalo) #434 - Fixes stale values kept across requests when using
requestOptionsTransport
(thanks @bertrandom) #450 - Adds documentation for presence subscription over RTM (thanks @aoberoi) #454
- Fixes typos in documentation (thanks @konklone, @marclemagne, @aoberoi) #444, #446, #461, #466
As always, just run npm install @slack/client
to get the latest version. Stay tuned for v4, coming soon!
@slack/client v3.15.0
Deprecates data store APIs See the migration document for more details: https://github.com/slackapi/node-slack-sdk/wiki/DataStore-v3.x-Migration-Guide
- Major docs content rewrite (thanks @aoberoi) #428, #239, #305, #310, #364, #366, #413, #411, #423
- Adds
chat.getPermalink
Web API method (thanks @DominikPalo) #431 - Adds
opts.user
argument tousers.identity
Web API method (thanks @bertrandom) #432 - Fixes bug with not passing optional arguments for
conversations.info
(thanks @aoberoi) #441 - Fixes dead link to node-retry (thanks @pine) #433
- Adds eaiser support for
Buffer
input infiles.upload
Web API method (thanks @aoeberoi) #307 - Refactors logger usage across the package (thanks @aoberoi) #334
- General JSDoc,
require()
, dead code, clean up
@slack/client 3.14.2
Adds a new transport that lets you define options on the request module, expose it from the library
@slack/client v3.14.0
Adds support for Dialogs
@slack/client v3.13.0
- Adds support for the
conversations.*
family of Web API methods. See https://api.slack.com/docs/conversations-api. - thanks @aoberoi - Adds locale awareness options to various Web API methods. - thanks @aoberoi
- Fixes an argument encoding issue with calling
users.profile.set
(#360) - thanks @aoberoi - Removes an inaccurate comment (#394) - thanks @AriLFrankel
@slack/client v3.12.0
- Adds MPIM data to the DataStore as Groups (#389) - thanks @aoberoi and @bradslavin