<#7331 Bump github.com/redis/go-redis/v9 from 9.17...
# flyte-github
a
#7331 Bump github.com/redis/go-redis/v9 from 9.17.2 to 9.19.0 Pull request opened by dependabot[bot] Bumps github.com/redis/go-redis/v9 from 9.17.2 to 9.19.0. Release notes Sourced from github.com/redis/go-redis/v9's releases.
9.19.0
🚀 Highlights
FIPS-Compatible Script Helper
Script
now supports a FIPS-safe execution mode that avoids client-side SHA-1 computation, which is blocked in strict FIPS environments. A new
NewScriptServerSHA
constructor uses
SCRIPT LOAD
to obtain and cache the digest from the server, then runs commands via `EVALSHA`/`EVALSHA_RO`. Falls back to `EVAL`/`EVALRO` if loading fails, and transparently retries once on
NOSCRIPT
. The default behavior is unchanged for existing users.
(#3700) by
@​chaitanyabodlapati
FT.AGGREGATE Step-Based Pipeline Builder
Added a new step-based
FT.AGGREGATE
pipeline API via
FTAggregateOptions.Steps
, allowing
LOAD
,
APPLY
,
GROUPBY
, and
SORTBY
(with per-step
MAX
) to be repeated and interleaved in arbitrary order — matching Redis's native multi-stage aggregation semantics. The legacy `Load`/`Apply`/`GroupBy`/`SortBy`/`SortByMax` fields are now deprecated.
(#3782) by
@​ndyakov
Raw RESP Protocol Access
Added
DoRaw
and
DoRawWriteTo
methods for executing arbitrary commands and reading the raw RESP response. Useful for proxying, custom protocol inspection, and working with commands not yet wrapped by go-redis.
(#3713) by
@​ofekshenawa
Configurable Dial Retry Backoff
Added
DialerRetryBackoff
option (plumbed through
Options
,
ClusterOptions
,
RingOptions
,
FailoverOptions
) to let callers customize the delay between failed dial attempts. Helpers
DialRetryBackoffConstant
and
DialRetryBackoffExponential
(with jitter and cap) are provided out of the box. Dial timeout is now also applied per attempt rather than across all retries.
(#3706, #3705) by
@​mwhooker
✨ New Features
• FT.AGGREGATE Steps: Step-based pipeline builder for
FT.AGGREGATE
with support for repeated/interleaved
LOAD
,
APPLY
,
GROUPBY
, and
SORTBY
stages (#3782) by
@​ndyakov
• VectorSet commands: Added
VISMEMBER
and
WITHATTRIBS
support (#3753) by
@​romanpovol
• FIPS-safe Script:
NewScriptServerSHA
uses
SCRIPT LOAD
to obtain the digest from the server, avoiding client-side SHA-1 (#3700) by
@​chaitanyabodlapati
• Raw RESP access:
DoRaw
and
DoRawWriteTo
for raw RESP protocol access (#3713) by
@​ofekshenawa
• Dial retry backoff:
DialerRetryBackoff
function option with constant and exponential helpers (#3706) by
@​mwhooker
• Typed NOSCRIPT error: Redis
NOSCRIPT
replies are now surfaced as a typed error for easier handling (#3738) by
@​LINKIWI
• PubSub ClientSetName: Added
ClientSetName
method to
PubSub
(#3727) by
@​Flack74
• ReplicaOf: New
ReplicaOf
method replaces the deprecated
SlaveOf
(#3720) by
@​Copilot
• HSCAN BinaryUnmarshaler:
HScan
now supports types implementing
encoding.BinaryUnmarshaler
(#3768) by
@​Aaditya-dubey1
🐛 Bug Fixes
• Auto hostname type detection: Improved endpoint type detection for maintenance notifications using DNS-based classification; handles empty hosts and expanded private-IP ranges (#3789) by
@​ndyakov
• HELLO fallback: Don't send
CLIENT MAINT_NOTIFICATIONS
handshake when
HELLO
fails and connection falls back to RESP2; fail fast when explicitly enabled with RESP3 (#3788) by
@​ndyakov
• Dial TCP retry:
ShouldRetry
now treats
net.OpError
with
Op == "dial"
timeout errors as safe to retry since no command was sent (#3787) by
@​vladisa88
• wrappedOnClose leak: Fixed resource leak caused by repeatedly wrapping
baseClient
close logic; replaced with a bounded, concurrency-safe named-hook registry (#3785) by
@​ndyakov
• Pool Close() on stale connections: Suppress close errors (e.g., TLS
closeNotify
timeouts) for connections already dropped by the server due to idle timeout (#3778) by
@​ofekshenawa
• FIFO waiter ordering: Fixed race in
ConnStateMachine.notifyWaiters
that could wake multiple waiters under a single mutex hold and violate FIFO ordering (#3777) by
@​0x48core
• Lua READONLY detection: Detect
READONLY
errors embedded in Lua script error messages on read-only replicas so commands are correctly retried (#3769) by
@​zhengjilei
• VectorScoreSliceCmd RESP2: Fixed
VSimWithScores
,
VSimWithArgsWithScores
, and
VLinksWithScores
which were broken on RESP2 connections returning flat arrays instead of maps (#3767) by
@​Copilot
... (truncated) Changelog Sourced from github.com/redis/go-redis/v9's changelog.
9.19.0 (2026-04-27)
🚀 Highlights
FIPS-Compatible Script Helper
Script
now supports a FIPS-safe execution mode that avoids client-side SHA-1 computation, which is blocked in strict FIPS environments. A new
NewScriptServerSHA
constructor uses
SCRIPT LOAD
to obtain and cache the digest from the server, then runs commands via `EVALSHA`/`EVALSHA_RO`. Falls back to `EVAL`/`EVALRO` if loading fails, and transparently retries once on
NOSCRIPT
. The default behavior is unchanged for existing users.
(#3700) by
@​chaitanyabodlapati
FT.AGGREGATE Step-Based Pipeline Builder
Added a new step-based
FT.AGGREGATE
pipeline API via
FTAggregateOptions.Steps
, allowing
LOAD
,
APPLY
,
GROUPBY
, and
SORTBY
(with per-step
MAX
) to be repeated and interleaved in arbitrary order — matching Redis's native multi-stage aggregation semantics. The legacy `Load`/`Apply`/`GroupBy`/`SortBy`/`SortByMax` fields are now deprecated.
(#3782) by <https://github.com/…
flyteorg/flyte