---
title: "github.com/redis/go-redis/v9 v9.22.0 Breaking Changes"
description: "What each github.com/redis/go-redis/v9 release removed, renamed or changed: 978 breaking changes in 13 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/redis/go-redis/v9
last_updated: 2026-12-04
---

# github.com/redis/go-redis/v9 breaking changes

github.com/redis/go-redis/v9 v9.22.0 (August 3, 2026) is its newest release with breaking changes, 11 of them. The first: Behavior changed Ring.Publish. Every breaking API change we have recorded in github.com/redis/go-redis/v9 on Go modules: 978 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v9.24.1`, released November 27, 2026. [Source repository](https://github.com/redis/go-redis)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v9.0.0](#v-v9-0-0) to [v9.22.0](#v-v9-22-0): 758 breaking changes in 12 versions.

## github.com/redis/go-redis/v9 v9.22.0 breaking changes

github.com/redis/go-redis/v9 v9.22.0, released August 3, 2026: 11 breaking changes.

- **Behavior changed** `Ring.Publish`  

Publish now sends messages to the shard that owns the topic rather than a round-robin shard. Code relying on the old routing may see different behavior. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0)
- **Default changed**  

Default retry backoff is now 10ms to 1s, cluster state reload interval is 60s, and TCP keep-alive is 30s idle, 5s interval, 3 probes. Set these explicitly to keep old behavior. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0)
- **Default changed** `ReadTimeout`  

The default ReadTimeout is now 5s instead of 3s. Set it explicitly if you need the old value. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0)
- **Default changed** `WriteTimeout`  

The default WriteTimeout is now 5s instead of 3s. Set it explicitly if you need the old value. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0)
- **Signature changed** `github.com/redis/go-redis/v9.Client.WaitAOF`  

Was func WaitAOF(context.Context, int, int, time.Duration) \*IntCmd; now func WaitAOF(context.Context, int, int, time.Duration) \*IntSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.22.0)
- **Signature changed** `github.com/redis/go-redis/v9.ClusterClient.WaitAOF`  

Was func WaitAOF(context.Context, int, int, time.Duration) \*IntCmd; now func WaitAOF(context.Context, int, int, time.Duration) \*IntSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.22.0)
- **Signature changed** `github.com/redis/go-redis/v9.Conn.WaitAOF`  

Was func WaitAOF(context.Context, int, int, time.Duration) \*IntCmd; now func WaitAOF(context.Context, int, int, time.Duration) \*IntSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.22.0)
- **Signature changed** `github.com/redis/go-redis/v9.Pipeline.WaitAOF`  

Was func WaitAOF(context.Context, int, int, time.Duration) \*IntCmd; now func WaitAOF(context.Context, int, int, time.Duration) \*IntSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.22.0)
- **Signature changed** `github.com/redis/go-redis/v9.Ring.WaitAOF`  

Was func WaitAOF(context.Context, int, int, time.Duration) \*IntCmd; now func WaitAOF(context.Context, int, int, time.Duration) \*IntSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.22.0)
- **Signature changed** `github.com/redis/go-redis/v9.Tx.WaitAOF`  

Was func WaitAOF(context.Context, int, int, time.Duration) \*IntCmd; now func WaitAOF(context.Context, int, int, time.Duration) \*IntSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.22.0)
- **Signature changed** `WaitAOF`  

WaitAOF returns \*IntSliceCmd to match the two-integer WAITAOF reply. Code referencing the old return type needs a one-line update. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0)

## github.com/redis/go-redis/v9 v9.22.0-beta.1 breaking changes

github.com/redis/go-redis/v9 v9.22.0-beta.1, released August 3, 2026: 6 breaking changes.

- **Behavior changed** `rediscmd.AppendCmd`  

Span attributes from redisotel and rediscensus show \<redacted> in place of passwords and AUTH arguments. Tracing code that expected raw credentials must adapt. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0-beta.1)
- **Default changed**  

Cluster clients now reload state every 60s instead of 10s unless the interval is set explicitly. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0-beta.1)
- **Default changed** `net.KeepAliveConfig`  

Connections now use the new keep-alive defaults unless configured explicitly. Set net.KeepAliveConfig to keep the previous behavior. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0-beta.1)
- **Default changed** `ReadTimeout`  

Applications relying on the old 3s default now get 5s. Set ReadTimeout explicitly to keep the previous value. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0-beta.1)
- **Default changed** `WriteTimeout`  

Applications relying on the old 3s default now get 5s. Set WriteTimeout explicitly to keep the previous value. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0-beta.1)
- **Signature changed** `WaitAOF`  

Code that references the old \*IntCmd return type must be updated to \*IntSliceCmd. [github.com](https://github.com/redis/go-redis/releases/tag/v9.22.0-beta.1)

## github.com/redis/go-redis/v9 v9.20.0 breaking changes

github.com/redis/go-redis/v9 v9.20.0, released May 28, 2026: 22 breaking changes.

- **Signature changed** `github.com/redis/go-redis/v9.Client.VLinks`  

Was func VLinks(context.Context, string, string) \*StringSliceCmd; now func VLinks(context.Context, string, string) \*StringSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Client.VLinksWithScores`  

Was func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceCmd; now func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.ClusterClient.VLinks`  

Was func VLinks(context.Context, string, string) \*StringSliceCmd; now func VLinks(context.Context, string, string) \*StringSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.ClusterClient.VLinksWithScores`  

Was func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceCmd; now func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Cmdable.VLinks`  

Was func VLinks(context.Context, string, string) \*StringSliceCmd; now func VLinks(context.Context, string, string) \*StringSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Cmdable.VLinksWithScores`  

Was func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceCmd; now func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Conn.VLinks`  

Was func VLinks(context.Context, string, string) \*StringSliceCmd; now func VLinks(context.Context, string, string) \*StringSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Conn.VLinksWithScores`  

Was func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceCmd; now func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Pipeline.VLinks`  

Was func VLinks(context.Context, string, string) \*StringSliceCmd; now func VLinks(context.Context, string, string) \*StringSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)
- **Signature changed** `github.com/redis/go-redis/v9.Pipeline.VLinksWithScores`  

Was func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceCmd; now func VLinksWithScores(context.Context, string, string) \*VectorScoreSliceSliceCmd. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.20.0)

And 12 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/redis/go-redis/v9 v9.16.0 breaking changes

github.com/redis/go-redis/v9 v9.16.0, released October 23, 2025: 1 breaking change.

- **Signature changed** `github.com/redis/go-redis/v9/maintnotifications.PoolHook.OnGet`  

Was func OnGet(context.Context, \*pool.Conn, bool) error; now func OnGet(context.Context, \*pool.Conn, bool) (bool, error). [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.16.0)

## github.com/redis/go-redis/v9 v9.12.0 breaking changes

github.com/redis/go-redis/v9 v9.12.0, released August 5, 2025: 2 breaking changes.

- **Signature changed** `github.com/redis/go-redis/v9.FTAggregateQuery`  

Was func FTAggregateQuery(string, \*FTAggregateOptions) AggregateQuery; now func FTAggregateQuery(string, \*FTAggregateOptions) (AggregateQuery, error). [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.12.0)
- **Signature changed** `github.com/redis/go-redis/v9.FTSearchQuery`  

Was func FTSearchQuery(string, \*FTSearchOptions) SearchQuery; now func FTSearchQuery(string, \*FTSearchOptions) (SearchQuery, error). [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.12.0)

## github.com/redis/go-redis/v9 v9.8.0 breaking changes

github.com/redis/go-redis/v9 v9.8.0, released April 30, 2025: 94 breaking changes.

- **Removed** `github.com/redis/go-redis/v9.Client.TFCall`  

github.com/redis/go-redis/v9.Client.TFCall was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFCallArgs`  

github.com/redis/go-redis/v9.Client.TFCallArgs was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFCallASYNC`  

github.com/redis/go-redis/v9.Client.TFCallASYNC was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFCallASYNCArgs`  

github.com/redis/go-redis/v9.Client.TFCallASYNCArgs was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFunctionDelete`  

github.com/redis/go-redis/v9.Client.TFunctionDelete was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFunctionList`  

github.com/redis/go-redis/v9.Client.TFunctionList was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFunctionListArgs`  

github.com/redis/go-redis/v9.Client.TFunctionListArgs was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFunctionLoad`  

github.com/redis/go-redis/v9.Client.TFunctionLoad was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.Client.TFunctionLoadArgs`  

github.com/redis/go-redis/v9.Client.TFunctionLoadArgs was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)
- **Removed** `github.com/redis/go-redis/v9.ClusterClient.TFCall`  

github.com/redis/go-redis/v9.ClusterClient.TFCall was removed in github.com/redis/go-redis/v9 v9.8.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.8.0)

And 84 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/redis/go-redis/v9 v9.7.3 breaking changes

github.com/redis/go-redis/v9 v9.7.3, released March 20, 2025: 57 breaking changes.

- **Removed** `github.com/redis/go-redis/v9.ACLCatArgs`  

github.com/redis/go-redis/v9.ACLCatArgs was removed in github.com/redis/go-redis/v9 v9.7.3 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.7.3)
- **Removed** `github.com/redis/go-redis/v9.ACLCmdable.ACLCat`  

github.com/redis/go-redis/v9.ACLCmdable.ACLCat was removed in github.com/redis/go-redis/v9 v9.7.3 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.7.3)

And 55 more in this version.

### github.com/redis/go-redis/v9 v9.7.0 breaking changes

github.com/redis/go-redis/v9 v9.7.0, released October 17, 2024: 5 breaking changes.

- **Removed** `github.com/redis/go-redis/v9.ClusterOptions.DisableIdentity`  

github.com/redis/go-redis/v9.ClusterOptions.DisableIdentity was removed in github.com/redis/go-redis/v9 v9.7.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.7.0)
- **Removed** `github.com/redis/go-redis/v9.FailoverOptions.DisableIdentity`  

github.com/redis/go-redis/v9.FailoverOptions.DisableIdentity was removed in github.com/redis/go-redis/v9 v9.7.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.7.0)

And 3 more in this version.

### github.com/redis/go-redis/v9 v9.6.0 breaking changes

github.com/redis/go-redis/v9 v9.6.0, released July 19, 2024: 372 breaking changes.

- **Removed** `github.com/redis/go-redis/v9.AggregateCmd`  

github.com/redis/go-redis/v9.AggregateCmd was removed in github.com/redis/go-redis/v9 v9.6.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.6.0)
- **Removed** `github.com/redis/go-redis/v9.AggregateQuery`  

github.com/redis/go-redis/v9.AggregateQuery was removed in github.com/redis/go-redis/v9 v9.6.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.6.0)

And 370 more in this version.

### github.com/redis/go-redis/v9 v9.4.0 breaking changes

github.com/redis/go-redis/v9 v9.4.0, released January 7, 2024: 2 breaking changes.

- **Signature changed** `github.com/redis/go-redis/v9.Z.Member`  

Was Member string; now Member interface{}. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.4.0)
- **Signature changed** `github.com/redis/go-redis/v9.ZWithKey.Member`  

Was Member string; now Member interface{}. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.4.0)

### github.com/redis/go-redis/v9 v9.3.1 breaking changes

github.com/redis/go-redis/v9 v9.3.1, released December 19, 2023: 2 breaking changes.

- **Signature changed** `github.com/redis/go-redis/v9.Z.Member`  

Was Member interface{}; now Member string. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.3.1)
- **Signature changed** `github.com/redis/go-redis/v9.ZWithKey.Member`  

Was Member interface{}; now Member string. [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.3.1)

### github.com/redis/go-redis/v9 v9.2.0 breaking changes

github.com/redis/go-redis/v9 v9.2.0, released September 20, 2023: 184 breaking changes.

- **Removed** `github.com/redis/go-redis/v9.Cmdable.BitCount`  

github.com/redis/go-redis/v9.Cmdable.BitCount was removed in github.com/redis/go-redis/v9 v9.2.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.2.0)
- **Removed** `github.com/redis/go-redis/v9.Cmdable.BitField`  

github.com/redis/go-redis/v9.Cmdable.BitField was removed in github.com/redis/go-redis/v9 v9.2.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.2.0)

And 182 more in this version.

### github.com/redis/go-redis/v9 v9.0.0 breaking changes

github.com/redis/go-redis/v9 v9.0.0, released January 30, 2023: 220 breaking changes.

- **Removed** `github.com/redis/go-redis/v9.Client.Context`  

github.com/redis/go-redis/v9.Client.Context was removed in github.com/redis/go-redis/v9 v9.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.0.0)
- **Removed** `github.com/redis/go-redis/v9.Client.WithContext`  

github.com/redis/go-redis/v9.Client.WithContext was removed in github.com/redis/go-redis/v9 v9.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/redis/go-redis/v9@v9.0.0)

And 218 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
