Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 5, 2025

Bumps redis from 4.7.0 to 5.0.1.

Release notes

Sourced from redis's releases.

redis@5.0.0

Redis Node.js Client Release Notes

🚀 New Features

  • EntraID added support for azure identity by @​bobymicroby in redis/node-redis#2901
  • Added HGETEX, HSETEX, HGETDEL hash field expiration commands by @​htemelski in redis/node-redis#2907
  • feat(auth): add Entra ID identity provider integration for Redis client authentication by @​bobymicroby in redis/node-redis#2877
  • RESP3 support : Node Redis v5 adds support for RESP3, the new Redis serialization protocol introduced in Redis 6.0. RESP3 offers richer data types and improved type handling compared to RESP2
  • Sentinel: Redis Sentinel provides high availability for Redis through monitoring, automatic failover, and client-side support.
  • Type mapping: Version five allows you configuring the type mapping. Responses can be mapped to objects, arrays, or maps. Likewise, numeric formats can be mapped to either strings or numbers.

🛠️ Improvements

BREAKING CHANGES

  • Removed graph module by @​bobymicroby in redis/node-redis#2897
  • 'FT.PROFILE' now returns untyped (as-is) response by @​bobymicroby in redis/node-redis#2893
  • Introduced a client-side default dialect for Redis' search and query capabilities. By default, the client now overrides the server-side dialect with version 2, automatically appending DIALECT 2 to commands like FT.AGGREGATE and FT.SEARCH. Important: Be aware that the query dialect may impact the results returned. If needed, you can revert to a different dialect version by passing an option to the search commands. You can find further details in the query dialect documentation. by @​htemelski in redis/node-redis#2895
client.ft.search('index', '*', {DIALECT: 1})
  • Client Configuration:

    • keepAlive option has been split into keepAlive (boolean) and keepAliveInitialDelay (number)
    • Legacy mode is now accessed via .legacy() method instead of { legacyMode: true }
  • Command Options:

    • New API uses "proxy client" to store options instead of passing them directly to commands
    • Example: client.withCommandOptions({ ... }).get('key') instead of client.get(client.commandOptions({ ... }), 'key')
  • Connection Management:

    • client.QUIT/quit() is replaced by client.close()
    • client.disconnect() has been renamed to client.destroy()
  • Scan Iterators:

    • Now yield collections of items instead of individual items
    • Example: for await (const keys of client.scanIterator()) { ... } returns arrays of keys

... (truncated)

Commits
  • 52e5562 Release redis@5.0.1
  • fd06964 Updated the Redis package to use client@5.0.1
  • 71ab009 Release time-series@5.0.1
  • 1e976d2 Updated the Timeseries package to use client@5.0.1
  • 17179dd Release search@5.0.1
  • cc13ae2 Updated the Search package to use client@5.0.1
  • e99cd07 Release json@5.0.1
  • 84680d6 Updated the Json package to use client@5.0.1
  • 67cde22 Release entraid@5.0.1
  • 57e5daa Updated the Entraid package to use client@5.0.1
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by nkaradzhov, a new releaser for redis since your current version.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [redis](https://github.com/redis/node-redis) from 4.7.0 to 5.0.1.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@4.7.0...redis@5.0.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 5, 2025
@soccermax soccermax closed this May 8, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 8, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/redis-5.0.1 branch May 8, 2025 06:56
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants