1- # [ 7.2.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/7.1.0...7.2.0 ) (2022-05-03)
1+ # History
2+
3+ - [ ** 8.0.0** ] ( #800-2022-12-07 ) (Dec 2022)
4+ - [ 7.2.0] ( #720-2022-05-03 ) (May 2022)
5+ - [ 7.1.0] ( #710-2021-11-29 ) (Nov 2021)
6+ - [ 7.0.1] ( #701-2021-11-15 ) (Nov 2021)
7+ - [ ** 7.0.0** ] ( #700-2021-05-11 ) (May 2021)
8+ - [ 6.1.0] ( #610-2021-03-12 ) (Mar 2021)
9+ - [ 6.0.1] ( #601-2020-11-14 ) (Nov 2020)
10+ - [ ** 6.0.0** ] ( #600-2020-11-12 ) (Nov 2020)
11+ - [ 5.4.0] ( #540-2020-09-02 ) (Sep 2020)
12+ - [ 5.3.0] ( #530-2020-06-04 ) (Jun 2020)
13+ - [ 5.2.0] ( #520-2017-08-24 ) (Aug 2017)
14+ - [ 5.1.0] ( #510-2017-06-04 ) (Jun 2017)
15+
16+
17+
18+ # Release notes
19+
20+ ## [ 8.0.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/7.2.0...8.0.0 ) (2022-12-07)
21+
22+
23+ ### Dependencies
24+
25+ * bump notepack.io to version ~ 3.0.1 ([ #464 ] ( https://github.com/socketio/socket.io-redis-adapter/issues/464 ) ) ([ c96b2e7] ( https://github.com/socketio/socket.io-redis-adapter/commit/c96b2e72b1183dce45c9d2dcb94fcdf57b1a5141 ) )
26+
27+
28+ ### Features
29+
30+ * add option to allow usage of custom parser ([ #471 ] ( https://github.com/socketio/socket.io-redis-adapter/issues/471 ) ) ([ 73f6320] ( https://github.com/socketio/socket.io-redis-adapter/commit/73f6320006f39945c961678116ceee80f30efcf6 ) )
31+
32+ Example with [ msgpackr] ( https://github.com/kriszyp/msgpackr ) :
33+
34+ ``` js
35+ import { unpack , pack } from " msgpackr" ;
36+
37+ io .adapter (createAdapter (pubClient, subClient, {
38+ parser: {
39+ encode (val ) {
40+ return pack (val);
41+ },
42+ decode (val ) {
43+ return unpack (val);
44+ }
45+ }
46+ }));
47+ ```
48+
49+ * remove deprecated methods ([ fb760d9] ( https://github.com/socketio/socket.io-redis-adapter/commit/fb760d9d778ed8129543bf8321d87e4fd9cca711 ) )
50+
51+
52+ ### BREAKING CHANGES
53+
54+ * the remoteJoin(), remoteLeave(), remoteDisconnect()
55+ and sockets() methods are removed in favor of the official alternatives
56+
57+ Related: https://github.com/socketio/socket.io/commit/b25495c069031674da08e19aed68922c7c7a0e28
58+
59+ * the format of Date objects is modified in a non
60+ backward-compatible way, as notepack.io now implements the MessagePack
61+ Timestamp extension type.
62+
63+ Reference: https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type
64+
65+ Previous versions of the adapter will not be able to parse the Date
66+ objects sent by newer versions.
67+
68+ - Reference: https://github.com/darrachequesne/notepack/releases/tag/3.0.0
69+ - Diff: https://github.com/darrachequesne/notepack/compare/2.3.0...3.0.1
70+
71+
72+
73+ ## [ 7.2.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/7.1.0...7.2.0 ) (2022-05-03)
274
375
476### Bug Fixes
@@ -22,7 +94,7 @@ Thanks to this change, it will now work with multiple Socket.IO servers.
2294
2395
2496
25- # [ 7.1.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/7.0.1...7.1.0 ) (2021-11-29)
97+ ## [ 7.1.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/7.0.1...7.1.0 ) (2021-11-29)
2698
2799
28100### Features
@@ -43,7 +115,7 @@ Thanks to this change, it will now work with multiple Socket.IO servers.
43115
44116
45117
46- # [ 7.0.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/6.1.0...7.0.0 ) (2021-05-11)
118+ ## [ 7.0.0] ( https://github.com/socketio/socket.io-redis-adapter/compare/6.1.0...7.0.0 ) (2021-05-11)
47119
48120
49121### Features
@@ -73,7 +145,7 @@ io.adapter(redisAdapter(pubClient, subClient));
73145```
74146
75147
76- # [ 6.1.0] ( https://github.com/socketio/socket.io-redis/compare/6.0.1...6.1.0 ) (2021-03-12)
148+ ## [ 6.1.0] ( https://github.com/socketio/socket.io-redis/compare/6.0.1...6.1.0 ) (2021-03-12)
77149
78150
79151### Features
@@ -96,7 +168,7 @@ io.adapter(redisAdapter(pubClient, subClient));
96168
97169
98170
99- # [ 6.0.0] ( https://github.com/socketio/socket.io-redis/compare/5.4.0...6.0.0 ) (2020-11-12)
171+ ## [ 6.0.0] ( https://github.com/socketio/socket.io-redis/compare/5.4.0...6.0.0 ) (2020-11-12)
100172
101173
102174### Features
@@ -136,7 +208,7 @@ See https://github.com/nodejs/Release
136208
137209
138210
139- # [ 5.4.0] ( https://github.com/socketio/socket.io-redis/compare/5.3.0...5.4.0 ) (2020-09-02)
211+ ## [ 5.4.0] ( https://github.com/socketio/socket.io-redis/compare/5.3.0...5.4.0 ) (2020-09-02)
140212
141213
142214### Features
@@ -145,7 +217,7 @@ See https://github.com/nodejs/Release
145217
146218
147219
148- # [ 5.3.0] ( https://github.com/socketio/socket.io-redis/compare/5.2.0...5.3.0 ) (2020-06-04)
220+ ## [ 5.3.0] ( https://github.com/socketio/socket.io-redis/compare/5.2.0...5.3.0 ) (2020-06-04)
149221
150222
151223### Features
@@ -154,7 +226,7 @@ See https://github.com/nodejs/Release
154226
155227
156228
157- # [ 5.2.0] ( https://github.com/socketio/socket.io-redis/compare/5.1.0...5.2.0 ) (2017-08-24)
229+ ## [ 5.2.0] ( https://github.com/socketio/socket.io-redis/compare/5.1.0...5.2.0 ) (2017-08-24)
158230
159231
160232### Features
@@ -163,7 +235,7 @@ See https://github.com/nodejs/Release
163235
164236
165237
166- # [ 5.1.0] ( https://github.com/socketio/socket.io-redis/compare/5.0.1...5.1.0 ) (2017-06-04)
238+ ## [ 5.1.0] ( https://github.com/socketio/socket.io-redis/compare/5.0.1...5.1.0 ) (2017-06-04)
167239
168240### Bug Fixes
169241
0 commit comments