forked from mirror/redis
4.8 KiB
4.8 KiB
9.0.0-beta.2 (2022-07-28)
Bug Fixes
- #2114 for redis-server not support Hello (b6d2a92)
- additional node failures in clustered pipelined reads (03376a5)
- disregard failed pings in updateLatency() for cluster nodes (64f972f)
- don't panic when test cannot start (9e16c79)
- handle panic in ringShards Hash function when Ring got closed (a80b84f), closes #2126
- ignore Nil error when reading EntriesRead (89d6dfe)
- log errors from cmdsInfoCache (fa4d1ea)
- provide a signal channel to end heartbeat goroutine (f032c12)
- remove conn reaper from the pool and uptrace option names (f6a8adc)
- replace heartbeat signal channel with context.WithCancel (20d0ca2)
9.0.0-beta.1 (2022-06-04)
Bug Fixes
- #1943: xInfoConsumer.Idle should be time.Duration instead of int64 (#2052) (997ab5e), closes #1943
- add XInfoConsumers test (6f1a1ac)
- fix tests (3a722be)
- remove test(XInfoConsumer.idle), not a stable return value when tested. (f5fbb36)
- update ChannelWithSubscriptions to accept options (c98c5f0)
- update COMMAND parser for Redis 7 (b0bb514)
- use redis over ssh channel(#2057) (#2060) (3961b95)
Features
- add ClientUnpause (91171f5)
- add NewXPendingResult for unit testing XPending (#2066) (b7fd09e)
- add WriteArg and Scan net.IP(#2062) (7d5167e)
- pool: add check for badConnection (a8a7665), closes #2053
- provide a username and password callback method, so that the plaintext username and password will not be stored in the memory, and the username and password will only be generated once when the CredentialsProvider is called. After the method is executed, the username and password strings on the stack will be released. (#2097) (56a3dbc)
- upgrade to Redis 7 (d09c27e)
v9 UNRELEASED
- Added support for RESP3 protocol.
- Removed
Pipeline.Close
since there is no real need to explicitly manage pipeline resources.Pipeline.Discard
is still available if you want to reset commands for some reason. - Replaced
*redis.Z
withredis.Z
since it is small enough to be passed as value. - Renamed
MaxConnAge
toConnMaxLifetime
. - Renamed
IdleTimeout
toConnMaxIdleTime
. - Removed connection reaper in favor of
MaxIdleConns
. - Removed
WithContext
.