trebekbot
trebekbot copied to clipboard
Bump redis from 4.8.0 to 5.0.5
Bumps redis from 4.8.0 to 5.0.5.
Changelog
Sourced from redis's changelog.
5.0.5
- Fix automatic disconnection when the process was forked. See #1157.
5.0.4
- Cast
ttl
argument to integer inexpire
,setex
and a few others.5.0.3
- Add
OutOfMemoryError
as a subclass ofCommandError
5.0.2
- Fix
Redis#close
to properly reset the fork protection check.5.0.1
- Added a fake
Redis::Connections.drivers
method to be compatible with older sidekiq versions.5.0.0
- Eagerly and strictly cast Integer and Float parameters.
- Allow to call
subscribe
,unsubscribe
,psubscribe
andpunsubscribe
from a subscribed client. See #1131.- Use
MD5
for hashing server nodes inRedis::Distributed
. This should improve keys distribution among servers. See #1089.- Changed
sadd
andsrem
to now always return an Integer.- Added
sadd?
andsrem?
which always return a Boolean.- Added support for
IDLE
paramter inxpending
.- Cluster support has been moved to a
redis-clustering
companion gem.select
no longer record the current database. If the client has to reconnect afterselect
was used, it will reconnect to the original database.- Better support Float timeout in blocking commands. See #977.
- Removed positional timeout in blocking commands (
BLPOP
, etc). Timeout now must be passed as an option:r.blpop("key", timeout: 2.5)
- Removed
logger
option.- Removed
reconnect_delay_max
andreconnect_delay
, you can pass precise sleep durations toreconnect_attempts
instead.- Require Ruby 2.5+.
- Removed the deprecated
queue
andcommit
methods. Usepipelined
instead.- Removed the deprecated
Redis::Future#==
.- Removed the deprecated
pipelined
andmulti
signature. Commands now MUST be called on the block argument, not the original redis instance.- Removed
Redis.current
. You shouldn't assume there is a single global Redis connection, use a connection pool instead, and libaries using Redis should accept a Redis instance (or connection pool) as a config. E.g.MyLibrary.redis = Redis.new(...)
.- Removed the
synchrony
driver.- Removed
Redis.exists_returns_integer
, it's now always enabled.
Commits
f3d886f
Release 5.0.5bdd51c9
Bump redis-cluster-client9429205
Merge pull request #1158 from casperisfine/fork-handling389d8b6
Fix automatic disconnection when the process was forkedfdf61e5
Merge pull request #1156 from roharon/hash_flatten_performance525e5c4
Modify: improve performance of hash flatten without to_a method912c008
Merge pull request #1155 from dentarg/patch-1371d8c1
Fix Ruby syntax in example in README07cccee
Merge pull request #1153 from supercaracal/fix-cluster-testd6cf651
Shrink cluster test cases guaranteed by redis-cluster-client and focus on beh...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)