UNPKG

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