Skip to content

Releases: slackapi/node-slack-sdk

@slack/client v2.0.2

16 Feb 00:05
Compare
Choose a tag to compare
  • 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

13 Feb 20:33
Compare
Choose a tag to compare

@slack/client v2.0.0

13 Feb 19:24
Compare
Choose a tag to compare

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