fix(deps): update dependency @socket.io/redis-adapter to v8 #11776
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.2.0
->8.2.1
Release Notes
socketio/socket.io-redis-adapter
v8.2.1
Compare Source
Bug Fixes
v8.2.0
Compare Source
Bug Fixes
Features
Sharded Pub/Sub
Sharded Pub/Sub was introduced in Redis 7.0 in order to help scaling the usage of Pub/Sub in cluster mode.
Reference: https://redis.io/docs/manual/pubsub/#sharded-pubsub
A dedicated adapter can be created with the
createShardedAdapter()
method:Minimum requirements:
redis@4.6.0
Added in e70b1bd.
Support for node-redis cluster
The
redis
package now supports Redis cluster.Added in 77ef42c.
Subscription modes
The
subscriptionMode
option allows to configure how many Redis Pub/Sub channels are used:Useful when used with dynamic namespaces.
The default value, useful when some rooms have a low number of clients (so only a few Socket.IO servers are notified).
Added in d3388bf.
Credits
Huge thanks to @winchell for helping!
v8.1.0
Compare Source
The
socket.io-adapter
package was added to the list ofpeerDependencies
, in order to fix sync issues with the version imported by thesocket.io
package (see f07ff7b).Features
Automatic removal of empty child namespaces
The
close()
method was implemented, in order to be used with the newcleanupEmptyChildNamespaces
option.Reference: https://github.com/socketio/socket.io/releases/tag/4.6.0
Added in fe89f7e.
v8.0.1
Compare Source
This release pins the
socket.io-adapter
package to version~2.4.0
instead of^2.4.0
.v8.0.0
Compare Source
Dependencies
Features
Example with msgpackr:
BREAKING CHANGES
and sockets() methods are removed in favor of the official alternatives
Related: socketio/socket.io@b25495c
backward-compatible way, as notepack.io now implements the MessagePack
Timestamp extension type.
Reference: https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type
Previous versions of the adapter will not be able to parse the Date
objects sent by newer versions.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.