Skip to content

fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.21.0 - #99

Open
konflux-internal-p02[bot] wants to merge 1 commit into
rhoai-3.5-ea.2from
konflux/mintmaker/rhoai-3.5-ea.2/github.com-redis-go-redis-extra-redisotel-v9-9.x
Open

fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.21.0#99
konflux-internal-p02[bot] wants to merge 1 commit into
rhoai-3.5-ea.2from
konflux/mintmaker/rhoai-3.5-ea.2/github.com-redis-go-redis-extra-redisotel-v9-9.x

Conversation

@konflux-internal-p02

@konflux-internal-p02 konflux-internal-p02 Bot commented May 20, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
github.com/redis/go-redis/extra/redisotel/v9 v9.20.0v9.21.0 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

redis/go-redis (github.com/redis/go-redis/extra/redisotel/v9)

v9.21.0: 9.21.0

Compare Source

This is a minor release adding new features and bug fixes. There are no breaking changes; upgrading from 9.20.x is a drop-in replacement.

🚀 Highlights

Zero-copy GetToBuffer / SetFromBuffer

Two new StringCmdable methods let callers read and write Redis string values directly into and from pre-allocated byte buffers, eliminating the per-call payload allocation that Get/Set incur:

GetToBuffer(ctx, key, buf) *ZeroCopyStringCmd   // reads into buf; ZeroCopyStringCmd { Val() int; Bytes() []byte; Result() (int, error) }
SetFromBuffer(ctx, key, buf) *StatusCmd

GetToBuffer decodes the bulk reply straight into the caller-owned buf (no intermediate allocation); a buffer that is too small returns an error after draining the payload, so the connection stays aligned for the next reply. SetFromBuffer is provided for API symmetry — it dispatches to the same []byte writer path as Set(ctx, key, buf, 0) and produces byte-identical output on the wire. Available on *Client, *ClusterClient, *Ring, *Conn and Pipeliner.

(#​3834) by @​ndyakov

Explicit LIMIT 0 for stream trimming

Redis treats XTRIM/XADD approximate-trim (~) LIMIT 0 as "disable the trimming effort cap entirely", which differs from omitting LIMIT (the implicit 100 * stream-node-max-entries default). The command builders previously only emitted LIMIT when limit > 0, so callers could never send an explicit LIMIT 0. Following the KeepTTL = -1 precedent, the new XTrimLimitDisabled = -1 sentinel now emits an explicit LIMIT 0; limit == 0 keeps the historical no-LIMIT behavior, so existing callers produce byte-identical commands.

(#​3848) by @​TheRealMal

✨ New Features

  • Zero-copy buffer string commands: new GetToBuffer / SetFromBuffer on StringCmdable and the ZeroCopyStringCmd result type, reading/writing string values into caller-owned buffers without per-call payload allocation (#​3834) by @​ndyakov
  • XTrimLimitDisabled sentinel: XTRIM/XADD approximate trimming can now send an explicit LIMIT 0 to disable the trim effort cap, via the new XTrimLimitDisabled = -1 sentinel (#​3848) by @​TheRealMal
  • PubSub health-check timeouts: channel.initHealthCheck now bounds the Ping it issues with a fresh per-check timeout context (the exported pingTimeout / reconnectTimeout) instead of context.TODO(), so a stuck health-check Ping can no longer block indefinitely (#​3819) by @​abdellani
  • Skip redundant UNWATCH in Tx.Close: a transaction now tracks whether a WATCH is still active (watchArmed) and only issues UNWATCH on Close when it is, removing an extra round trip on the common WATCH/.../EXEC and no-key Watch paths while never returning a connection to the pool with an active watch (#​3854) by @​fcostaoliveira

🐛 Bug Fixes

  • maintnotifications ModeAuto fail-open: ModeAuto now stays fail-open when the server does not support maintenance notifications — connections are retired and tracking is guarded during downgrade so the client keeps working instead of erroring (#​3853) by @​terrorobe

👥 Contributors

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

@​abdellani, @​fcostaoliveira, @​ndyakov, @​terrorobe, @​TheRealMal

v9.20.1: 9.20.1

Compare Source

This is a patch release containing bug fixes only. There are no new features or breaking changes; upgrading from 9.20.0 is a drop-in replacement.

🚀 Highlights

RESP3 pub/sub message loss fixed

PeekPushNotificationName previously inspected only the bytes already buffered by bufio, so when a push frame header straddled a buffer fill boundary it could return a truncated notification name (e.g. "messa" instead of "message"). The push processor then mis-routed the frame and ReadReply silently dropped it, causing intermittent RESP3 pub/sub message loss. The peek now grows its window (36 bytes → up to 4 KiB) and reads more from the connection until the header is complete, cleanly separating incomplete prefixes from corrupt frames (including overflow-safe bulk-length handling). Fixes #​3839.

(#​3842) by @​ndyakov

🐛 Bug Fixes

  • RESP3 push peeking: PeekPushNotificationName no longer returns a truncated notification name when a push frame header spans a buffer boundary, preventing silent RESP3 pub/sub message loss (fixes #​3839) (#​3842) by @​ndyakov
  • FT.HYBRID vector params: Vector data is now always sent via PARAMS with auto-generated param names (__vector_param_N, with collision avoidance) when VectorParamName is omitted, since Redis no longer accepts inline vector blobs; the FTHybridOptions.Params map is no longer mutated, so the same options struct can be reused across calls (#​3844) by @​ndyakov
  • CLUSTER SHARDS forward compatibility: Unknown shard- and node-level attributes in the CLUSTER SHARDS reply are now skipped via DiscardNext() instead of erroring, so clients keep working when the server introduces new fields (#​3843) by @​madolson
  • PubSub double reconnect: PubSub.releaseConn no longer reconnects twice when a connection is both unusable (or pending handoff) and reports a bad-connection error, avoiding a wasted connection establish-then-close cycle (#​3833) by @​cxljs

👥 Contributors

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

@​cxljs, @​madolson, @​ndyakov


Full Changelog: redis/go-redis@v9.20.0...v9.20.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@konflux-internal-p02

konflux-internal-p02 Bot commented May 20, 2026

Copy link
Copy Markdown
Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/redis/go-redis/v9 v9.20.0 -> v9.21.0
github.com/redis/go-redis/extra/rediscmd/v9 v9.20.0 -> v9.21.0

@konflux-internal-p02 konflux-internal-p02 Bot changed the title fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.19.0 fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.19.0 - abandoned May 27, 2026
@konflux-internal-p02

Copy link
Copy Markdown
Author

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@konflux-internal-p02 konflux-internal-p02 Bot changed the title fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.19.0 - abandoned fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.20.0 May 28, 2026
@konflux-internal-p02
konflux-internal-p02 Bot force-pushed the konflux/mintmaker/rhoai-3.5-ea.2/github.com-redis-go-redis-extra-redisotel-v9-9.x branch from 7f4d0b4 to 47fd141 Compare May 28, 2026 14:40
@konflux-internal-p02 konflux-internal-p02 Bot changed the title fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.20.0 fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.20.0 - abandoned Jun 5, 2026
@konflux-internal-p02
konflux-internal-p02 Bot force-pushed the konflux/mintmaker/rhoai-3.5-ea.2/github.com-redis-go-redis-extra-redisotel-v9-9.x branch from 47fd141 to 80933f1 Compare June 15, 2026 18:00
@konflux-internal-p02 konflux-internal-p02 Bot changed the title fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.20.0 - abandoned fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.20.1 Jun 15, 2026
… to v9.21.0

Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
@konflux-internal-p02
konflux-internal-p02 Bot force-pushed the konflux/mintmaker/rhoai-3.5-ea.2/github.com-redis-go-redis-extra-redisotel-v9-9.x branch from 80933f1 to d77ad6e Compare June 25, 2026 09:13
@konflux-internal-p02 konflux-internal-p02 Bot changed the title fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.20.1 fix(deps): update module github.com/redis/go-redis/extra/redisotel/v9 to v9.21.0 Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants