Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps redis from 3.1.2 to 5.0.0.

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)

Changelog

Sourced from redis's changelog.

Changelog

v4.0.2 - 13 Jan, 2022

Fixes

  • Fix v4 commands in legacy mode (#1820)
  • Fix EXISTS command reply (#1819)
  • Fix handler for "redis:invalidate" messages (#1798)
  • Fix "SEPARATOR" typo in RediSearch (#1823)

Enhancements

  • First release of @node-redis/bloom
  • Add support for Buffers
  • Enhance ASK and MOVED errors handler

v4.0.1 - 13 Dec, 2021

Fixes

  • Fix NOAUTH error when using authentication & database (#1681)
  • Allow to .quit() in PubSub mode (#1766)
  • Add an option to configurate name on a client (#1758)
  • Lowercase commands (client.hset) in legacyMode
  • Fix PubSub resubscribe (#1764)
  • Fix RedisSocketOptions type (#1741)

Enhancements

  • Add support for numbers and Buffers in HSET (#1738 #1739)
  • Export RedisClientType, RedisClusterType and some more types (#1673)
  • First release of @node-redis/time-series

v4.0.0 - 24 Nov, 2021

This version is a major change and refactor, adding modern JavaScript capabilities and multiple breaking changes. See the migration guide for tips on how to upgrade.

Breaking Changes

  • All functions return Promises by default
  • Dropped support for Node.js 10.x, the minimum supported Node.js version is now 12.x
  • createClient takes new and different arguments
  • The prefix, rename_commands configuration options to createClient have been removed
  • The enable_offline_queue configuration option is removed, executing commands on a closed client (without calling .connect() or after calling .disconnect()) will reject immediately
  • Login credentials are no longer saved when using .auth() directly

Features

  • Added support for Promises

... (truncated)

Commits
  • 47e2970 Release redis@5.0.0
  • 1daf0f0 Updated the Redis package to use client@5.0.0
  • 16fb7e0 Release time-series@5.0.0
  • 912e0d8 Updated the Timeseries package to use client@5.0.0
  • 30cecc4 Release search@5.0.0
  • c942f0e Updated the Search package to use client@5.0.0
  • b714791 Release json@5.0.0
  • 7359617 Updated the Json package to use client@5.0.0
  • 9900330 Release entraid@5.0.0
  • 4291129 Updated the Entraid package to use client@5.0.0
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by htemelski-redis, 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 3.1.2 to 5.0.0.
- [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/v3.1.2...redis@5.0.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.0.0
  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 1, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 1, 2025

Superseded by #145.

@dependabot dependabot bot closed this Jun 1, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/files_wcf/acp/be.bastelstu.wcf.nodePush/redis-5.0.0 branch June 1, 2025 04:06
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.

1 participant