Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @socket.io/redis-adapter from 7.0.1 to 7.1.0 #311

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2022

Bumps @socket.io/redis-adapter from 7.0.1 to 7.1.0.

Release notes

Sourced from @​socket.io/redis-adapter's releases.

7.1.0

Features

  • add support for redis v4 (aa681b3)
  • do not emit "error" events anymore (8e5c84f)

Error handling can now be done on the redis clients directly.

Before:

io.of("/").adapter.on("error", () => {
  // ...
});

After:

pubClient.on("error", () => {
  // something went wrong
});
subClient.on("error", () => {
// something went wrong
});

  • send response to the requesting node only (f66de11)

A more performant way to do request-response is available behind an option, publishOnSpecificResponseChannel:

const io = require('socket.io')(3000);
const { createClient } = require('redis');
const redisAdapter = require('@socket.io/redis-adapter');
const pubClient = createClient({ host: 'localhost', port: 6379 });
const subClient = pubClient.duplicate();
io.adapter(redisAdapter(pubClient, subClient, {
publishOnSpecificResponseChannel: true
}));

To upgrade an existing deployment, you will need to upgrade all nodes to the latest version with publishOnSpecificResponseChannel = false, and then toggle the option on each node.

Please check the commit for more information.

Links

... (truncated)

Changelog

Sourced from @​socket.io/redis-adapter's changelog.

7.1.0 (2021-11-29)

Features

  • add support for redis v4 (aa681b3)
  • do not emit "error" events anymore (8e5c84f)
  • send response to the requesting node only (f66de11)
Commits
  • e0850c8 chore(release): 7.1.0
  • 8e5c84f feat: do not emit "error" events anymore
  • f66de11 feat: send response to the requesting node only
  • aa681b3 feat: add support for redis v4
  • b29d494 chore: bump ansi-regex from 5.0.0 to 5.0.1 (#428)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@socket.io/redis-adapter](https://github.com/socketio/socket.io-redis-adapter) from 7.0.1 to 7.1.0.
- [Release notes](https://github.com/socketio/socket.io-redis-adapter/releases)
- [Changelog](https://github.com/socketio/socket.io-redis-adapter/blob/master/CHANGELOG.md)
- [Commits](socketio/socket.io-redis-adapter@7.0.1...7.1.0)

---
updated-dependencies:
- dependency-name: "@socket.io/redis-adapter"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 24, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 6, 2022

Superseded by #324.

@dependabot dependabot bot closed this May 6, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/socket.io/redis-adapter-7.1.0 branch May 6, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants