Skip to content

Commit 7ee1282

Browse files
authored
Merge pull request #2377 from redis/release/v9.0.1
Release/v9.0.1
2 parents ce04442 + 515043a commit 7ee1282

File tree

15 files changed

+19
-42
lines changed

15 files changed

+19
-42
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [9.0.1](https://github.com/redis/go-redis/compare/v9.0.0...v9.0.1) (2023-01-30)
2+
3+
4+
15
## v9 2023-01-30
26

37
### Added

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.14
55
replace github.com/redis/go-redis/v9 => ../..
66

77
require (
8-
github.com/redis/go-redis/v9 v9.0.0
8+
github.com/redis/go-redis/v9 v9.0.1
99
go.uber.org/atomic v1.10.0 // indirect
1010
go.uber.org/multierr v1.9.0 // indirect
1111
go.uber.org/zap v1.24.0

example/hll/go.mod

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

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

7-
require github.com/redis/go-redis/v9 v9.0.0
7+
require github.com/redis/go-redis/v9 v9.0.1

example/lua-scripting/go.mod

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

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

7-
require github.com/redis/go-redis/v9 v9.0.0
7+
require github.com/redis/go-redis/v9 v9.0.1

example/otel/go.mod

Lines changed: 2 additions & 2 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.0.0
13-
github.com/redis/go-redis/v9 v9.0.0
12+
github.com/redis/go-redis/extra/redisotel/v9 v9.0.1
13+
github.com/redis/go-redis/v9 v9.0.1
1414
github.com/uptrace/uptrace-go v1.11.8
1515
go.opentelemetry.io/otel v1.11.2
1616
google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa // indirect

example/redis-bloom/go.mod

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

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

7-
require github.com/redis/go-redis/v9 v9.0.0
7+
require github.com/redis/go-redis/v9 v9.0.1

example/scan-struct/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ 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.0.0
9+
github.com/redis/go-redis/v9 v9.0.1
1010
)

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.0.0
12-
github.com/redis/go-redis/v9 v9.0.0
11+
github.com/redis/go-redis/extra/rediscmd/v9 v9.0.1
12+
github.com/redis/go-redis/v9 v9.0.1
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.5.0
99
github.com/bsm/gomega v1.20.0
10-
github.com/redis/go-redis/v9 v9.0.0
10+
github.com/redis/go-redis/v9 v9.0.1
1111
)

extra/rediscmd/rediscmd_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"testing"
55

66
. "github.com/bsm/ginkgo/v2"
7-
. "github.com/bsm/ginkgo/v2/extensions/table"
87
. "github.com/bsm/gomega"
98
)
109

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.0.0
11-
github.com/redis/go-redis/v9 v9.0.0
10+
github.com/redis/go-redis/extra/rediscmd/v9 v9.0.1
11+
github.com/redis/go-redis/v9 v9.0.1
1212
go.opentelemetry.io/otel v1.11.2
1313
go.opentelemetry.io/otel/metric v0.34.0
1414
go.opentelemetry.io/otel/sdk v1.9.0

extra/redisotel/redisotel_test.go

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,6 @@ func TestNewWithTracerProvider(t *testing.T) {
3434
}
3535
}
3636

37-
func TestNewWithAttributes(t *testing.T) {
38-
provider := sdktrace.NewTracerProvider()
39-
hook := newTracingHook("", WithTracerProvider(provider), WithAttributes(semconv.NetPeerNameKey.String("localhost")))
40-
ctx, span := provider.Tracer("redis-test").Start(context.TODO(), "redis-test")
41-
cmd := redis.NewCmd(ctx, "ping")
42-
defer span.End()
43-
44-
processHook := hook.ProcessHook(func(ctx context.Context, cmd redis.Cmder) error {
45-
attrs := trace.SpanFromContext(ctx).(sdktrace.ReadOnlySpan).Attributes()
46-
if !(attrs[0] == semconv.DBSystemRedis) {
47-
t.Fatalf("expected attrs[0] to be semconv.DBSystemRedis, got: %v", attrs[0])
48-
}
49-
if !(attrs[1] == semconv.NetPeerNameKey.String("localhost")) {
50-
t.Fatalf("expected attrs[1] to be semconv.NetPeerNameKey.String(\"localhost\"), got: %v", attrs[1])
51-
}
52-
if !(attrs[2] == semconv.DBStatementKey.String("ping")) {
53-
t.Fatalf("expected attrs[2] to be semconv.DBStatementKey.String(\"ping\"), got: %v", attrs[2])
54-
}
55-
return nil
56-
})
57-
err := processHook(ctx, cmd)
58-
if err != nil {
59-
t.Fatal(err)
60-
}
61-
}
62-
6337
func TestWithDBStatement(t *testing.T) {
6438
provider := sdktrace.NewTracerProvider()
6539
hook := newTracingHook(

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.0.0
9+
github.com/redis/go-redis/v9 v9.0.1
1010
)
1111

1212
require (

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redis",
3-
"version": "9.0.0",
3+
"version": "9.0.1",
44
"main": "index.js",
55
"repository": "[email protected]:redis/go-redis.git",
66
"author": "Vladimir Mihailenco <[email protected]>",

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.0.0"
5+
return "9.0.1"
66
}

0 commit comments

Comments
 (0)