UNPKG

3.72 kBMarkdownView Raw
1### v2.0.4 (2016-02-28)
2
3 * Passes through the logLevel param to the getLogger function
4
5### v2.0.3 (2016-02-28)
6
7 * The RTM `AUTHENTICATED` event now also emits the `rtm.start` payload
8 * Fixes the way that loggers are instantiated and used, so that the JSDoc for `opts.logger` is correct
9
10### v2.0.2 (2016-02-15)
11
12 * Adds coveralls to the repo, to track code coverage and display a badge in the README
13 * 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`
14 * Updates the message-handlers for `team_xxx` events to set the team back to the data-store once changes are made
15
16### v2.0.1 (2016-02-13)
17
18 * Updates to `ws@1.0.1`
19 * Fixes a bad variable name in [`example-web-client`](/examples/example-web-client.js)
20
21### v2.0.0 (2016-02-13)
22
23 Refactors the library to javascript, adds a lot of tests and restructures it to improve maintainability and extend functionality.
24 * Creates two separate clients:
25 - RTM; manages connection to Slack's RTM API, including reconnects
26 - Web; provideas a callback interface to all of Slack's Web API endpoints
27 * Moves the memory data store implementation off the clients and into its own class
28 * Uncouples the model objects from the clients; model functions to send messages to channels etc are now accessed via the web and RTM client
29 * Moves the transport layer (websockets and HTTP) to a pluggable model, so that complex transports (through request proxies etc) can be handled
30 * Adds test coverage on most core functionality in the library
31
32### v1.5.1 (2015-12-15)
33
34 * Adds support for a request-proxy URL to use the client from behind a proxy
35
36### v1.5.0 (2015-12-01):
37
38 * Updates the ws library from 0.4.3 to 0.8.1
39 * Reconnects when a `team_migration_started` event is received
40 * Supports finding users by email from the memory data store
41 * Fixes the getUnreadCount and getChannelsWithUnreads functions
42 * Emits error code and message when the ws closes
43 * Removes no-op call when a `ping` is received on the websocket
44
45### v1.4.0 (2015-02-25):
46
47 * Added callbacks to all API calls ([#20](https://github.com/slackhq/node-slack-client/pull/20))
48 * Added support for star added/delete events ([#27](https://github.com/slackhq/node-slack-client/pull/27)
49 * Fixed sample code ([#18](https://github.com/slackhq/node-slack-client/issues/18))
50 * `getChannelByName` now strips leading hash marks ([#9](https://github.com/slackhq/node-slack-client/pull/9))
51 * Dropped support for Node 0.8 ([#25](https://github.com/slackhq/node-slack-client/pull/25))
52 * Fix duplicate scripts entries in package.json ([230c7f74](https://github.com/slackhq/node-slack-client/commit/230c7f743a48f600aff5660367cf1e6816cc67e2))
53
54### v1.3.1 (2015-02-03):
55
56 * Added ability to call chat.postMessage web API method ([#15](https://github.com/slackhq/node-slack-client/pull/15))
57 * Added ability to update and delete messages ([#14](https://github.com/slackhq/node-slack-client/pull/14) and [#17](https://github.com/slackhq/node-slack-client/pull/17))
58 * Added sample code ([7ee93a7b](https://github.com/slackhq/node-slack-client/commit/7ee93a7bd51c97519d6d5deb54bd8058612a9b19))
59 * Fixed `getChannelsWithUnreads` ([#8](https://github.com/slackhq/node-slack-client/pull/8))
60 * Fixed race condition when emitting `open` event ([#19](https://github.com/slackhq/node-slack-client/pull/19))
61
62### v1.2.2 (2014-12-16):
63
64 * Compile coffeescript to JS before publishing to NPM ([#6](https://github.com/slackhq/node-slack-client/pull/6))
65 * Fixed typo in docs ([#2](https://github.com/slackhq/node-slack-client/pull/2/files))
66
67### v1.2.0 (2014-12-08)
68
69 * First public release