diff --git a/CHANGELOG.md b/CHANGELOG.md index 30fd5864..c56f5816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,12 @@ - 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 `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 [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 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 - New option `Options.Username` which causes client to use `AuthACL`. Be aware if your connection diff --git a/README.md b/README.md index a9043449..20983a60 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ ## Features -- Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC. +- Redis 3 commands except QUIT, MONITOR, and SYNC. - Automatic connection pooling with [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).