Skip to content

Commit c04cb1a

Browse files
committed
Bump go-redis version to 9.5.0 (#2905)
* Bump go-redis version to 9.4.1 * Bump go-redis version to 9.5.0
1 parent 35de49a commit c04cb1a

File tree

18 files changed

+48
-48
lines changed

18 files changed

+48
-48
lines changed

bench_decode_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func NewClientStub(resp []byte) *ClientStub {
3030
Dialer: func(ctx context.Context, network, addr string) (net.Conn, error) {
3131
return stub.stubConn(initHello), nil
3232
},
33-
DisableIndentity: true,
33+
DisableIdentity: true,
3434
})
3535
return stub
3636
}
@@ -46,7 +46,7 @@ func NewClusterClientStub(resp []byte) *ClientStub {
4646
Dialer: func(ctx context.Context, network, addr string) (net.Conn, error) {
4747
return stub.stubConn(initHello), nil
4848
},
49-
DisableIndentity: true,
49+
DisableIdentity: true,
5050

5151
ClusterSlots: func(_ context.Context) ([]ClusterSlot, error) {
5252
return []ClusterSlot{

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.4.0
8+
github.com/redis/go-redis/v9 v9.5.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.4.0
7+
require github.com/redis/go-redis/v9 v9.5.0
88

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

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.4.0
7+
require github.com/redis/go-redis/v9 v9.5.0
88

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

example/otel/go.mod

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

1111
require (
12-
github.com/redis/go-redis/extra/redisotel/v9 v9.4.0
13-
github.com/redis/go-redis/v9 v9.4.0
12+
github.com/redis/go-redis/extra/redisotel/v9 v9.5.0
13+
github.com/redis/go-redis/v9 v9.5.0
1414
github.com/uptrace/uptrace-go v1.21.0
1515
go.opentelemetry.io/otel v1.21.0
1616
)
@@ -23,7 +23,7 @@ require (
2323
github.com/go-logr/stdr v1.2.2 // indirect
2424
github.com/golang/protobuf v1.5.3 // indirect
2525
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
26-
github.com/redis/go-redis/extra/rediscmd/v9 v9.4.0 // indirect
26+
github.com/redis/go-redis/extra/rediscmd/v9 v9.5.0 // indirect
2727
go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1 // indirect
2828
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.17.0 // indirect
2929
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.43.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.4.0
7+
require github.com/redis/go-redis/v9 v9.5.0
88

99
require (
1010
github.com/cespare/xxhash/v2 v2.2.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.4.0
9+
github.com/redis/go-redis/v9 v9.5.0
1010
)
1111

1212
require (

extra/rediscensus/go.mod

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

99
require (
1010
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
11-
github.com/redis/go-redis/extra/rediscmd/v9 v9.4.0
12-
github.com/redis/go-redis/v9 v9.4.0
11+
github.com/redis/go-redis/extra/rediscmd/v9 v9.5.0
12+
github.com/redis/go-redis/v9 v9.5.0
1313
go.opencensus.io v0.24.0
1414
)

extra/rediscmd/go.mod

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

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.4.0
11-
github.com/redis/go-redis/v9 v9.4.0
10+
github.com/redis/go-redis/extra/rediscmd/v9 v9.5.0
11+
github.com/redis/go-redis/v9 v9.5.0
1212
go.opentelemetry.io/otel v1.16.0
1313
go.opentelemetry.io/otel/metric v1.16.0
1414
go.opentelemetry.io/otel/sdk v1.16.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.4.0
9+
github.com/redis/go-redis/v9 v9.5.0
1010
)
1111

1212
require (

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ type Options struct {
143143
readOnly bool
144144

145145
// Disable set-lib on connect. Default is false.
146-
DisableIndentity bool
146+
DisableIdentity bool
147147

148148
// Add suffix to client name. Default is empty.
149149
IdentitySuffix string

osscluster.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ type ClusterOptions struct {
8585
ConnMaxIdleTime time.Duration
8686
ConnMaxLifetime time.Duration
8787

88-
TLSConfig *tls.Config
89-
DisableIndentity bool // Disable set-lib on connect. Default is false.
88+
TLSConfig *tls.Config
89+
DisableIdentity bool // Disable set-lib on connect. Default is false.
9090

9191
IdentitySuffix string // Add suffix to client name. Default is empty.
9292
}
@@ -286,17 +286,17 @@ func (opt *ClusterOptions) clientOptions() *Options {
286286
WriteTimeout: opt.WriteTimeout,
287287
ContextTimeoutEnabled: opt.ContextTimeoutEnabled,
288288

289-
PoolFIFO: opt.PoolFIFO,
290-
PoolSize: opt.PoolSize,
291-
PoolTimeout: opt.PoolTimeout,
292-
MinIdleConns: opt.MinIdleConns,
293-
MaxIdleConns: opt.MaxIdleConns,
294-
MaxActiveConns: opt.MaxActiveConns,
295-
ConnMaxIdleTime: opt.ConnMaxIdleTime,
296-
ConnMaxLifetime: opt.ConnMaxLifetime,
297-
DisableIndentity: opt.DisableIndentity,
298-
IdentitySuffix: opt.IdentitySuffix,
299-
TLSConfig: opt.TLSConfig,
289+
PoolFIFO: opt.PoolFIFO,
290+
PoolSize: opt.PoolSize,
291+
PoolTimeout: opt.PoolTimeout,
292+
MinIdleConns: opt.MinIdleConns,
293+
MaxIdleConns: opt.MaxIdleConns,
294+
MaxActiveConns: opt.MaxActiveConns,
295+
ConnMaxIdleTime: opt.ConnMaxIdleTime,
296+
ConnMaxLifetime: opt.ConnMaxLifetime,
297+
DisableIdentity: opt.DisableIdentity,
298+
IdentitySuffix: opt.IdentitySuffix,
299+
TLSConfig: opt.TLSConfig,
300300
// If ClusterSlots is populated, then we probably have an artificial
301301
// cluster whose nodes are not in clustering mode (otherwise there isn't
302302
// much use for ClusterSlots config). This means we cannot execute the

redis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ func (c *baseClient) initConn(ctx context.Context, cn *pool.Conn) error {
334334
pipe.ClientSetName(ctx, c.opt.ClientName)
335335
}
336336

337-
if !c.opt.DisableIndentity {
337+
if !c.opt.DisableIdentity {
338338
libName := ""
339339
libVer := Version()
340340
if c.opt.IdentitySuffix != "" {

ring.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ type RingOptions struct {
9898
TLSConfig *tls.Config
9999
Limiter Limiter
100100

101-
DisableIndentity bool
102-
IdentitySuffix string
101+
DisableIdentity bool
102+
IdentitySuffix string
103103
}
104104

105105
func (opt *RingOptions) init() {
@@ -166,8 +166,8 @@ func (opt *RingOptions) clientOptions() *Options {
166166
TLSConfig: opt.TLSConfig,
167167
Limiter: opt.Limiter,
168168

169-
DisableIndentity: opt.DisableIndentity,
170-
IdentitySuffix: opt.IdentitySuffix,
169+
DisableIdentity: opt.DisableIdentity,
170+
IdentitySuffix: opt.IdentitySuffix,
171171
}
172172
}
173173

sentinel.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ type FailoverOptions struct {
8080

8181
TLSConfig *tls.Config
8282

83-
DisableIndentity bool
84-
IdentitySuffix string
83+
DisableIdentity bool
84+
IdentitySuffix string
8585
}
8686

8787
func (opt *FailoverOptions) clientOptions() *Options {
@@ -117,8 +117,8 @@ func (opt *FailoverOptions) clientOptions() *Options {
117117

118118
TLSConfig: opt.TLSConfig,
119119

120-
DisableIndentity: opt.DisableIndentity,
121-
IdentitySuffix: opt.IdentitySuffix,
120+
DisableIdentity: opt.DisableIdentity,
121+
IdentitySuffix: opt.IdentitySuffix,
122122
}
123123
}
124124

universal.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ type UniversalOptions struct {
6666

6767
MasterName string
6868

69-
DisableIndentity bool
70-
IdentitySuffix string
69+
DisableIdentity bool
70+
IdentitySuffix string
7171
}
7272

7373
// Cluster returns cluster options created from the universal options.
@@ -112,8 +112,8 @@ func (o *UniversalOptions) Cluster() *ClusterOptions {
112112

113113
TLSConfig: o.TLSConfig,
114114

115-
DisableIndentity: o.DisableIndentity,
116-
IdentitySuffix: o.IdentitySuffix,
115+
DisableIdentity: o.DisableIdentity,
116+
IdentitySuffix: o.IdentitySuffix,
117117
}
118118
}
119119

@@ -158,8 +158,8 @@ func (o *UniversalOptions) Failover() *FailoverOptions {
158158

159159
TLSConfig: o.TLSConfig,
160160

161-
DisableIndentity: o.DisableIndentity,
162-
IdentitySuffix: o.IdentitySuffix,
161+
DisableIdentity: o.DisableIdentity,
162+
IdentitySuffix: o.IdentitySuffix,
163163
}
164164
}
165165

@@ -201,8 +201,8 @@ func (o *UniversalOptions) Simple() *Options {
201201

202202
TLSConfig: o.TLSConfig,
203203

204-
DisableIndentity: o.DisableIndentity,
205-
IdentitySuffix: o.IdentitySuffix,
204+
DisableIdentity: o.DisableIdentity,
205+
IdentitySuffix: o.IdentitySuffix,
206206
}
207207
}
208208

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.4.0"
5+
return "9.5.0"
66
}

0 commit comments

Comments
 (0)