Skip to content

Commit 3242d8e

Browse files
chore(release): 7.0.0
Diff: 6.1.0...7.0.0
1 parent 3a0f29f commit 3242d8e

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# [7.0.0](https://github.com/socketio/socket.io-redis-adapter/compare/6.1.0...7.0.0) (2021-05-11)
2+
3+
4+
### Features
5+
6+
* implement the serverSideEmit functionality ([3a0f29f](https://github.com/socketio/socket.io-redis-adapter/commit/3a0f29fbe322f280f48f92b3aac0fcc94d698ee8))
7+
* remove direct redis dependency ([c68a47c](https://github.com/socketio/socket.io-redis-adapter/commit/c68a47c4948554125dac0e317e19947a4d3d3251))
8+
* rename the package to `@socket.io/redis-adapter` ([3cac178](https://github.com/socketio/socket.io-redis-adapter/commit/3cac1789c558a3ece5bb222d73f097952b55c340))
9+
10+
11+
### BREAKING CHANGES
12+
13+
* the library will no longer create Redis clients on behalf of the user.
14+
15+
Before:
16+
17+
```js
18+
io.adapter(redisAdapter({ host: "localhost", port: 6379 }));
19+
```
20+
21+
After:
22+
23+
```js
24+
const pubClient = createClient({ host: "localhost", port: 6379 });
25+
const subClient = pubClient.duplicate();
26+
27+
io.adapter(redisAdapter(pubClient, subClient));
28+
```
29+
30+
131
# [6.1.0](https://github.com/socketio/socket.io-redis/compare/6.0.1...6.1.0) (2021-03-12)
232

333

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socket.io/redis-adapter",
3-
"version": "6.1.0",
3+
"version": "7.0.0",
44
"description": "The Socket.IO Redis adapter, allowing to broadcast events between several Socket.IO servers",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)