Skip to content

build(deps): update dependency redis to v5 (main) #36423

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 10, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
redis 4.7.1 -> 5.5.6 age adoption passing confidence

Release Notes

redis/node-redis (redis)

v5.5.6

Compare Source

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

🛠️ Improvements

BREAKING CHANGES

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: 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.


  • 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 force-pushed the renovate/main-redis-5.x branch 3 times, most recently from 271ca35 to 1c268ac Compare June 16, 2025 18:05
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint oom 🤷‍♂️

| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | redis   | 4.7.1 | 5.5.6 |
@renovate renovate bot force-pushed the renovate/main-redis-5.x branch from 1c268ac to 40cfddd Compare June 30, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants