redis/CHANGELOG.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

2018-07-22 14:23:04 +03:00
# Changelog
2018-09-11 13:09:16 +03:00
## Unreleased
- Cluster and Ring pipelines process commands for each node in its own goroutine.
2018-08-23 16:15:29 +03:00
## 6.14
2018-08-12 10:08:21 +03:00
2018-08-12 10:42:00 +03:00
- Added Options.MinIdleConns.
- Added Options.MaxConnAge.
2018-08-12 10:08:21 +03:00
- PoolStats.FreeConns is renamed to PoolStats.IdleConns.
2018-08-12 11:11:01 +03:00
- Add Client.Do to simplify creating custom commands.
2018-08-23 16:15:29 +03:00
- Add Cmd.String, Cmd.Int, Cmd.Int64, Cmd.Uint64, Cmd.Float64, and Cmd.Bool helpers.
- Lower memory usage.
2018-08-12 10:08:21 +03:00
2018-07-22 14:23:04 +03:00
## v6.13
- Ring got new options called `HashReplicas` and `Hash`. It is recommended to set `HashReplicas = 1000` for better keys distribution between shards.
- Cluster client was optimized to use much less memory when reloading cluster state.
2018-07-24 09:41:14 +03:00
- PubSub.ReceiveMessage is re-worked to not use ReceiveTimeout so it does not lose data when timeout occurres. In most cases it is recommended to use PubSub.Channel instead.
2018-07-24 09:57:02 +03:00
- Dialer.KeepAlive is set to 5 minutes by default.
2018-07-22 14:23:04 +03:00
## v6.12
- ClusterClient got new option called `ClusterSlots` which allows to build cluster of normal Redis Servers that don't have cluster mode enabled. See https://godoc.org/github.com/go-redis/redis#example-NewClusterClient--ManualSetup