Skip to content

Commit bfefbde

Browse files
chore(release): 5.1.0
Diff: 5.0.0...5.1.0
1 parent 48bdd87 commit bfefbde

File tree

2 files changed

+61
-12
lines changed

2 files changed

+61
-12
lines changed

CHANGELOG.md

+60-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,53 @@
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)
251

352
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.
453

@@ -20,15 +69,15 @@ Important note! There is a non backward-compatible change regarding Date objects
2069

2170

2271

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)
2473

2574

2675
### Features
2776

2877
* implement the serverSideEmit functionality ([5feabda](https://github.com/socketio/socket.io-redis-emitter/commit/5feabdac98f0ae44f30dcf36a29a8be328be139e))
2978

3079

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)
3281

3382
**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.
3483

@@ -85,7 +134,7 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
85134

86135

87136

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)
89138

90139

91140
### Bug Fixes
@@ -98,7 +147,7 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
98147

99148

100149

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)
102151

103152

104153
### Features
@@ -111,7 +160,7 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
111160

112161

113162

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)
115164

116165

117166
### Features
@@ -121,20 +170,20 @@ Calling `io.to()` (or any other broadcast modifier) will now return an immutable
121170

122171

123172

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)
125174

126175

127176

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)
129178

130179

131180

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)
133182

134183

135184

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)
137186

138187

139188

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)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socket.io/redis-emitter",
3-
"version": "5.0.0",
3+
"version": "5.1.0",
44
"description": "The Socket.IO Redis emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)