Bump redis from 4.5.1 to 4.6.0
Bumps redis from 4.5.1 to 4.6.0.
Changelog
Sourced from redis's changelog.
4.6.0
Deprecate
Redis.current.Deprecate calling commands on
RedisinsideRedis#pipelined. See #1059.redis.pipelined do redis.get("key") endshould be replaced by:
redis.pipelined do |pipeline| pipeline.get("key") endDeprecate calling commands on
RedisinsideRedis#multi. See #1059.redis.multi do redis.get("key") endshould be replaced by:
redis.multi do |transaction| transaction.get("key") endDeprecate
Redis#queueandRedis#commit. See #1059.Fix
zpopmaxandzpopminwhen called inside a pipeline. See #1055.
Redis#synchronizeis 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 = truein 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 ZDIFFSTORE command. See #1046.
Add ZDIFF command. See #1044.
Add ZUNION command. See #1042.
Add HRANDFIELD command. See #1040.
Commits
-
4e76b03Release 4.6.0 -
64e2664Merge pull request #1063 from cmcinnes-mdsol/fix/clustered-scan-functions -
acda111Add specs for scan methods key extraction -
88e1c9dRemove broken scan case statement branch -
9446688Use require_relative less -
e3cf29dAddRedis.raise_deprecations=to help track down deprecated usages -
4663cb6Fix method redefinition warnings -
5e6da6eRefactor Redis#synchronize and make it private -
c30c510Merge pull request #1061 from casperisfine/multi-deprecation -
cbc3bddDeprecate calling commands on the original Redis instance in multi (block) - Additional commits viewable in compare view