Releases: slackapi/node-slack-sdk
Releases · slackapi/node-slack-sdk
@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
@slack/client v2.0.2
- Adds coveralls to the repo, to track code coverage and display a badge in the README
- Updates the disconnect function on the RTM client to support both an error message and a code or reason for the disconnect, e.g.
account_inactive
- Updates the message-handlers for
team_xxx
events to set the team back to the data-store once changes are made
@slack/client v2.0.1
- Updates to ws@1.0.1
- Fixes a bad variable name in example-web-client
@slack/client v2.0.0
Refactors the library to javascript, adds a lot of tests and restructures it to improve maintainability and extend functionality.
- Creates two separate clients:
- RTM; manages connection to Slack's RTM API, including reconnects
- Web; provideas a callback interface to all of Slack's Web API endpoints
- Moves the memory data store implementation off the clients and into its own class
- Uncouples the model objects from the clients; model functions to send messages to channels etc are now accessed via the web and RTM client
- Moves the transport layer (websockets and HTTP) to a pluggable model, so that complex transports (through request proxies etc) can be handled
- Adds test coverage on most core functionality in the library