redis-rb v4.6.0 Release Notes

    • ๐Ÿ—„ Deprecate Redis.current.
    • ๐Ÿ‘€ Deprecate calling commands on Redis inside Redis#pipelined. See #1059. ruby redis.pipelined do redis.get("key") end

    should be replaced by:

      redis.pipelined do |pipeline|
        pipeline.get("key")
      end
    
    • ๐Ÿ‘€ Deprecate calling commands on Redis inside Redis#multi. See #1059. ruby redis.multi do redis.get("key") end

    should be replaced by:

      redis.multi do |transaction|
        transaction.get("key")
      end
    
    • ๐Ÿ‘€ Deprecate Redis#queue and Redis#commit. See #1059.

    • ๐Ÿ›  Fix zpopmax and zpopmin when called inside a pipeline. See #1055.

    • ๐Ÿ”€ Redis#synchronize is now private like it should always have been.

    • โž• Add Redis.silence_deprecations= to turn off deprecation warnings. If you don't wish to see warnings yet, you can set Redis.silence_deprecations = true. It is however heavily recommended to fix them instead when possible.

    • โž• Add Redis.raise_deprecations= to turn deprecation warnings into errors. This makes it easier to identitify the source of deprecated APIs usage. It is recommended to set Redis.raise_deprecations = true in development and test environments.

    • โž• Add new options to ZRANGE. See #1053.

    • โž• Add ZRANGESTORE command. See #1053.

    • โž• Add SCAN support for Redis::Cluster. See #1049.

    • โž• Add COPY command. See #1053. See #1048.

    • โž• Add ZDIFFSTORE command. See #1046.

    • โž• Add ZDIFF command. See #1044.

    • โž• Add ZUNION command. See #1042.

    • โž• Add HRANDFIELD command. See #1040.