+
Skip to content

Update dependency redis to v5 #861

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
Open

Update dependency redis to v5 #861

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2025

This PR contains the following updates:

Package Change Age Confidence
redis 3.1.2 -> 5.6.0 age confidence

Release Notes

redis/node-redis (redis)

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

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

v4.7.1

Compare Source

v4.7.0

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.16 to 1.6.0
  • Upgrade @redis/json from 1.0.6 to 1.0.7
  • Upgrade @redis/search from 1.1.6 to 1.2.0
  • Upgrade @redis/time-series from 1.0.5 to 1.1.0

v4.6.15

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.16 to 1.5.17

v4.6.14

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.14 to 1.5.16

v4.6.13

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.13 to 1.5.14

v4.6.12

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.12 to 1.5.13

v4.6.11

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.11 to 1.5.12
  • Upgrade @redis/graph from 1.1.0 to 1.1.1
  • Upgrade @redis/json from 1.1.5 to 1.1.6

v4.6.10

Compare Source

Fixes

  • Revert the minimum node version change
  • Upgrade @redis/client from 1.5.9 to 1.5.10
  • Upgrade @redis/search from 1.1.3 to 1.1.4
  • Upgrade @redis/json from 1.0.4 to 1.0.5

v4.6.9

Compare Source

Enhancements

  • Upgrade @redis/client from 1.5.9 to 1.5.10
  • Upgrade @redis/search from 1.1.3 to 1.1.4
  • Upgrade @redis/json from 1.0.4 to 1.0.5

v4.6.8

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.8 to 1.5.9
  • upgrade @redis/time-series from 1.0.4 to 1.0.5

v4.6.7

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.7 to 1.5.8
  • upgrade @redis/search from 1.1.2 to 1.1.3

v4.6.6

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.6 to 1.5.7

v4.6.5

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.5 to 1.5.6

v4.6.4

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.4 to 1.5.5

v4.6.3

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.3 to 1.5.4

v4.6.2

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.2 to 1.5.3

v4.6.1

Compare Source

Enhancements

  • upgrade @redis/client from 1.5.0 to 1.5.2

v4.6.0

Compare Source

Enhancements

  • upgrade @redis/client from 1.4.2 to 1.5.0
  • upgrade @redis/bloom from 1.1.0 to 1.2.0
  • upgrade @redis/search from 1.1.0 to 1.1.1

v4.5.1

Compare Source

Enhancements

  • upgrade @redis/client

v4.5.0

Compare Source

Enhancements

  • upgrade @redis/client
  • upgrade @redis/time-series

v4.4.0

Compare Source

Enhancements

v4.3.1

Compare Source

Enhancements

  • Upgrade @redis/json

v4.3.0

Compare Source

Enhancements

  • Upgrade @redis/client
  • Upgrade @redis/search

v4.2.0

Compare Source

Enhancements

  • Upgrade @redis/client

v4.1.1

Compare Source

Enhancements

  • Upgrade @redis/client

v4.1.0

Compare Source

Enhancements

  • Upgrade @redis/bloom
  • Upgrade @redis/client
  • Upgrade @redis/graph
  • Upgrade @redis/json
  • Upgrade @redis/search
  • Upgrade @redis/time-series

v4.0.6

Compare Source

  • Upgrade @node-redis/client
  • Upgrade @node-redis/search

v4.0.5

Compare Source

v4.0.4

Compare Source

  • Upgrade @node-redis/client
  • Upgrade @node-redis/search
  • Upgrade @node-redis/time-series

v4.0.3

Compare Source

  • First release with @node-redis/graph
  • Upgrade to @node-redis/client@1.0.3

v4.0.2

Compare Source

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

Compare Source

Fixes
  • Fix NOAUTH error when using authentication & database (#​1681)
  • Allow to .quit() in PubSub mode (#​1766)
  • Add an option to configure 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

Compare Source

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
  • Added built-in TypeScript declaration files enabling code completion
  • Added support for clustering
  • Added idiomatic arguments and responses to Redis commands
  • Added full support for Lua Scripts
  • Added support for SCAN iterators
  • Added the ability to extend Node Redis with Redis Module commands

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 requested a review from a team as a code owner July 4, 2025 09:56
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 4, 2025
@renovate renovate bot requested a review from josh-uk July 4, 2025 09:56
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 4, 2025
@renovate renovate bot force-pushed the renovate/redis-5.x branch 9 times, most recently from 6d08f1d to 6633fc8 Compare July 11, 2025 14:15
@renovate renovate bot force-pushed the renovate/redis-5.x branch from 6633fc8 to 33fe3dc Compare July 11, 2025 20:57
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载