Skip to content

fix(deps): bump github.com/redis/go-redis/v9 from 9.23.0 to 9.24.0 - #71

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/redis/go-redis/v9-9.24.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/redis/go-redis/v9-9.24.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/redis/go-redis/v9 from 9.23.0 to 9.24.0.

Release notes

Sourced from github.com/redis/go-redis/v9's releases.

9.24.0

This is a minor release. It contains everything from 9.24.0-beta.1 and 9.24.0-beta.2, so these notes cover the full 9.23.0 → 9.24.0 upgrade. The release adds:

  • Redis 8.12 support: set member expiration, ZMOVE, BITRANGEINTARRAY, CF.COMPACT, scalar-quantized HNSW, BLESS and more, tested against Redis 8.12.0.
  • The experimental MultiDB client for Active-Active (Redis Enterprise) failover.
  • Metadata-driven cluster routing and client-side caching (CSC) eligibility that come from the COMMAND metadata.
  • CSC OPT-IN / OPT-OUT tracking modes, CSC on ClusterClient, and CSC with EphemeralConn.
  • A per-client OTelRecorder, MultiDB metrics in redisotel-native, and much less OpenTelemetry cost on the hot path.
  • New full-duplex options (FullDuplexPipes, PipelineMinIdleConns) and a cluster recovery fix for full-duplex sessions.
  • An opt-in idle connection reaper, ACLGetUser, ClusterSlotStats and the Redis 8.10 BACKUP commands.
  • Many fixes for connections, cluster routing, authentication, reply parsing, and the search, JSON and probabilistic commands.

🚀 Highlights

Redis 8.12 support

This release adds the new commands and options of Redis 8.12 and runs its tests against Redis 8.12.0 (#4404).

  • Set member expiration: SExpire, SPExpire, SExpireAt, SPExpireAt (each with WithArgs), STTL, SPTTL, SExpireTime, SPExpireTime, SPersist, SAddEX and SAddEXWithArgs (#4165) by @​ndyakov.
  • Sorted sets and bitmaps: ZMOVE, BZMOVE and ZMOVEMEMBER (#4289), and BITRANGEINTARRAY (#4242) by @​ndyakov.
  • Probabilistic and search: CF.COMPACT as CFCompact (#4243) by @​ndyakov. CELL_SIZE for CMS.INITBYDIM and CMS.INITBYPROB (CMSInitByDimCellSize, CMSInitByProbCellSize) (#4023), and scalar-quantized HNSW indexes in FT.CREATE with the two new FT.INFO fields (#4077) by @​vlady-kotsev. RERANK for FT.HYBRID, the BITRANGEINTARRAY options and the new command metadata (#4277) by @​ndyakov.
  • BLESS: BLESS GET, BLESS SET, BLESS CLEAR and BLESS SCAN for the NO-EVICT flag (#4041) by @​vlady-kotsev. BlessScan is node-local: scan each master of a cluster or ring.

MultiDB client (experimental)

NewMultiDBClient routes commands to one active database out of several standalone or cluster members (e.g. Redis Enterprise Active-Active) and fails over based on circuit breakers, health checks and a weight-based failover strategy, with auto-fallback to higher-weight members. The multidb package adds ping and lag-aware health checks and probe policies. See example/multidb (#3954) by @​ndyakov. Defaults:

  • MultiDB owns retries: CommandRetries (0 = 2, -1 = none) retries on the database active at each attempt, and every attempt is counted by the breaker and failure detector. Standalone members get no retries of their own (MaxRetries 0 becomes -1); an explicit MaxRetries is kept.
  • Health checks: HEALTHY_ALL, 3 probes 500ms apart per check, honoring multidb.WithProbes / WithDelay / WithTimeout; HealthCheckTimeout (3s) caps the pass. Probes that cannot fit it are rejected at construction and by AddDatabase. Under the default policy, SetActiveDatabase and ProbeTargetBeforeFailover use one probe per check.
  • Startup: InitialDBStateMajorityAvailable needs half the members, rounded up (1 of 2). A failed start matches ErrInsufficientHealthyDatabases; with no healthy member it also matches ErrPermanentlyNotAvailable.
  • Weights are in (0, 1] (0 = 1.0); -1 disables a member. The last enabled member cannot be disabled.
  • The default failure detector (1000 failures and 10% within 2s) is set with FailureDetectorConfig, whose fields are used as given; start from DefaultMultiDBFailureDetectorConfig().
  • redisotel-native reports MultiDB events (failover, active database change, circuit breaker state change, health check) in a new multidb metric group, MetricGroupFlagMultiDB, which MetricGroupAll includes (#4007) by @​ndyakov.
  • A member ProcessHook that returns nil without calling next is no longer counted as a healthy database response (#4271), and a local result of a member hook in a cluster pipeline is kept when another node fails (#4279) by @​harshitdeora. Full-duplex outcomes are recorded in the failure window after the active member is selected again (#4283) by @​xixi-box.

Experimental: the MultiDB API can change in a minor release. User hooks and health checks must not call MultiDB control methods or Close.

Metadata-driven cluster routing

Cluster routing and CSC use the same resolved COMMAND record for each command, so flags, key positions and policies cannot drift between two metadata sources (#3960, #4093) by @​ofekshenawa.

  • Existing default routing and the cluster-wide DBSize, ScriptLoad, ScriptFlush and ScriptExists helpers are preserved. Install NewCommandMetadataResolver() or client.NewDynamicResolver() with SetCommandInfoResolver to enable metadata-based fan-out and aggregation. CommandMetadata configuration alone does not enable them. Cross-slot fan-out is not atomic.
  • With metadata routing enabled, cross-slot MGET follows redirects for each affected slot during resharding instead of returning a missing value for a key that moved. Successful slot groups are not replayed, and fan-out replies that contain MOVED or ASK refresh the topology for later commands.
  • Explicit pipelines and transactions keep node-local execution; ordered AsyncAutoPipeline rejects fan-out before dispatch. Automatic fan-out is available through the blocking face or unordered half-duplex mode. SCAN, INFO and known diagnostics stay node-local.
  • Numeric sum/min/max fan-out keeps integer replies as exact int64 results, including raw Do results; integer overflow returns an error. Aggregates with floating-point replies return float64.
  • Resolved command key specifications take precedence over SetFirstKeyPos. Commands missing from the snapshot keep the legacy key-position fallback; set CommandMetadataPreferLive or CommandMetadataConfig.Overrides for full metadata. The default CommandMetadataStatic mode does no network lookup unless resolution reaches an installed NewDynamicResolver. Identity probes have bounded deadlines, and after a failure or invalidation commands use conservative metadata while verification retries in the background.
  • Topology loading prefers CLUSTER SHARDS and falls back to CLUSTER SLOTS, and concurrent reloads share one in-flight load. Keyless routing prefers healthy nodes without excluding every candidate on a temporary local marker. ErrClusterTopologyUnhealthy supports errors.Is, and unknown response policies return an error.
  • FT.CURSOR READ is no longer retried after a lost reply, on standalone and cluster clients, because the server may already have advanced the cursor.
  • A SCAN iterator on a ClusterClient now visits every master. Before, it sent each page to a random node with the cursor of another node and could end early without an error (#4200) by @​ndyakov.
  • With the dynamic resolver, DEL, EXISTS, TOUCH and UNLINK on several keys of one slot returned the per-slot count multiplied by the number of keys in that slot. They now count each slot once (#4141) by @​lazerg.

... (truncated)

Changelog

Sourced from github.com/redis/go-redis/v9's changelog.

9.24.0 (2026-11-24)

This is a minor release. It contains everything from 9.24.0-beta.1 and 9.24.0-beta.2, so these notes cover the full 9.23.0 → 9.24.0 upgrade. The release adds:

  • Redis 8.12 support: set member expiration, ZMOVE, BITRANGEINTARRAY, CF.COMPACT, scalar-quantized HNSW, BLESS and more, tested against Redis 8.12.0.
  • The experimental MultiDB client for Active-Active (Redis Enterprise) failover.
  • Metadata-driven cluster routing and client-side caching (CSC) eligibility that come from the COMMAND metadata.
  • CSC OPT-IN / OPT-OUT tracking modes, CSC on ClusterClient, and CSC with EphemeralConn.
  • A per-client OTelRecorder, MultiDB metrics in redisotel-native, and much less OpenTelemetry cost on the hot path.
  • New full-duplex options (FullDuplexPipes, PipelineMinIdleConns) and a cluster recovery fix for full-duplex sessions.
  • An opt-in idle connection reaper, ACLGetUser, ClusterSlotStats and the Redis 8.10 BACKUP commands.
  • Many fixes for connections, cluster routing, authentication, reply parsing, and the search, JSON and probabilistic commands.

🚀 Highlights

Redis 8.12 support

This release adds the new commands and options of Redis 8.12 and runs its tests against Redis 8.12.0 (#4404).

  • Set member expiration: SExpire, SPExpire, SExpireAt, SPExpireAt (each with WithArgs), STTL, SPTTL, SExpireTime, SPExpireTime, SPersist, SAddEX and SAddEXWithArgs (#4165) by @​ndyakov.
  • Sorted sets and bitmaps: ZMOVE, BZMOVE and ZMOVEMEMBER (#4289), and BITRANGEINTARRAY (#4242) by @​ndyakov.
  • Probabilistic and search: CF.COMPACT as CFCompact (#4243) by @​ndyakov. CELL_SIZE for CMS.INITBYDIM and CMS.INITBYPROB (CMSInitByDimCellSize, CMSInitByProbCellSize) (#4023), and scalar-quantized HNSW indexes in FT.CREATE with the two new FT.INFO fields (#4077) by @​vlady-kotsev. RERANK for FT.HYBRID, the BITRANGEINTARRAY options and the new command metadata (#4277) by @​ndyakov.
  • BLESS: BLESS GET, BLESS SET, BLESS CLEAR and BLESS SCAN for the NO-EVICT flag (#4041) by @​vlady-kotsev. BlessScan is node-local: scan each master of a cluster or ring.

MultiDB client (experimental)

NewMultiDBClient routes commands to one active database out of several standalone or cluster members (e.g. Redis Enterprise Active-Active) and fails over based on circuit breakers, health checks and a weight-based failover strategy, with auto-fallback to higher-weight members. The multidb package adds ping and lag-aware health checks and probe policies. See example/multidb (#3954) by @​ndyakov. Defaults:

  • MultiDB owns retries: CommandRetries (0 = 2, -1 = none) retries on the database active at each attempt, and every attempt is counted by the breaker and failure detector. Standalone members get no retries of their own (MaxRetries 0 becomes -1); an explicit MaxRetries is kept.
  • Health checks: HEALTHY_ALL, 3 probes 500ms apart per check, honoring multidb.WithProbes / WithDelay / WithTimeout; HealthCheckTimeout (3s) caps the pass. Probes that cannot fit it are rejected at construction and by AddDatabase. Under the default policy, SetActiveDatabase and ProbeTargetBeforeFailover use one probe per check.
  • Startup: InitialDBStateMajorityAvailable needs half the members, rounded up (1 of 2). A failed start matches ErrInsufficientHealthyDatabases; with no healthy member it also matches ErrPermanentlyNotAvailable.
  • Weights are in (0, 1] (0 = 1.0); -1 disables a member. The last enabled member cannot be disabled.
  • The default failure detector (1000 failures and 10% within 2s) is set with FailureDetectorConfig, whose fields are used as given; start from DefaultMultiDBFailureDetectorConfig().
  • redisotel-native reports MultiDB events (failover, active database change, circuit breaker state change, health check) in a new multidb metric group, MetricGroupFlagMultiDB, which MetricGroupAll includes (#4007) by @​ndyakov.
  • A member ProcessHook that returns nil without calling next is no longer counted as a healthy database response (#4271), and a local result of a member hook in a cluster pipeline is kept when another node fails (#4279) by @​harshitdeora. Full-duplex outcomes are recorded in the failure window after the active member is selected again (#4283) by @​xixi-box.

Experimental: the MultiDB API can change in a minor release. User hooks and health checks must not call MultiDB control methods or Close.

Metadata-driven cluster routing

Cluster routing and CSC use the same resolved COMMAND record for each command, so flags, key positions and policies cannot drift between two metadata sources (#3960, #4093) by @​ofekshenawa.

  • Existing default routing and the cluster-wide DBSize, ScriptLoad, ScriptFlush and ScriptExists helpers are preserved. Install NewCommandMetadataResolver() or client.NewDynamicResolver() with SetCommandInfoResolver to enable metadata-based fan-out and aggregation. CommandMetadata configuration alone does not enable them. Cross-slot fan-out is not atomic.
  • With metadata routing enabled, cross-slot MGET follows redirects for each affected slot during resharding instead of returning a missing value for a key that moved. Successful slot groups are not replayed, and fan-out replies that contain MOVED or ASK refresh the topology for later commands.
  • Explicit pipelines and transactions keep node-local execution; ordered AsyncAutoPipeline rejects fan-out before dispatch. Automatic fan-out is available through the blocking face or unordered half-duplex mode. SCAN, INFO and known diagnostics stay node-local.
  • Numeric sum/min/max fan-out keeps integer replies as exact int64 results, including raw Do results; integer overflow returns an error. Aggregates with floating-point replies return float64.
  • Resolved command key specifications take precedence over SetFirstKeyPos. Commands missing from the snapshot keep the legacy key-position fallback; set CommandMetadataPreferLive or CommandMetadataConfig.Overrides for full metadata. The default CommandMetadataStatic mode does no network lookup unless resolution reaches an installed NewDynamicResolver. Identity probes have bounded deadlines, and after a failure or invalidation commands use conservative metadata while verification retries in the background.
  • Topology loading prefers CLUSTER SHARDS and falls back to CLUSTER SLOTS, and concurrent reloads share one in-flight load. Keyless routing prefers healthy nodes without excluding every candidate on a temporary local marker. ErrClusterTopologyUnhealthy supports errors.Is, and unknown response policies return an error.
  • FT.CURSOR READ is no longer retried after a lost reply, on standalone and cluster clients, because the server may already have advanced the cursor.
  • A SCAN iterator on a ClusterClient now visits every master. Before, it sent each page to a random node with the cursor of another node and could end early without an error (#4200) by @​ndyakov.

... (truncated)

Commits
  • d7001b8 chore(release): v9.24.0 (#4416)
  • 3de14bf fix(otel): status code only for server errors (#4391)
  • 1913fc2 fix(cluster): keep mixed replies from panicking (#4397)
  • 92cd98e fix(pool): free turn when hook fails new conn (#4396)
  • d43c4a0 fix(maintnotifications): untrack completed handoff (#4392)
  • c79baf9 perf(otel): observe pending requests at collection (#4408)
  • 9139278 perf(otel): cache metric attribute options (#4407)
  • ab96533 perf(otel): observe connection count at collection (#4406)
  • fff1583 fix(maintnotifications): cap queue for nil config (#4389)
  • 394b440 fix(otel): record relaxed timeout on SMIGRATING (#4390)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.23.0 to 9.24.0.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/RELEASE-NOTES.md)
- [Commits](redis/go-redis@v9.23.0...v9.24.0)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-version: 9.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 27, 2026
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants