File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 7
7
- All commands require ` context.Context ` as a first argument, e.g. ` rdb.Ping(ctx) ` . If you are not
8
8
using ` context.Context ` yet, the simplest option is to define global package variable
9
9
` var ctx = context.TODO() ` and use it when ` ctx ` is required.
10
- - ` Cluster.ForEachNode ` is renamed to ` ForEachShard ` for consistency with ` Ring ` .
11
10
12
11
- Added ` redisext.OpenTemetryHook ` that adds
13
12
[ Redis OpenTelemetry instrumentation] ( https://redis.uptrace.dev/tracing/ ) .
14
13
14
+ - Redis slow log support.
15
+
15
16
- Ring uses Rendezvous Hashing by default which provides better distribution. You need to move
16
17
existing keys to a new location or keys will be inaccessible / lost. To use old hashing scheme:
17
18
@@ -25,6 +26,8 @@ ring := redis.NewRing(&redis.RingOptions{
25
26
})
26
27
```
27
28
29
+ - ` Cluster.ForEachNode ` is renamed to ` ForEachShard ` for consistency with ` Ring ` .
30
+
28
31
## v7.3
29
32
30
33
- New option ` Options.Username ` which causes client to use ` AuthACL ` . Be aware if your connection
Original file line number Diff line number Diff line change 20
20
21
21
## Features
22
22
23
- - Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC.
23
+ - Redis 3 commands except QUIT, MONITOR, and SYNC.
24
24
- Automatic connection pooling with
25
25
[ circuit breaker] ( https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern ) support.
26
26
- [ Pub/Sub] ( https://pkg.go.dev/github.com/go-redis/redis/v8?tab=doc#PubSub ) .
You can’t perform that action at this time.
0 commit comments