Skip to content

fix(deps): update dependency redis to v5 #96

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: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 11, 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

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

🛠️ 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 - "on Sunday" (UTC), 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 these updates 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 requested a review from xuhdev as a code owner May 11, 2025 02:12
@renovate renovate bot force-pushed the renovate/redis-5.x branch 3 times, most recently from b6270e3 to 955709d Compare May 18, 2025 04:02
@renovate renovate bot force-pushed the renovate/redis-5.x branch 2 times, most recently from b381919 to ab7849f Compare May 27, 2025 17:09
@renovate renovate bot force-pushed the renovate/redis-5.x branch 2 times, most recently from 31a9afb to 25cbbb9 Compare June 4, 2025 15:41
@renovate renovate bot force-pushed the renovate/redis-5.x branch 2 times, most recently from df02376 to 26e3ad5 Compare June 10, 2025 11:51
@renovate renovate bot force-pushed the renovate/redis-5.x branch from 26e3ad5 to e4151a2 Compare June 13, 2025 10:56
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.

0 participants