UNPKG

3.22 kBMarkdownView Raw
1## [6.1.1](https://github.com/socketio/socket.io-redis/compare/6.1.0...6.1.1) (2021-05-18)
2
3
4# [6.1.0](https://github.com/socketio/socket.io-redis/compare/6.0.1...6.1.0) (2021-03-12)
5
6
7### Features
8
9* implement utility methods from Socket.IO v4 ([468c3c8](https://github.com/socketio/socket.io-redis/commit/468c3c8008ddd0c89b2fc2054d874e9e706f0948))
10
11
12### Performance Improvements
13
14* remove one round-trip for the requester ([6c8d770](https://github.com/socketio/socket.io-redis/commit/6c8d7701962bee4acf83568f8e998876d3549fb8))
15
16
17## [6.0.1](https://github.com/socketio/socket.io-redis/compare/6.0.0...6.0.1) (2020-11-14)
18
19
20### Bug Fixes
21
22* **typings:** properly expose the createAdapter method ([0d2d69c](https://github.com/socketio/socket.io-redis/commit/0d2d69cc78aa3418a7b5a6231a13ea4028dd74a3))
23* fix broadcasting ([#361](https://github.com/socketio/socket.io-redis/issues/361)) ([3334d99](https://github.com/socketio/socket.io-redis/commit/3334d99e1b6e2f80485c73133381a18798b24bc0))
24
25
26
27# [6.0.0](https://github.com/socketio/socket.io-redis/compare/5.4.0...6.0.0) (2020-11-12)
28
29
30### Features
31
32* add support for Socket.IO v3 ([d9bcb19](https://github.com/socketio/socket.io-redis/commit/d9bcb1935940d7ad414ba7154de51cdc4a7d45b1))
33
34### BREAKING CHANGES:
35
36- all the requests (for inter-node communication) now return a Promise instead of accepting a callback
37
38Before:
39
40```js
41io.of('/').adapter.allRooms((err, rooms) => {
42 console.log(rooms); // an array containing all rooms (accross every node)
43});
44```
45
46After:
47
48```js
49const rooms = await io.of('/').adapter.allRooms();
50console.log(rooms); // a Set containing all rooms (across every node)
51```
52
53- RedisAdapter.clients() is renamed to RedisAdapter.sockets()
54
55See https://github.com/socketio/socket.io-adapter/commit/130f28a43c5aca924aa2c1a318422d21ba03cdac
56
57- RedisAdapter.customHook() and RedisAdapter.customRequest() are removed
58
59Those methods will be replaced by a more intuitive API in a future iteration.
60
61- support for Node.js 8 is dropped
62
63See https://github.com/nodejs/Release
64
65
66
67# [5.4.0](https://github.com/socketio/socket.io-redis/compare/5.3.0...5.4.0) (2020-09-02)
68
69
70### Features
71
72* update node-redis version to 3.x ([5b3ed58](https://github.com/socketio/socket.io-redis/commit/5b3ed5877acfdb35e4faa2f46f06a8032ff8b574))
73
74
75
76# [5.3.0](https://github.com/socketio/socket.io-redis/compare/5.2.0...5.3.0) (2020-06-04)
77
78
79### Features
80
81* add support for Redis Cluster ([7a19075](https://github.com/socketio/socket.io-redis/commit/7a190755c01732d1335199732e7b0eb5a1fb1f9e))
82
83
84
85# [5.2.0](https://github.com/socketio/socket.io-redis/compare/5.1.0...5.2.0) (2017-08-24)
86
87
88### Features
89
90* increase default requestsTimeout to 5000 ms ([37e28df](https://github.com/socketio/socket.io-redis/commit/37e28df54b0b8c71b4f8ea1766e56dc63fb26ba2))
91
92
93
94# [5.1.0](https://github.com/socketio/socket.io-redis/compare/5.0.1...5.1.0) (2017-06-04)
95
96### Bug Fixes
97
98* use the requestid from response when deleting requests ([4f08b1a](https://github.com/socketio/socket.io-redis/commit/4f08b1ae7b3b9ee549349f1b95f5e3f3ff69d651))
99
100
101### Features
102
103* add support for ArrayBuffer ([b3ad4ad](https://github.com/socketio/socket.io-redis/commit/b3ad4ad28b225f1999d5dd709f2ea6d5674085f6))
104
105