UNPKG

3.72 kBMarkdownView Raw
1# Change Log
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5<a name="0.9.0"></a>
6# [0.9.0](https://github.com/an-sh/chat-service/compare/0.8.0...v0.9.0) (2016-08-08)
7
8
9### Bug Fixes
10
11* **api:** add internal errors representation ([6984215](https://github.com/an-sh/chat-service/commit/6984215))
12* **api:** don't send notifications on noop leaves ([0d05357](https://github.com/an-sh/chat-service/commit/0d05357))
13* **api:** don't transform exec command results ([33d753c](https://github.com/an-sh/chat-service/commit/33d753c))
14* **config:** honor enableUserlistUpdates option ([86f5f61](https://github.com/an-sh/chat-service/commit/86f5f61))
15* **store:** trim history on shrinking ([826b59a](https://github.com/an-sh/chat-service/commit/826b59a))
16* **transport:** use ioOptions with http ([8d93755](https://github.com/an-sh/chat-service/commit/8d93755))
17
18
19### Code Refactoring
20
21* remove io and nps fields ([6b28fde](https://github.com/an-sh/chat-service/commit/6b28fde))
22* remove redis field ([7e14b62](https://github.com/an-sh/chat-service/commit/7e14b62))
23* **api:** rename defaultHistoryLimit option ([a3ae131](https://github.com/an-sh/chat-service/commit/a3ae131))
24* **errors:** new rpc error object format ([7c34202](https://github.com/an-sh/chat-service/commit/7c34202))
25* **transport:** move middleware option ([7f839f5](https://github.com/an-sh/chat-service/commit/7f839f5))
26* **validation:** provide a method on instance ([5ed60a9](https://github.com/an-sh/chat-service/commit/5ed60a9))
27
28
29### Features
30
31* **api:** add a custom data field to ExecInfo ([be5bb48](https://github.com/an-sh/chat-service/commit/be5bb48))
32* **api:** add getHandshakeData transport method ([8d3c089](https://github.com/an-sh/chat-service/commit/8d3c089))
33* **api:** add notification config setters methods ([bf6935c](https://github.com/an-sh/chat-service/commit/bf6935c))
34* **api:** add roomNotificationsInfo command ([e1a7ac5](https://github.com/an-sh/chat-service/commit/e1a7ac5))
35* **api:** echo join and leave from a server side ([23d2252](https://github.com/an-sh/chat-service/commit/23d2252))
36* **api:** per-room notifications config ([c21435b](https://github.com/an-sh/chat-service/commit/c21435b))
37* **hooks:** add isLocalCall property ([37b2260](https://github.com/an-sh/chat-service/commit/37b2260))
38* **hooks:** add onDisconnect hook ([e9ff9a1](https://github.com/an-sh/chat-service/commit/e9ff9a1))
39* **store:** permissions lists size limits ([5aa917a](https://github.com/an-sh/chat-service/commit/5aa917a))
40* **store:** pluginable state store ([408f785](https://github.com/an-sh/chat-service/commit/408f785))
41* **transport:** transport as a plugin ([892bacb](https://github.com/an-sh/chat-service/commit/892bacb))
42
43
44### Styles
45
46* rewrite all code to es6 ([f47173f](https://github.com/an-sh/chat-service/commit/f47173f))
47
48
49### BREAKING CHANGES
50
51* api: Rename defaultHistoryLimit option to historyMaxSize.
52* api: enableAccessListsUpdates and enableUserlistUpdates are
53now just default values, and will not be used for already created rooms.
54* Remove ChatService redis field from the public API.
55* Remove ChatService io and nps fields from the public
56API.
57* Possible regressions due to a full es6 rewrite.
58* transport: Multiple transport API changes.
59* hooks: Remove disconnect command and its hooks.
60* transport: Option middleware was moved from hooks to
61SocketIOTransportOptions.
62* errors: The ChatService errors' object name field is set to
63'ChatServiceError' and name filed is renamed to code.
64* validation: chatService.validator.checkArguments has changed to
65chatService.checkArguments.