Skip to content

build(deps): bump github.com/redis/go-redis/v9 from 9.23.0 to 9.24.1 - #2439

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/redis/go-redis/v9-9.24.1
Dec 1, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/redis/go-redis/v9-9.24.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

9.24.1

This is a patch release with bug fixes. It also adds one option to redisotel-native (WithClosedPoolSeriesRetention), which has a default and needs no change. Upgrading from 9.24.0 is a drop-in replacement. Note the behavior change of ScanIterator.Vals below (due to a bugfix).

🚀 Highlights

Large reply announcements no longer allocate up front

The RESP reader allocated a bulk reply with the length announced in its header. A server or proxy that announced a large length could make the client allocate that much memory before any data arrived. Replies up to 32 MiB are read as before. A larger reply now grows with the data that actually arrives. Above 32 MiB this costs more memory and time than a single allocation (fixes #4324) (#4343) by @​PerryLink.

Closed pools are dropped from the connection metrics

In redisotel-native, the db.client.connection.count and db.client.connection.pending_requests series of a closed client were observed at 0 until the next Shutdown. With clients created and closed over the process lifetime, the observer and each collection grew without limit. A closed pool's series is now observed at 0 for a retention window, so every reader that collects in that window gets the final decrement, and is then dropped. The default window is 5 minutes. Set it with Config.WithClosedPoolSeriesRetention, above your longest export or scrape interval (#4442) by @​ndyakov.

ScanIterator.Vals resumes from the iterator position

Vals started at the first value of the current page each time, so after Next/Val or after a break out of a range over Vals, a new Vals loop returned values again. Vals now shares its position with Next and Val and returns only the remaining values. Code that ranged over Vals a second time to read the same page again now gets nothing for the values already returned (fixes #4427) (#4428) by @​xixi-box.

🐛 Bug Fixes

  • HotKeysStart: nil options return ErrHotKeysNoMetrics instead of panicking (fixes #4434) (#4437) by @​Dazhou-del
  • JSONDebugMemory: implemented with an IntCmd; it panicked before. The key position is set, so a cluster client routes it by key. For JSONPath queries, which return an array, use Do (fixes #4433) (#4436) by @​Dazhou-del
  • TimeSeries range filters: empty FilterByTS and FilterByValue slices are omitted like nil in TS.RANGE, TS.REVRANGE, TS.MRANGE and TS.MREVRANGE, instead of sending an empty clause (fixes #4432) (#4435) by @​Dazhou-del
  • TimeSeries selected labels: an empty SelectedLabels slice no longer sends a bare SELECTED_LABELS in TS.MGET, TS.MRANGE and TS.MREVRANGE (#4425) by @​pcbeingused333
  • Connection state machine: a transition to the closed state wakes every waiter with ErrStateMachineClosed, instead of leaving it blocked until its context expires (#4430) by @​xgbtxy
  • Push notifications: VoidProcessor returns a ReadReply error in the middle of a frame, like Processor, so the connection is discarded instead of reading the rest of the frame as a reply (#4431) by @​xgbtxy
  • Sentinel: the failover client subscribes to +slave-reconf-done again. An earlier rename to +replica-reconf-done meant it never received the event, because Sentinel still publishes the old name (#4387) by @​ruziba3vich
  • Cluster replica reads: the replica picker is called once per read and then every replica is tried, so a repeated index can no longer hide a healthy replica (#4394) by @​ruziba3vich
  • Cluster with a ClusterSlots function: loopback node addresses are kept as given and no longer rewritten to :port (#4411) by @​ruziba3vich
  • RoundRobinPicker: the index stays in range on 32-bit platforms (#4409) by @​ruziba3vich
  • Cluster and Ring PoolStats: include the per-node Pub/Sub stats, Unusable and PendingRequests, like Client.PoolStats (#4413) by @​ruziba3vich
  • Maintenance notifications: the delay for a MOVING notification without an endpoint keeps the half second for an odd timeS (#4393) by @​ruziba3vich
  • redisotel tracing: each cluster node gets its own copy of the tracing options, so its spans no longer carry the server attributes of other nodes, and a data race in OnNewNode is removed (#4412) by @​ruziba3vich
  • redisotel-native error types: only a Redis server error is classified by its prefix. Errors such as io.EOF are reported as internal, and a server error wrapped by a hook keeps its prefix (#4395) by @​ruziba3vich
  • rediscmd: CmdString redacts the sentinel-pass value of SENTINEL CONFIG SET (#4382) by @​ruziba3vich

⚡ Performance

  • Command metadata without CSC: a standalone client with CommandMetadataPreferLive and no client-side caching no longer starts a metadata worker or sends COMMAND in the background. The metadata store is built only when CSC attaches (#4424) by @​wozhenbang2004

👥 Contributors

We'd like to thank all the contributors who worked on this release!

@​Dazhou-del, @​ndyakov, @​pcbeingused333, @​PerryLink, @​ruziba3vich, @​wozhenbang2004, @​xgbtxy, @​xixi-box


Full Changelog: redis/go-redis@v9.24.0...v9.24.1

... (truncated)

Changelog

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

9.24.1 (2026-11-27)

This is a patch release with bug fixes. It also adds one option to redisotel-native (WithClosedPoolSeriesRetention), which has a default and needs no change. Upgrading from 9.24.0 is a drop-in replacement. Note the behavior change of ScanIterator.Vals below.

🚀 Highlights

Large reply announcements no longer allocate up front

The RESP reader allocated a bulk reply with the length announced in its header. A server or proxy that announced a large length could make the client allocate that much memory before any data arrived. Replies up to 32 MiB are read as before. A larger reply now grows with the data that actually arrives. Above 32 MiB this costs more memory and time than a single allocation (fixes #4324) (#4343) by @​PerryLink.

Closed pools are dropped from the connection metrics

In redisotel-native, the db.client.connection.count and db.client.connection.pending_requests series of a closed client were observed at 0 until the next Shutdown. With clients created and closed over the process lifetime, the observer and each collection grew without limit. A closed pool's series is now observed at 0 for a retention window, so every reader that collects in that window gets the final decrement, and is then dropped. The default window is 5 minutes. Set it with Config.WithClosedPoolSeriesRetention, above your longest export or scrape interval (#4442) by @​ndyakov.

ScanIterator.Vals resumes from the iterator position

Vals started at the first value of the current page each time, so after Next/Val or after a break out of a range over Vals, a new Vals loop returned values again. Vals now shares its position with Next and Val and returns only the remaining values. Code that ranged over Vals a second time to read the same page again now gets nothing for the values already returned (fixes #4427) (#4428) by @​xixi-box.

🐛 Bug Fixes

  • HotKeysStart: nil options return ErrHotKeysNoMetrics instead of panicking (fixes #4434) (#4437) by @​Dazhou-del
  • JSONDebugMemory: implemented with an IntCmd; it panicked before. The key position is set, so a cluster client routes it by key. For JSONPath queries, which return an array, use Do (fixes #4433) (#4436) by @​Dazhou-del
  • TimeSeries range filters: empty FilterByTS and FilterByValue slices are omitted like nil in TS.RANGE, TS.REVRANGE, TS.MRANGE and TS.MREVRANGE, instead of sending an empty clause (fixes #4432) (#4435) by @​Dazhou-del
  • TimeSeries selected labels: an empty SelectedLabels slice no longer sends a bare SELECTED_LABELS in TS.MGET, TS.MRANGE and TS.MREVRANGE (#4425) by @​pcbeingused333
  • Connection state machine: a transition to the closed state wakes every waiter with ErrStateMachineClosed, instead of leaving it blocked until its context expires (#4430) by @​xgbtxy
  • Push notifications: VoidProcessor returns a ReadReply error in the middle of a frame, like Processor, so the connection is discarded instead of reading the rest of the frame as a reply (#4431) by @​xgbtxy
  • Sentinel: the failover client subscribes to +slave-reconf-done again. An earlier rename to +replica-reconf-done meant it never received the event, because Sentinel still publishes the old name (#4387) by @​ruziba3vich
  • Cluster replica reads: the replica picker is called once per read and then every replica is tried, so a repeated index can no longer hide a healthy replica (#4394) by @​ruziba3vich
  • Cluster with a ClusterSlots function: loopback node addresses are kept as given and no longer rewritten to :port (#4411) by @​ruziba3vich
  • RoundRobinPicker: the index stays in range on 32-bit platforms (#4409) by @​ruziba3vich
  • Cluster and Ring PoolStats: include the per-node Pub/Sub stats, Unusable and PendingRequests, like Client.PoolStats (#4413) by @​ruziba3vich
  • Maintenance notifications: the delay for a MOVING notification without an endpoint keeps the half second for an odd timeS (#4393) by @​ruziba3vich
  • redisotel tracing: each cluster node gets its own copy of the tracing options, so its spans no longer carry the server attributes of other nodes, and a data race in OnNewNode is removed (#4412) by @​ruziba3vich
  • redisotel-native error types: only a Redis server error is classified by its prefix. Errors such as io.EOF are reported as internal, and a server error wrapped by a hook keeps its prefix (#4395) by @​ruziba3vich
  • rediscmd: CmdString redacts the sentinel-pass value of SENTINEL CONFIG SET (#4382) by @​ruziba3vich

⚡ Performance

  • Command metadata without CSC: a standalone client with CommandMetadataPreferLive and no client-side caching no longer starts a metadata worker or sends COMMAND in the background. The metadata store is built only when CSC attaches (#4424) by @​wozhenbang2004

👥 Contributors

We'd like to thank all the contributors who worked on this release!

@​Dazhou-del, @​ndyakov, @​pcbeingused333, @​PerryLink, @​ruziba3vich, @​wozhenbang2004, @​xgbtxy, @​xixi-box


Full Changelog: redis/go-redis@v9.24.0...v9.24.1

... (truncated)

Commits
  • c05142b chore(release): v9.24.1 (#4446)
  • b36fa14 perf(csc): build metadata store only with CSC (#4424)
  • ea914d1 fix(proto): grow a bulk reply with its data, not its announced length (#4343)
  • 37d4d98 fix(otel): drop closed pool series after retention (#4442)
  • 7233b4b docs(autopipeline): fix stale full-duplex comments (#4441)
  • ebeb7c6 fix(sentinel): subscribe to +slave-reconf-done (#4387)
  • 79c90df fix(cluster): keep round-robin pick in range on 32-bit (#4409)
  • 1e424ea fix(pool): sum all stats for cluster and ring (#4413)
  • 9603a49 fix(timeseries): omit empty range filters (#4435)
  • 6fe2fd7 fix(maintnotifications): keep half of odd timeS (#4393)
  • 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.1.
- [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.1)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-version: 9.24.1
  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 Dec 1, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) December 1, 2026 04:53
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.69%. Comparing base (520f598) to head (b0f9ada).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2439      +/-   ##
==========================================
+ Coverage   92.68%   92.69%   +0.01%     
==========================================
  Files         137      137              
  Lines        9923     9923              
==========================================
+ Hits         9197     9198       +1     
+ Misses        725      724       -1     
  Partials        1        1              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
github-actions Bot merged commit 9e96001 into main Dec 1, 2026
22 checks passed
@github-actions
github-actions Bot deleted the dependabot/go_modules/github.com/redis/go-redis/v9-9.24.1 branch December 1, 2026 04:59
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.

1 participant