Skip to content

Commit c935f96

Browse files
authored
release(go-redis): v9.9.0 (#3390)
* release(go-redis): v9.9.0 - Add release notes - Update dependencies and version.go * chore(release-notes) Update release notes
1 parent cb1968c commit c935f96

File tree

13 files changed

+73
-16
lines changed

13 files changed

+73
-16
lines changed

RELEASE-NOTES.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
# Release Notes
22

3+
# 9.9.0 (2024-03-21)
4+
5+
## 🚀 Highlights
6+
- **Token-based Authentication**: Added `StreamingCredentialsProvider` for dynamic credential updates (experimental)
7+
- Can be used with [go-redis-entraid](https://github.com/redis/go-redis-entraid) for Azure AD authentication
8+
- **Connection Statistics**: Added connection waiting statistics for better monitoring
9+
- **Failover Improvements**: Added `ParseFailoverURL` for easier failover configuration
10+
- **Ring Client Enhancements**: Added shard access methods for better Pub/Sub management
11+
12+
## ✨ New Features
13+
- Added `StreamingCredentialsProvider` for token-based authentication ([#3320](https://github.com/redis/go-redis/pull/3320))
14+
- Supports dynamic credential updates
15+
- Includes connection close hooks
16+
- Note: Currently marked as experimental
17+
- Added `ParseFailoverURL` for parsing failover URLs ([#3362](https://github.com/redis/go-redis/pull/3362))
18+
- Added connection waiting statistics ([#2804](https://github.com/redis/go-redis/pull/2804))
19+
- Added new utility functions:
20+
- `ParseFloat` and `MustParseFloat` in public utils package ([#3371](https://github.com/redis/go-redis/pull/3371))
21+
- Unit tests for `Atoi`, `ParseInt`, `ParseUint`, and `ParseFloat` ([#3377](https://github.com/redis/go-redis/pull/3377))
22+
- Added Ring client shard access methods:
23+
- `GetShardClients()` to retrieve all active shard clients
24+
- `GetShardClientForKey(key string)` to get the shard client for a specific key ([#3388](https://github.com/redis/go-redis/pull/3388))
25+
26+
## 🐛 Bug Fixes
27+
- Fixed routing reads to loading slave nodes ([#3370](https://github.com/redis/go-redis/pull/3370))
28+
- Added support for nil lag in XINFO GROUPS ([#3369](https://github.com/redis/go-redis/pull/3369))
29+
- Fixed pool acquisition timeout issues ([#3381](https://github.com/redis/go-redis/pull/3381))
30+
- Optimized unnecessary copy operations ([#3376](https://github.com/redis/go-redis/pull/3376))
31+
32+
## 📚 Documentation
33+
- Updated documentation for XINFO GROUPS with nil lag support ([#3369](https://github.com/redis/go-redis/pull/3369))
34+
- Added package-level comments for new features
35+
36+
## ⚡ Performance and Reliability
37+
- Optimized `ReplaceSpaces` function ([#3383](https://github.com/redis/go-redis/pull/3383))
38+
- Set default value for `Options.Protocol` in `init()` ([#3387](https://github.com/redis/go-redis/pull/3387))
39+
- Exported pool errors for public consumption ([#3380](https://github.com/redis/go-redis/pull/3380))
40+
41+
## 🔧 Dependencies and Infrastructure
42+
- Updated Redis CI to version 8.0.1 ([#3372](https://github.com/redis/go-redis/pull/3372))
43+
- Updated spellcheck GitHub Actions ([#3389](https://github.com/redis/go-redis/pull/3389))
44+
- Removed unused parameters ([#3382](https://github.com/redis/go-redis/pull/3382), [#3384](https://github.com/redis/go-redis/pull/3384))
45+
46+
## 🧪 Testing
47+
- Added unit tests for pool acquisition timeout ([#3381](https://github.com/redis/go-redis/pull/3381))
48+
- Added unit tests for utility functions ([#3377](https://github.com/redis/go-redis/pull/3377))
49+
50+
## 👥 Contributors
51+
52+
We would like to thank all the contributors who made this release possible:
53+
54+
[@ndyakov](https://github.com/ndyakov), [@ofekshenawa](https://github.com/ofekshenawa), [@LINKIWI](https://github.com/LINKIWI), [@iamamirsalehi](https://github.com/iamamirsalehi), [@fukua95](https://github.com/fukua95), [@lzakharov](https://github.com/lzakharov), [@DengY11](https://github.com/DengY11)
55+
56+
## 📝 Changelog
57+
58+
For a complete list of changes, see the [full changelog](https://github.com/redis/go-redis/compare/v9.8.0...v9.9.0).
59+
360
# 9.8.0 (2025-04-30)
461

562
## 🚀 Highlights

example/del-keys-without-ttl/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.18
55
replace github.com/redis/go-redis/v9 => ../..
66

77
require (
8-
github.com/redis/go-redis/v9 v9.8.0
8+
github.com/redis/go-redis/v9 v9.9.0
99
go.uber.org/zap v1.24.0
1010
)
1111

example/hll/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.18
44

55
replace github.com/redis/go-redis/v9 => ../..
66

7-
require github.com/redis/go-redis/v9 v9.8.0
7+
require github.com/redis/go-redis/v9 v9.9.0
88

99
require (
1010
github.com/cespare/xxhash/v2 v2.3.0 // indirect

example/hset-struct/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replace github.com/redis/go-redis/v9 => ../..
66

77
require (
88
github.com/davecgh/go-spew v1.1.1
9-
github.com/redis/go-redis/v9 v9.8.0
9+
github.com/redis/go-redis/v9 v9.9.0
1010
)
1111

1212
require (

example/lua-scripting/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.18
44

55
replace github.com/redis/go-redis/v9 => ../..
66

7-
require github.com/redis/go-redis/v9 v9.8.0
7+
require github.com/redis/go-redis/v9 v9.9.0
88

99
require (
1010
github.com/cespare/xxhash/v2 v2.3.0 // indirect

example/otel/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ replace github.com/redis/go-redis/extra/redisotel/v9 => ../../extra/redisotel
1111
replace github.com/redis/go-redis/extra/rediscmd/v9 => ../../extra/rediscmd
1212

1313
require (
14-
github.com/redis/go-redis/extra/redisotel/v9 v9.8.0
15-
github.com/redis/go-redis/v9 v9.8.0
14+
github.com/redis/go-redis/extra/redisotel/v9 v9.9.0
15+
github.com/redis/go-redis/v9 v9.9.0
1616
github.com/uptrace/uptrace-go v1.21.0
1717
go.opentelemetry.io/otel v1.22.0
1818
)
@@ -25,7 +25,7 @@ require (
2525
github.com/go-logr/stdr v1.2.2 // indirect
2626
github.com/golang/protobuf v1.5.3 // indirect
2727
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
28-
github.com/redis/go-redis/extra/rediscmd/v9 v9.8.0 // indirect
28+
github.com/redis/go-redis/extra/rediscmd/v9 v9.9.0 // indirect
2929
go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1 // indirect
3030
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.44.0 // indirect
3131
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // indirect

example/redis-bloom/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.18
44

55
replace github.com/redis/go-redis/v9 => ../..
66

7-
require github.com/redis/go-redis/v9 v9.8.0
7+
require github.com/redis/go-redis/v9 v9.9.0
88

99
require (
1010
github.com/cespare/xxhash/v2 v2.3.0 // indirect

example/scan-struct/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replace github.com/redis/go-redis/v9 => ../..
66

77
require (
88
github.com/davecgh/go-spew v1.1.1
9-
github.com/redis/go-redis/v9 v9.8.0
9+
github.com/redis/go-redis/v9 v9.9.0
1010
)
1111

1212
require (

extra/rediscensus/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ replace github.com/redis/go-redis/v9 => ../..
77
replace github.com/redis/go-redis/extra/rediscmd/v9 => ../rediscmd
88

99
require (
10-
github.com/redis/go-redis/extra/rediscmd/v9 v9.8.0
11-
github.com/redis/go-redis/v9 v9.8.0
10+
github.com/redis/go-redis/extra/rediscmd/v9 v9.9.0
11+
github.com/redis/go-redis/v9 v9.9.0
1212
go.opencensus.io v0.24.0
1313
)
1414

extra/rediscmd/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ replace github.com/redis/go-redis/v9 => ../..
77
require (
88
github.com/bsm/ginkgo/v2 v2.12.0
99
github.com/bsm/gomega v1.27.10
10-
github.com/redis/go-redis/v9 v9.8.0
10+
github.com/redis/go-redis/v9 v9.9.0
1111
)
1212

1313
require (

extra/redisotel/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ replace github.com/redis/go-redis/v9 => ../..
77
replace github.com/redis/go-redis/extra/rediscmd/v9 => ../rediscmd
88

99
require (
10-
github.com/redis/go-redis/extra/rediscmd/v9 v9.8.0
11-
github.com/redis/go-redis/v9 v9.8.0
10+
github.com/redis/go-redis/extra/rediscmd/v9 v9.9.0
11+
github.com/redis/go-redis/v9 v9.9.0
1212
go.opentelemetry.io/otel v1.22.0
1313
go.opentelemetry.io/otel/metric v1.22.0
1414
go.opentelemetry.io/otel/sdk v1.22.0

extra/redisprometheus/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replace github.com/redis/go-redis/v9 => ../..
66

77
require (
88
github.com/prometheus/client_golang v1.14.0
9-
github.com/redis/go-redis/v9 v9.8.0
9+
github.com/redis/go-redis/v9 v9.9.0
1010
)
1111

1212
require (

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package redis
22

33
// Version is the current release version.
44
func Version() string {
5-
return "9.8.0"
5+
return "9.9.0"
66
}

0 commit comments

Comments
 (0)