Releases: slackapi/node-slack-sdk
Releases · slackapi/node-slack-sdk
@slack/client v3.1.1
- Removes the DM facet
- Updates the aliasing approach for IM / DM to correctly alias DM to the IM Facet
@slack/client v3.1.0
- Updates the
lib/clients/web/facets/index.js
to reference the new facets added in the 3.0.0 update, thanks @ekmartin - Adds in a
reminders
client facet - MemoryDataStore.getUserByEmail now looks at the correct part of the user object for the email, thanks @SimantovYousoufov
- Adds docs and examples for the data store and sending DMs, thanks @PaulAsjes!
@slack/client v3.0.0
- Adds a number of new web client API facets:
- BREAKING Changes the function signatures for some facet methods:
channels.list
:exclude_archived
moves to anopts
object, instead of being a separate argumentgroups.list
:exclude_archived
moves to anopts
object, instead of being a separate argumentchat.delete
: Thets
andchannel
arguments are re-ordered to be alphabeticalstars.list
:user
moves to anopts
object, instead of being a separate argumentusers.list
:presence
moves to anopts
object, instead of being a separate argument
- BREAKING Updates the function signature for
BaseAPIClient.prototype.makeAPICall
to take required API args and optional API args as separate params, frommakeAPICall(endpoint, optData, optCb)
tomakeAPICall(endpoint, apiArgs, apiOptArgs, optCb)
- New methods are added to various facets:
@slack/client v2.3.0
- Caches messages on the RTM client, to improve handling in cases where message send fails
- Removes the handler for the websocket level ping handler (not the RTM API level ping handler)
- Refactors the logic for handling ws send responses to a single function
@slack/client v2.2.1
- Adds an
im
alias for thedm
facet to the web client, to match the API endpoint naming
@slack/client v2.2.0
- Adds promise support to the RTM client
send
andsendMessage
methods - Fixes the way message response callbacks work, so that the success case is only called when the websocket receives a message with a
reply_to
matching the id of the dispatched message, instead of when the ws instance signals message send success - Fixes the way
getAPICallArgs
works, to correctly pull data out of theopts
arg
@slack/client v2.0.6
- Fixes a crash introduce in
2.0.5
if you try and instantiate aWebClient
without passing in any options
@slack/client v2.0.5
- Updates the way that API requests are throttled to:
- avoid a condition where the request queue callback could be called multiple times, causing a crash
- refactor the logic in
_callTransport
into multiple functions to make it easier to follow
- Updates dev dependencies:
- eslint
- nock
- eslint-config-airbnb
NOTE: This release contained a bad bag that would cause a crash if you created a WebClient
without passing in any options. It's been unpublished from NPM and should not be used from here. Please use the 2.0.6
release instead.
@slack/client v2.0.4
- Passes through the logLevel param to the getLogger function
@slack/client v2.0.3
- The RTM
AUTHENTICATED
event now also emits thertm.start
payload - Fixes the way that loggers are instantiated and used, so that the JSDoc for
opts.logger
is correct