From 4714550efe22ef006be406b92c720dc52b8e8c35 Mon Sep 17 00:00:00 2001 From: Rueian Date: Mon, 16 Sep 2024 08:43:41 -0700 Subject: [PATCH] feat: bump v1.0.46 Signed-off-by: Rueian --- mock/go.mod | 2 +- om/go.mod | 2 +- pipe.go | 2 +- valkey_e2e_test.go | 2 +- valkeycompat/go.mod | 4 ++-- valkeyhook/go.mod | 4 ++-- valkeyotel/go.mod | 2 +- valkeyprob/go.mod | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mock/go.mod b/mock/go.mod index d487925..638d5ec 100644 --- a/mock/go.mod +++ b/mock/go.mod @@ -5,7 +5,7 @@ go 1.21 replace github.com/valkey-io/valkey-go => ../ require ( - github.com/valkey-io/valkey-go v1.0.45 + github.com/valkey-io/valkey-go v1.0.46 go.uber.org/mock v0.4.0 ) diff --git a/om/go.mod b/om/go.mod index de8a09d..14cba80 100644 --- a/om/go.mod +++ b/om/go.mod @@ -6,7 +6,7 @@ replace github.com/valkey-io/valkey-go => ../ require ( github.com/oklog/ulid/v2 v2.1.0 - github.com/valkey-io/valkey-go v1.0.45 + github.com/valkey-io/valkey-go v1.0.46 ) require golang.org/x/sys v0.24.0 // indirect diff --git a/pipe.go b/pipe.go index 94949c9..a01eee7 100644 --- a/pipe.go +++ b/pipe.go @@ -20,7 +20,7 @@ import ( ) const LibName = "valkey" -const LibVer = "1.0.45" +const LibVer = "1.0.46" var noHello = regexp.MustCompile("unknown command .?(HELLO|hello).?") diff --git a/valkey_e2e_test.go b/valkey_e2e_test.go index 8d6c8c5..9c6f391 100644 --- a/valkey_e2e_test.go +++ b/valkey_e2e_test.go @@ -655,7 +655,7 @@ func testPubSub(t *testing.T, client Client) { for _, resp := range c.DoMulti(context.Background(), client.B().Unsubscribe().Channel("ch1").Build(), client.B().Punsubscribe().Pattern("pat*").Build()) { - if err := resp.Error(); err != nil { + if err := resp.NonValkeyError(); err != nil { // valkey can return -NOSUB error here. We should ignore it. t.Fatal(err) } } diff --git a/valkeycompat/go.mod b/valkeycompat/go.mod index fcbedd9..a75efb5 100644 --- a/valkeycompat/go.mod +++ b/valkeycompat/go.mod @@ -9,8 +9,8 @@ replace github.com/valkey-io/valkey-go/mock => ../mock require ( github.com/onsi/ginkgo/v2 v2.20.1 github.com/onsi/gomega v1.34.1 - github.com/valkey-io/valkey-go v1.0.45 - github.com/valkey-io/valkey-go/mock v1.0.45 + github.com/valkey-io/valkey-go v1.0.46 + github.com/valkey-io/valkey-go/mock v1.0.46 go.uber.org/mock v0.4.0 ) diff --git a/valkeyhook/go.mod b/valkeyhook/go.mod index e53ede2..051e207 100644 --- a/valkeyhook/go.mod +++ b/valkeyhook/go.mod @@ -8,8 +8,8 @@ replace ( ) require ( - github.com/valkey-io/valkey-go v1.0.45 - github.com/valkey-io/valkey-go/mock v1.0.45 + github.com/valkey-io/valkey-go v1.0.46 + github.com/valkey-io/valkey-go/mock v1.0.46 go.uber.org/mock v0.4.0 ) diff --git a/valkeyotel/go.mod b/valkeyotel/go.mod index 9699201..6075601 100644 --- a/valkeyotel/go.mod +++ b/valkeyotel/go.mod @@ -5,7 +5,7 @@ go 1.21 replace github.com/valkey-io/valkey-go => ../ require ( - github.com/valkey-io/valkey-go v1.0.45 + github.com/valkey-io/valkey-go v1.0.46 go.opentelemetry.io/otel v1.28.0 go.opentelemetry.io/otel/metric v1.28.0 go.opentelemetry.io/otel/sdk v1.28.0 diff --git a/valkeyprob/go.mod b/valkeyprob/go.mod index c15274b..ea61a15 100644 --- a/valkeyprob/go.mod +++ b/valkeyprob/go.mod @@ -6,7 +6,7 @@ replace github.com/valkey-io/valkey-go => ../ require ( github.com/twmb/murmur3 v1.1.8 - github.com/valkey-io/valkey-go v1.0.45 + github.com/valkey-io/valkey-go v1.0.46 ) require golang.org/x/sys v0.24.0 // indirect