chore(deps): update dependency redis to v5 #380
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
'~> 4.0'
->'~> 5.3'
Release Notes
redis/redis-rb (redis)
v5.3.0
Compare Source
hgetall
when used inside amulti
transaction which is itself inside a pipeline.v5.2.0
Compare Source
redis-client
does.subscribe_with_timeout
. See #1259.exception
flag inpipelined
allowing failed commands to be returned in the result array when set tofalse
.v5.1.0
Compare Source
multi
now accept awatch
keyword argument likeredis-client
. See #1236.bitcount
andbitpos
now accept ascale:
argument on Redis 7+. See #1242expiretime
andpexpiretime
. See #1248.v5.0.8
Compare Source
Redis#without_reconnect
for sentinel clients. Fix #1212.sentinel_username
,sentinel_password
for sentinel clients. Bumpredis-client
to>=0.17.0
. See #1213v5.0.7
Compare Source
redis-client 0.15.0
when using Redis Sentinel. Fix #1209.v5.0.6
Compare Source
config.read_timeout
in blocking commands rather than an arbitrary 100ms. See #1175.v5.0.5
Compare Source
v5.0.4
Compare Source
ttl
argument to integer inexpire
,setex
and a few others.v5.0.3
Compare Source
OutOfMemoryError
as a subclass ofCommandError
v5.0.2
Compare Source
Redis#close
to properly reset the fork protection check.v5.0.1
Compare Source
Redis::Connections.drivers
method to be compatible with older sidekiq versions.v5.0.0
Compare Source
subscribe
,unsubscribe
,psubscribe
andpunsubscribe
from a subscribed client. See #1131.MD5
for hashing server nodes inRedis::Distributed
. This should improve keys distribution among servers. See #1089.sadd
andsrem
to now always return an Integer.sadd?
andsrem?
which always return a Boolean.IDLE
paramter inxpending
.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.Redis.new
will now raise an error if provided unknown options.BLPOP
, etc). Timeout now must be passed as an option:r.blpop("key", timeout: 2.5)
logger
option.reconnect_delay_max
andreconnect_delay
, you can pass precise sleep durations toreconnect_attempts
instead.queue
andcommit
methods. Usepipelined
instead.Redis::Future#==
.pipelined
andmulti
signature. Commands now MUST be called on the block argument, not the original redis instance.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(...)
.synchrony
driver.Redis.exists_returns_integer
, it's now always enabled.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.