From 3242d8e91baf94720df256ab422ec5c037f6a9e1 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Wed, 12 May 2021 00:39:59 +0200 Subject: [PATCH] chore(release): 7.0.0 Diff: https://github.com/socketio/socket.io-redis-adapter/compare/6.1.0...7.0.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8748b7..08eb148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# [7.0.0](https://github.com/socketio/socket.io-redis-adapter/compare/6.1.0...7.0.0) (2021-05-11) + + +### Features + +* implement the serverSideEmit functionality ([3a0f29f](https://github.com/socketio/socket.io-redis-adapter/commit/3a0f29fbe322f280f48f92b3aac0fcc94d698ee8)) +* remove direct redis dependency ([c68a47c](https://github.com/socketio/socket.io-redis-adapter/commit/c68a47c4948554125dac0e317e19947a4d3d3251)) +* rename the package to `@socket.io/redis-adapter` ([3cac178](https://github.com/socketio/socket.io-redis-adapter/commit/3cac1789c558a3ece5bb222d73f097952b55c340)) + + +### BREAKING CHANGES + +* the library will no longer create Redis clients on behalf of the user. + +Before: + +```js +io.adapter(redisAdapter({ host: "localhost", port: 6379 })); +``` + +After: + +```js +const pubClient = createClient({ host: "localhost", port: 6379 }); +const subClient = pubClient.duplicate(); + +io.adapter(redisAdapter(pubClient, subClient)); +``` + + # [6.1.0](https://github.com/socketio/socket.io-redis/compare/6.0.1...6.1.0) (2021-03-12) diff --git a/package-lock.json b/package-lock.json index 6672bac..0645d20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@socket.io/redis-adapter", - "version": "6.1.0", + "version": "7.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e40342c..c1a145a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@socket.io/redis-adapter", - "version": "6.1.0", + "version": "7.0.0", "description": "The Socket.IO Redis adapter, allowing to broadcast events between several Socket.IO servers", "license": "MIT", "repository": {