UNPKG

3.15 kBMarkdownView Raw
1
2### 0.8.0 (2016/07/07)
3
4- Added ChatService clusterBus.
5- Added hasDirectAccess and hasRoomAccess serviceAPI methods.
6- Added hooks returning promises support.
7- Added ready and error ChatService lifecycle events.
8- Added room and user states recovery APIs.
9- Added some Transport public API methods.
10- Added storeConsistencyFailure and transportConsistencyFailure events.
11- Added support of binary data in custom messages.
12- Changed Redis user sockets schema.
13- Changed closed ChatService event.
14- Changed default timeouts values.
15- Changed disconnectUserSockets API method.
16- Changed hooks callbacks, now must be run async only.
17- Changed instanceRecover name to instanceRecovery.
18- Changed ioredis version to ^2.0.0.
19- Fixed CoffeeScript compilation (use compiled js for npm).
20- Fixed channel leaving for sockets in other instances.
21- Fixed closeTimeout option passing.
22- Fixed hasRoom and hasUser errors propagation.
23- Fixed redis state graceful shutdown.
24- Moved example application to a separate repo.
25
26### 0.7.0 (2016/05/27)
27
28- Added ServiceAPI for scripting.
29- Added hooks for checking custom content in message objects.
30- Added listOwnSockets command.
31- Added redis socket.io adapter dependency.
32- Added roomGetOwner command.
33- Added roomHistoryGet and roomHistoryInfo commands.
34- Added roomUserSeen command.
35- Added socketConnectEcho and socketDisconnectEcho messages.
36- Added systemMessage command.
37- Changed Redis schema.
38- Changed adminlist to accessList.
39- Changed auth hook to middleware.
40- Changed chat constructor options.
41- Changed global rooms history limit to a per-room value.
42- Changed hooks API.
43- Changed internal APIs (full rewrite, use promises now).
44- Changed module export.
45- Changed node.js minimum version to 0.12.
46- Changed room permissions.
47- Changed roomHistory to roomRecentHistory.
48- Changed roomJoinedEcho and roomLeftEcho ServerMessages.
49- Changed roomMessage and directMessage server messages.
50- Changed roomMessage command.
51- Cleanup tests, suit split.
52- Fixed commands arguments validation.
53- Removed listRooms command.
54
55### 0.6.1 (2016/02/01)
56
57- Update dependencies.
58- Lock socket-io minor version.
59
60### 0.6.0 (2015/12/05)
61
62- Don't join/leave all user sockets from rooms at server side.
63- Rename enableAdminListUpdates to enableAdminlistUpdates.
64- Changed onConnect hook arguments.
65- Add njoined data in related server messages.
66- Fix user remove from room bugs.
67- Fix Redis states cleanup functions.
68- Include frontend example application.
69
70### 0.5.1 (2015/10/26)
71
72- Security: Fix type error throwing on primitive message objects.
73
74### 0.5.0 (2015/10/07)
75
76- Allow room adminlist changing only for owner.
77- Dependencies update.
78- Message hooks fix/simplification.
79- Pass state options.
80- Use locks in redis state.
81- Wait for clients disconnection in close function.
82
83### 0.4.0 (2015/09/02)
84
85- Redis state.
86- Room listing changed.
87- Before and After hooks changed.
88- More unit tests.
89
90### 0.3.0 (2015/08/19)
91
92- Some documentation.
93- Room join/leave server messages renamed.
94
95### 0.2.0 (2015/08/13)
96
97- New socket.io messages reply format (using ack).
98- State store API.
99
100### 0.1.0 (2015/07/21)
101
102- Initial release.