redis v9.0.0-beta.1 Release Notes

Release Date: 2022-06-04 // almost 2 years ago
  • ๐Ÿ› 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 with redis.Z since it is small enough to be passed as value.
    • ๐Ÿ“‡ Renamed MaxConnAge to ConnMaxLifetime.
    • ๐Ÿ“‡ Renamed IdleTimeout to ConnMaxIdleTime.
    • โœ‚ Removed connection reaper in favor of MaxIdleConns.
    • โœ‚ Removed WithContext.