Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 3.34 KB

CHANGELOG.md

File metadata and controls

60 lines (43 loc) · 3.34 KB

v2.0.2 (2016-02-15)

  • 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

v2.0.1 (2016-02-13)

v2.0.0 (2016-02-13)

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

v1.5.1 (2015-12-15)

  • Adds support for a request-proxy URL to use the client from behind a proxy

v1.5.0 (2015-12-01):

  • Updates the ws library from 0.4.3 to 0.8.1
  • Reconnects when a team_migration_started event is received
  • Supports finding users by email from the memory data store
  • Fixes the getUnreadCount and getChannelsWithUnreads functions
  • Emits error code and message when the ws closes
  • Removes no-op call when a ping is received on the websocket

v1.4.0 (2015-02-25):

  • Added callbacks to all API calls (#20)
  • Added support for star added/delete events (#27
  • Fixed sample code (#18)
  • getChannelByName now strips leading hash marks (#9)
  • Dropped support for Node 0.8 (#25)
  • Fix duplicate scripts entries in package.json (230c7f74)

v1.3.1 (2015-02-03):

  • Added ability to call chat.postMessage web API method (#15)
  • Added ability to update and delete messages (#14 and #17)
  • Added sample code (7ee93a7b)
  • Fixed getChannelsWithUnreads (#8)
  • Fixed race condition when emitting open event (#19)

v1.2.2 (2014-12-16):

  • Compile coffeescript to JS before publishing to NPM (#6)
  • Fixed typo in docs (#2)

v1.2.0 (2014-12-08)

  • First public release