Update dependency redis to v5 #128
Closed
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.0'Release Notes
redis/redis-rb (redis)
v5.3.0Compare Source
hgetallwhen used inside amultitransaction which is itself inside a pipeline.v5.2.0Compare Source
redis-clientdoes.subscribe_with_timeout. See #1259.exceptionflag inpipelinedallowing failed commands to be returned in the result array when set tofalse.v5.1.0Compare Source
multinow accept awatchkeyword argument likeredis-client. See #1236.bitcountandbitposnow accept ascale:argument on Redis 7+. See #1242expiretimeandpexpiretime. See #1248.v5.0.8Compare Source
Redis#without_reconnectfor sentinel clients. Fix #1212.sentinel_username,sentinel_passwordfor sentinel clients. Bumpredis-clientto>=0.17.0. See #1213v5.0.7Compare Source
redis-client 0.15.0when using Redis Sentinel. Fix #1209.v5.0.6Compare Source
config.read_timeoutin blocking commands rather than an arbitrary 100ms. See #1175.v5.0.5Compare Source
v5.0.4Compare Source
ttlargument to integer inexpire,setexand a few others.v5.0.3Compare Source
OutOfMemoryErroras a subclass ofCommandErrorv5.0.2Compare Source
Redis#closeto properly reset the fork protection check.v5.0.1Compare Source
Redis::Connections.driversmethod to be compatible with older sidekiq versions.v5.0.0Compare Source
subscribe,unsubscribe,psubscribeandpunsubscribefrom a subscribed client. See #1131.MD5for hashing server nodes inRedis::Distributed. This should improve keys distribution among servers. See #1089.saddandsremto now always return an Integer.sadd?andsrem?which always return a Boolean.IDLEparamter inxpending.redis-clusteringcompanion gem.selectno longer record the current database. If the client has to reconnect afterselectwas used, it will reconnect to the original database.Redis.newwill now raise an error if provided unknown options.BLPOP, etc). Timeout now must be passed as an option:r.blpop("key", timeout: 2.5)loggeroption.reconnect_delay_maxandreconnect_delay, you can pass precise sleep durations toreconnect_attemptsinstead.queueandcommitmethods. Usepipelinedinstead.Redis::Future#==.pipelinedandmultisignature. 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(...).synchronydriver.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.