From b273d2bf57bcb85931337f80bbbfb8a6b64d0246 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 9 Sep 2020 14:46:01 +0300 Subject: [PATCH] Update changelog --- CHANGELOG.md | 5 ++++- README.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30fd586..c56f581 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 a904344..20983a6 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).