redis-rb v4.2.0 Release Notes

    • โœ๏ธ Convert commands to accept keyword arguments rather than option hashes. This both help catching typos, and reduce needless allocations.
    • ๐Ÿ‘€ Deprecate the synchrony driver. It will be removed in 5.0 and hopefully maintained as a separate gem. See #915.
    • ๐Ÿ‘‰ Make Redis#exists variadic, will return an Integer if called with multiple keys.
    • โž• Add Redis#exists? to get a Boolean if any of the keys exists.
    • Redis#exists when called with a single key will warn that future versions will return an Integer. Set Redis.exists_returns_integer = true to opt-in to the new behavior.
    • ๐Ÿ‘Œ Support keepttl ooption in set. See #913.
    • โšก๏ธ Optimized initialization of Redis::Cluster. See #912.
    • ๐Ÿ‘€ Accept sentinel options even with string key. See #599.
    • ๐Ÿ‘Œ Verify TLS connections by default. See #900.
    • ๐Ÿ‘€ Make Redis#hset variadic. It now returns an integer, not a boolean. See #910.