Skip to content

Commit 6f5f8eb

Browse files
build(deps-dev): bump redis from 4.7.0 to 5.0.0 (#827)
Bumps [redis](https://github.com/redis/node-redis) from 4.7.0 to 5.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/node-redis/releases">redis's releases</a>.</em></p> <blockquote> <h2>redis@5.0.0</h2> <h1>Redis Node.js Client Release Notes</h1> <h2>🚀 New Features</h2> <ul> <li>EntraID added support for azure identity by <a href="https://github.com/bobymicroby"><code>@​bobymicroby</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2901">redis/node-redis#2901</a></li> <li>Added HGETEX, HSETEX, HGETDEL hash field expiration commands by <a href="https://github.com/htemelski"><code>@​htemelski</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2907">redis/node-redis#2907</a></li> <li>feat(auth): add Entra ID identity provider integration for Redis client authentication by <a href="https://github.com/bobymicroby"><code>@​bobymicroby</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2877">redis/node-redis#2877</a></li> <li><strong>RESP3 support</strong> : Node Redis v5 adds support for <a href="https://github.com/redis/redis-specifications/blob/master/protocol/RESP3.md">RESP3</a>, the new Redis serialization protocol introduced in Redis 6.0. RESP3 offers richer data types and improved type handling compared to RESP2</li> <li><strong>Sentinel</strong>: Redis Sentinel provides high availability for Redis through monitoring, automatic failover, and client-side support.</li> <li><strong>Type mapping</strong>: 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.</li> </ul> <h2>🛠️ Improvements</h2> <ul> <li>Infer the cluster pubsub client read only mode from the node type by <a href="https://github.com/htemelski"><code>@​htemelski</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2930">redis/node-redis#2930</a></li> <li>ft.create now accepts a union type for the <code>TYPE</code> field which includes the newly supported integer8 and uinteger8 types by <a href="https://github.com/htemelski"><code>@​htemelski</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2911">redis/node-redis#2911</a></li> <li>new &quot;transform arguments&quot; API for better key and metadata extraction by <a href="https://github.com/sjpotter"><code>@​sjpotter</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2733">redis/node-redis#2733</a></li> <li>fix sentinel generics by <a href="https://github.com/sjpotter"><code>@​sjpotter</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2859">redis/node-redis#2859</a></li> <li>Fix creation of cluster client again by <a href="https://github.com/soccermax"><code>@​soccermax</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2870">redis/node-redis#2870</a></li> <li>Fix cluster-slots discover race condition again by <a href="https://github.com/jjsimps"><code>@​jjsimps</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2867">redis/node-redis#2867</a></li> <li>Update tests.yml by <a href="https://github.com/ozennou"><code>@​ozennou</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2887">redis/node-redis#2887</a></li> <li><strong>Typing</strong>: Multi-commands are now correctly typed.</li> <li><strong>API changes</strong>: Several API changes are documented in <a href="https://github.com/redis/node-redis/blob/master/docs/v4-to-v5.md">https://github.com/redis/node-redis/blob/master/docs/v4-to-v5.md</a></li> </ul> <h2>BREAKING CHANGES</h2> <ul> <li>Removed graph module by <a href="https://github.com/bobymicroby"><code>@​bobymicroby</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2897">redis/node-redis#2897</a></li> <li>'FT.PROFILE' now returns untyped (as-is) response by <a href="https://github.com/bobymicroby"><code>@​bobymicroby</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2893">redis/node-redis#2893</a></li> <li>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. <strong>Important</strong>: 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 <a href="https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/dialects/">query dialect documentation</a>. by <a href="https://github.com/htemelski"><code>@​htemelski</code></a> in <a href="https://redirect.github.com/redis/node-redis/pull/2895">redis/node-redis#2895</a></li> </ul> <pre lang="javascript"><code>client.ft.search('index', '*', {DIALECT: 1}) </code></pre> <ul> <li> <p><strong>Client Configuration:</strong></p> <ul> <li><code>keepAlive</code> option has been split into <code>keepAlive</code> (boolean) and <code>keepAliveInitialDelay</code> (number)</li> <li>Legacy mode is now accessed via <code>.legacy()</code> method instead of <code>{ legacyMode: true }</code></li> </ul> </li> <li> <p><strong>Command Options:</strong></p> <ul> <li>New API uses &quot;proxy client&quot; to store options instead of passing them directly to commands</li> <li>Example: <code>client.withCommandOptions({ ... }).get('key')</code> instead of <code>client.get(client.commandOptions({ ... }), 'key')</code></li> </ul> </li> <li> <p><strong>Connection Management:</strong></p> <ul> <li><code>client.QUIT/quit()</code> is replaced by <code>client.close()</code></li> <li><code>client.disconnect()</code> has been renamed to <code>client.destroy()</code></li> </ul> </li> <li> <p><strong>Scan Iterators:</strong></p> <ul> <li>Now yield collections of items instead of individual items</li> <li>Example: <code>for await (const keys of client.scanIterator()) { ... }</code> returns arrays of keys</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/node-redis/commit/47e297077a20f396a1b22fafa917cea284dc3427"><code>47e2970</code></a> Release redis@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/1daf0f02dacdc1f875bcb068e11141f0856c1d0e"><code>1daf0f0</code></a> Updated the Redis package to use client@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/16fb7e02da469f06ba52cadc79ac5f07b27a7848"><code>16fb7e0</code></a> Release time-series@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/912e0d8170a7ea7760d1bdf36d3e3f0012d97304"><code>912e0d8</code></a> Updated the Timeseries package to use client@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/30cecc4b48100d92fda8b18fd13828b179e5d8c7"><code>30cecc4</code></a> Release search@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/c942f0eb9f77e818d537dc49974cc7d316117b8e"><code>c942f0e</code></a> Updated the Search package to use client@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/b7147911de0ffa725df48dc859156b658a2d85f0"><code>b714791</code></a> Release json@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/73596170471c6b588c5ee5fd0977cc6049b6b24d"><code>7359617</code></a> Updated the Json package to use client@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/99003307f986bcc6b6e77149af61e62b4d02132d"><code>9900330</code></a> Release entraid@5.0.0</li> <li><a href="https://github.com/redis/node-redis/commit/42911295a4710634b357cc8244f837014b770707"><code>4291129</code></a> Updated the Entraid package to use client@5.0.0</li> <li>Additional commits viewable in <a href="https://github.com/redis/node-redis/compare/redis@4.7.0...redis@5.0.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~htemelski-redis">htemelski-redis</a>, a new releaser for redis since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=redis&package-manager=npm_and_yarn&previous-version=4.7.0&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 0d23899 commit 6f5f8eb

2 files changed

Lines changed: 48 additions & 66 deletions

File tree

package-lock.json

Lines changed: 47 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"glob": "^11.0.2",
4242
"jsdom": "^26.1.0",
4343
"mongodb": "^6.16.0",
44-
"redis": "^4.7.0",
44+
"redis": "^5.0.0",
4545
"semantic-release": "^24.2.3",
4646
"typescript": "^5.8.3",
4747
"vitest": "^3.1.2"

0 commit comments

Comments
 (0)