redis-rb v4.6.0 Release Notes
-
- ๐ Deprecate
Redis.current
. - ๐ Deprecate calling commands on
Redis
insideRedis#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
insideRedis#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
andRedis#commit
. See #1059.๐ Fix
zpopmax
andzpopmin
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 setRedis.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 setRedis.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.
- ๐ Deprecate