Releases: slackapi/node-slack-sdk
Releases · slackapi/node-slack-sdk
@slack/client v3.5.1
- Updates
lodash
from^3.10.1
to^4.13.1
. And means it. - Minor tweaks to existing documentation and example code to make them consistent with each other. Because hobgoblins are friendly and love you.
@slack/client v3.5.0
- Adds the team.billableInfo endpoint to the team facet
- Adds the bots.info endpoint and creates the
bots
facet - Removes the
user
optional argument from the stars.list method
@slack/client v3.4.0
- Adds the chat.meMessage endpoint to the chat facet
@slack/client v3.3.0
- Creates a memory data store by default if an undefined, but not false|null value is passed for
opts.dataStore
- Aliases the retry policies to be human readable
@slack/client v3.2.1
- Updates the RTM client to emit an UNABLE_TO_RTM_START event when all reconnection attempts are exhausted, rather than throwing an error
- Suppresses some spurious log lines when tests are run
@slack/client v3.2.0
- Updates the
_makeAPICall
method to make the optional API args param optional to pass in, so the third param to this function can be either an opts object or a cb. This is to allow us to add optional arguments to API methods without it being a breaking change. - Fixes the
retry-after
header name and adds a numeric fallback if the retry-after value can't be parsed, thanks @foiseworth! - Adds new API methods to various facets
- Adds optional arguments to:
files.comments.add
: adds achannel
param, for the channel id of the location to associate with the new commentchat.delete
: adds a booleanas_user
param, to support deleting a message as the authed user
@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