You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.1 KiB

  1. # Changelog
  2. ## Unreleased
  3. - Cluster and Ring pipelines process commands for each node in its own goroutine.
  4. ## 6.14
  5. - Added Options.MinIdleConns.
  6. - Added Options.MaxConnAge.
  7. - PoolStats.FreeConns is renamed to PoolStats.IdleConns.
  8. - Add Client.Do to simplify creating custom commands.
  9. - Add Cmd.String, Cmd.Int, Cmd.Int64, Cmd.Uint64, Cmd.Float64, and Cmd.Bool helpers.
  10. - Lower memory usage.
  11. ## v6.13
  12. - Ring got new options called `HashReplicas` and `Hash`. It is recommended to set `HashReplicas = 1000` for better keys distribution between shards.
  13. - Cluster client was optimized to use much less memory when reloading cluster state.
  14. - 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.
  15. - Dialer.KeepAlive is set to 5 minutes by default.
  16. ## v6.12
  17. - 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