redis v9.0.0-beta.1 Release Notes

Release Date: 2022-06-04 // 2 months 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.

Previous changes from v8.11.5

  • ๐Ÿ› Bug Fixes

    • โž• add missing Expire methods to Cmdable (17e3b43)
    • โž• add whitespace for avoid unlikely colisions (7f7c181)
    • example/otel compile error (#2028) (187c07c)
    • extra/redisotel: set span.kind attribute to client (065b200)
    • format (96f53a0)
    • invalid type assert in stringArg (de6c131)
    • ๐Ÿ“‡ rename Golang to Go (#2030) (b82a2d9)
    • ๐Ÿ›  set timeout for WAIT command. Fixes #1963 (333fee1)
    • โšก๏ธ update some argument counts in pre-allocs (f6974eb)

    ๐Ÿ”‹ Features

    • โž• Add redis v7's NX, XX, GT, LT expire variants (e19bbb2)
    • โž• add support for acl sentinel auth in universal client (ab0ccc4)
    • โž• add support for COPY command (#2016) (730afbc)
    • โž• add support for passing extra attributes added to spans (39faaa1)
    • โž• add support for time.Duration write and scan (2f1b74e)
    • redisotel: ability to override TracerProvider (#1998) (bf8d4aa)
    • set and net.peer.port in otel example (69bf454)