chore(deps): update dependency redis to v5 #15048
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.7.0
->5.0.1
Release Notes
redis/node-redis (redis)
v5.0.1
Compare Source
v5.0.0
Compare Source
Redis Node.js Client Release Notes
🚀 New Features
🛠️ Improvements
TYPE
field which includes the newly supported integer8 and uinteger8 types by @htemelski in https://github.com/redis/node-redis/pull/2911BREAKING CHANGES
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 https://github.com/redis/node-redis/pull/2895
Client Configuration:
keepAlive
option has been split intokeepAlive
(boolean) andkeepAliveInitialDelay
(number).legacy()
method instead of{ legacyMode: true }
Command Options:
client.withCommandOptions({ ... }).get('key')
instead ofclient.get(client.commandOptions({ ... }), 'key')
Connection Management:
client.QUIT/quit()
is replaced byclient.close()
client.disconnect()
has been renamed toclient.destroy()
Scan Iterators:
for await (const keys of client.scanIterator()) { ... }
returns arrays of keysIsolation Pool:
RedisClientPool
for better separation of concernsCluster Multi:
cluster.multi().addCommand()
now requiresisReadonly
parameter for replica execution supportBoolean to Number Types:
API Changes:
RedisFlushModes
→REDIS_FLUSH_MODES
)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: 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.
This PR was generated by Mend Renovate. View the repository job log.