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
Redis
insideRedis#pipelined
. See #1059.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.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 ZDIFFSTORE command. See #1046.
Add ZDIFF command. See #1044.
Add ZUNION command. See #1042.
Add HRANDFIELD command. See #1040.
Commits
-
4e76b03
Release 4.6.0 -
64e2664
Merge pull request #1063 from cmcinnes-mdsol/fix/clustered-scan-functions -
acda111
Add specs for scan methods key extraction -
88e1c9d
Remove broken scan case statement branch -
9446688
Use require_relative less -
e3cf29d
AddRedis.raise_deprecations=
to help track down deprecated usages -
4663cb6
Fix method redefinition warnings -
5e6da6e
Refactor Redis#synchronize and make it private -
c30c510
Merge pull request #1061 from casperisfine/multi-deprecation -
cbc3bdd
Deprecate calling commands on the original Redis instance in multi (block) - Additional commits viewable in compare view