1
- # [ 5.0.0] ( https://github.com/socketio/socket.io-redis-emitter/compare/4.1.1...5.0.0 ) (2022-09-07)
1
+ # History
2
+
3
+ - [ 5.1.0] ( #510-2023-01-12 ) (Jan 2023)
4
+ - [ ** 5.0.0** ] ( #500-2022-09-07 ) (Sep 2022)
5
+ - [ 4.1.1] ( #411-2022-01-04 ) (Jan 2022)
6
+ - [ 4.1.0] ( #410-2021-05-11 ) (May 2021)
7
+ - [ ** 4.0.0** ] ( #400-2021-03-17 ) (Mar 2021)
8
+ - [ 3.1.2] ( #312-2020-12-29 ) (Dec 2020)
9
+ - [ 3.2.0] ( #320-2020-12-29 ) (Dec 2020)
10
+ - [ 3.1.1] ( #311-2017-10-12 ) (Oct 2017)
11
+ - [ 3.1.0] ( #310-2017-08-03 ) (Aug 2017)
12
+ - [ 3.0.1] ( #301-2017-05-13 ) (May 2017)
13
+ - [ ** 3.0.0** ] ( #300-2017-05-13 ) (May 2017)
14
+ - [ ** 2.0.0** ] ( #200-2017-01-12 ) (Jan 2017)
15
+ - [ 1.1.0] ( #110-2017-01-12 ) (Jan 2017)
16
+ - [ ** 1.0.0** ] ( #100-2015-12-10 ) (Dec 2015)
17
+ - [ 0.3.0] ( #030-2015-12-09 ) (Dec 2015)
18
+ - [ 0.2.0] ( #020-2014-06-07 ) (Jun 2014)
19
+
20
+
21
+
22
+ # Release notes
23
+
24
+ ## [ 5.1.0] ( https://github.com/socketio/socket.io-redis-emitter/compare/5.0.0...5.1.0 ) (2023-01-12)
25
+
26
+
27
+ ### Features
28
+
29
+ * add option to allow usage of custom parser ([ #121 ] ( https://github.com/socketio/socket.io-redis-emitter/issues/121 ) ) ([ 48bdd87] ( https://github.com/socketio/socket.io-redis-emitter/commit/48bdd872f3108fddc1feddf97bcea5359b074d40 ) )
30
+
31
+ ``` js
32
+ import { Emitter } from " @socket.io/redis-emitter" ;
33
+ import { createClient } from " redis" ;
34
+
35
+ const redisClient = createClient ();
36
+
37
+ await redisClient .connect ();
38
+
39
+ const io = new Emitter (redisClient, {
40
+ parser: {
41
+ encode (msg ) {
42
+ return JSON .stringify (msg);
43
+ }
44
+ }
45
+ });
46
+ ```
47
+
48
+
49
+
50
+ ## [ 5.0.0] ( https://github.com/socketio/socket.io-redis-emitter/compare/4.1.1...5.0.0 ) (2022-09-07)
2
51
3
52
Important note! There is a non backward-compatible change regarding Date objects, which means that the adapter may not be able to properly decode them.
4
53
@@ -20,15 +69,15 @@ Important note! There is a non backward-compatible change regarding Date objects
20
69
21
70
22
71
23
- # [ 4.1.0] ( https://github.com/socketio/socket.io-redis-emitter/compare/4.0.0...4.1.0 ) (2021-05-11)
72
+ ## [ 4.1.0] ( https://github.com/socketio/socket.io-redis-emitter/compare/4.0.0...4.1.0 ) (2021-05-11)
24
73
25
74
26
75
### Features
27
76
28
77
* implement the serverSideEmit functionality ([ 5feabda] ( https://github.com/socketio/socket.io-redis-emitter/commit/5feabdac98f0ae44f30dcf36a29a8be328be139e ) )
29
78
30
79
31
- # [ 4.0.0] ( https://github.com/socketio/socket.io-emitter/compare/3.2.0...4.0.0 ) (2021-03-17)
80
+ ## [ 4.0.0] ( https://github.com/socketio/socket.io-emitter/compare/3.2.0...4.0.0 ) (2021-03-17)
32
81
33
82
** Important note** : the name of the package was updated from ` socket.io-emitter ` to ` @socket.io/redis-emitter ` in order to better reflect the relationship with Redis.
34
83
@@ -85,7 +134,7 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
85
134
86
135
87
136
88
- # [ 3.2.0] ( https://github.com/socketio/socket.io-emitter/compare/3.1.1...3.2.0 ) (2020-12-29)
137
+ ## [ 3.2.0] ( https://github.com/socketio/socket.io-emitter/compare/3.1.1...3.2.0 ) (2020-12-29)
89
138
90
139
91
140
### Bug Fixes
@@ -98,7 +147,7 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
98
147
99
148
100
149
101
- # [ 3.1.0] ( https://github.com/socketio/socket.io-emitter/compare/3.0.1...3.1.0 ) (2017-08-03)
150
+ ## [ 3.1.0] ( https://github.com/socketio/socket.io-emitter/compare/3.0.1...3.1.0 ) (2017-08-03)
102
151
103
152
104
153
### Features
@@ -111,7 +160,7 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
111
160
112
161
113
162
114
- # [ 3.0.0] ( https://github.com/socketio/socket.io-emitter/compare/2.0.0...3.0.0 ) (2017-05-13)
163
+ ## [ 3.0.0] ( https://github.com/socketio/socket.io-emitter/compare/2.0.0...3.0.0 ) (2017-05-13)
115
164
116
165
117
166
### Features
@@ -121,20 +170,20 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
121
170
122
171
123
172
124
- # [ 2.0.0] ( https://github.com/socketio/socket.io-emitter/compare/1.1.0...2.0.0 ) (2017-01-12)
173
+ ## [ 2.0.0] ( https://github.com/socketio/socket.io-emitter/compare/1.1.0...2.0.0 ) (2017-01-12)
125
174
126
175
127
176
128
- # [ 1.1.0] ( https://github.com/socketio/socket.io-emitter/compare/1.0.0...1.1.0 ) (2017-01-12)
177
+ ## [ 1.1.0] ( https://github.com/socketio/socket.io-emitter/compare/1.0.0...1.1.0 ) (2017-01-12)
129
178
130
179
131
180
132
- # [ 1.0.0] ( https://github.com/socketio/socket.io-emitter/compare/0.3.0...1.0.0 ) (2015-12-10)
181
+ ## [ 1.0.0] ( https://github.com/socketio/socket.io-emitter/compare/0.3.0...1.0.0 ) (2015-12-10)
133
182
134
183
135
184
136
- # [ 0.3.0] ( https://github.com/socketio/socket.io-emitter/compare/0.2.0...0.3.0 ) (2015-12-09)
185
+ ## [ 0.3.0] ( https://github.com/socketio/socket.io-emitter/compare/0.2.0...0.3.0 ) (2015-12-09)
137
186
138
187
139
188
140
- # [ 0.2.0] ( https://github.com/socketio/socket.io-emitter/compare/0.1.0...0.2.0 ) (2014-06-07)
189
+ ## [ 0.2.0] ( https://github.com/socketio/socket.io-emitter/compare/0.1.0...0.2.0 ) (2014-06-07)
0 commit comments