mirror of https://github.com/go-redis/redis.git
Update changelog
This commit is contained in:
parent
20fca37891
commit
b273d2bf57
|
@ -7,11 +7,12 @@
|
||||||
- All commands require `context.Context` as a first argument, e.g. `rdb.Ping(ctx)`. If you are not
|
- All commands require `context.Context` as a first argument, e.g. `rdb.Ping(ctx)`. If you are not
|
||||||
using `context.Context` yet, the simplest option is to define global package variable
|
using `context.Context` yet, the simplest option is to define global package variable
|
||||||
`var ctx = context.TODO()` and use it when `ctx` is required.
|
`var ctx = context.TODO()` and use it when `ctx` is required.
|
||||||
- `Cluster.ForEachNode` is renamed to `ForEachShard` for consistency with `Ring`.
|
|
||||||
|
|
||||||
- Added `redisext.OpenTemetryHook` that adds
|
- Added `redisext.OpenTemetryHook` that adds
|
||||||
[Redis OpenTelemetry instrumentation](https://redis.uptrace.dev/tracing/).
|
[Redis OpenTelemetry instrumentation](https://redis.uptrace.dev/tracing/).
|
||||||
|
|
||||||
|
- Redis slow log support.
|
||||||
|
|
||||||
- Ring uses Rendezvous Hashing by default which provides better distribution. You need to move
|
- Ring uses Rendezvous Hashing by default which provides better distribution. You need to move
|
||||||
existing keys to a new location or keys will be inaccessible / lost. To use old hashing scheme:
|
existing keys to a new location or keys will be inaccessible / lost. To use old hashing scheme:
|
||||||
|
|
||||||
|
@ -25,6 +26,8 @@ ring := redis.NewRing(&redis.RingOptions{
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- `Cluster.ForEachNode` is renamed to `ForEachShard` for consistency with `Ring`.
|
||||||
|
|
||||||
## v7.3
|
## v7.3
|
||||||
|
|
||||||
- New option `Options.Username` which causes client to use `AuthACL`. Be aware if your connection
|
- New option `Options.Username` which causes client to use `AuthACL`. Be aware if your connection
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC.
|
- Redis 3 commands except QUIT, MONITOR, and SYNC.
|
||||||
- Automatic connection pooling with
|
- Automatic connection pooling with
|
||||||
[circuit breaker](https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern) support.
|
[circuit breaker](https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern) support.
|
||||||
- [Pub/Sub](https://pkg.go.dev/github.com/go-redis/redis/v8?tab=doc#PubSub).
|
- [Pub/Sub](https://pkg.go.dev/github.com/go-redis/redis/v8?tab=doc#PubSub).
|
||||||
|
|
Loading…
Reference in New Issue