Skip to content

Update dependency redis to v5#4828

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/redis-5.x
Open

Update dependency redis to v5#4828
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/redis-5.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 9, 2025

This PR contains the following updates:

Package Change Age Confidence
redis ^4.7.1^5.11.0 age confidence

Release Notes

redis/node-redis (redis)

v5.11.0

Compare Source

5.11.0 Release Changelog

🌟 Highlights
Smart Client Handoffs for Enterprise OSS API (Pending a Redis Enterprise version release)

This release introduces support for Redis Enterprise Cluster maintenance notifications via SMIGRATING/SMIGRATED push notifications. The client now automatically handles slot migrations by:

  • Relaxing timeouts during migration (SMIGRATING) to prevent false failures
  • Automatic slot handoff when completed (SMIGRATED)
  • Enabling seamless operations during Redis Enterprise maintenance windows
Redis 8.6 Support

This release adds support for Redis 8.6 features:

  • XADD idempotency options (IDMPAUTO, IDMP, and policy) - Prevent duplicate entries by tracking producer and message IDs
  • XCFGSET command - Configure per-stream idempotency parameters (IDMP_DURATION, IDMP_MAXSIZE)
  • XINFO STREAM enhancements - New idempotency tracking fields (idmp-duration, idmp-maxsize, pids-tracked, iids-tracked, iids-added, iids-duplicates)
  • HOTKEYS command family (START, STOP, GET, RESET) - Track and identify hot keys by CPU time and network bytes

🚀 New Features

🐛 Bug Fixes

📚 Documentation & Testing

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.10.0...redis@5.11.0

v5.10.0

Compare Source

Changes

🚀 New Features

  • Add MSETEX command support (#​3116)
  • Add CLAIM attribute to XREADGROUP command (#​3122)
  • Add index/query doc page examples (#​3109)

🧪 Experimental Features

🐛 Bug Fixes

  • Fix dist/package.json version bumping in release process (#​3125)
  • Prevent false-ready state when socket errors during handshake (#​3128)
  • Don't parse number properties in XREADGROUP (#​3133)

🧰 Maintenance

  • Apply proxy improvements (#​3121)
  • Mark 8.4 features as experimental (#​3134)
  • Extract supported Redis versions into SUPPORTED_REDIS_VERSIONS.md (#​3131)
  • Bump test container image to 8.4.0 (#​3139)

Contributors

We'd like to thank all the contributors who worked on this release!

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.9.0...redis@5.10.0

v5.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.8.3...redis@5.9.0

v5.8.3

Compare Source

What's Changed

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.8.2...redis@5.8.3

v5.8.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.8.1...redis@5.8.2

v5.8.1

Compare Source

What's Changed

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.8.0...redis@5.8.1

v5.8.0

Compare Source

v5.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.6.1...redis@5.7.0

v5.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.6.0...redis@5.6.1

v5.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.5.6...redis@5.6.0

v5.5.6

Compare Source

Note: During our efforts to automate the release process, we inadvertently bumped the version from 5.1.1 to 5.5.5, skipping a few minor versions. No features or changes were actually released in those skipped versions — 5.5.6 is the first release since 5.1.1 with actual changes. We’re now back on track, and the automation is in place moving forward.

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.1.1...redis@5.5.6

v5.5.5

Compare Source

v5.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.1.0...redis@5.1.1

v5.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.0.1...redis@5.1.0

v5.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/redis/node-redis/compare/redis@5.0.0...redis@5.0.1

v5.0.0

Compare Source

Redis Node.js Client Release Notes

🚀 New Features

  • EntraID added support for azure identity by @​bobymicroby in #​2901
  • Added HGETEX, HSETEX, HGETDEL hash field expiration commands by @​htemelski in #​2907
  • feat(auth): add Entra ID identity provider integration for Redis client authentication by @​bobymicroby in #​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 #​2897
  • 'FT.PROFILE' now returns untyped (as-is) response by @​bobymicroby in #​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 #​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
  • Isolation Pool:

    • Superseded by RedisClientPool for better separation of concerns
  • Cluster Multi:

    • cluster.multi().addCommand() now requires isReadonly parameter for replica execution support
  • Boolean to Number Types:

    • Many commands now return numbers (0/1) instead of booleans for better Redis protocol alignment
    • Affects: COPY, EXPIRE, EXPIREAT, HEXISTS, HSETNX, MOVE, PEXPIRE, PEXPIREAT, PFADD, RENAMENX, SETNX, etc.
  • API Changes:

    • Many commands have updated parameter names and return types
    • Enums replaced with constants (e.g., RedisFlushModesREDIS_FLUSH_MODES)
    • Module-specific commands (JSON, Search, Time Series) have parameter restructuring

Full migration details: https://github.com/redis/node-redis/blob/master/docs/v4-to-v5.md

New Contributors


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: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 9, 2025
@renovate renovate bot force-pushed the renovate/redis-5.x branch from bedf8eb to 5f33e8e Compare June 10, 2025 12:59
@renovate renovate bot deleted the renovate/redis-5.x branch June 10, 2025 13:21
@santeri0200 santeri0200 restored the renovate/redis-5.x branch June 10, 2025 14:52
@santeri0200
Copy link
Member

We are unable to upgrade this because of redis-lock package requires v4.

@santeri0200 santeri0200 reopened this Jun 10, 2025
@santeri0200 santeri0200 added the do not merge Don't merge until issues have been resolved label Jun 10, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Jun 10, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot force-pushed the renovate/redis-5.x branch from ed44198 to 4b0491c Compare March 10, 2026 09:55
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 do not merge Don't merge until issues have been resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant