Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency redis to v5 #380

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 14, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
redis (changelog) '~> 4.8', '>= 4.8.1' -> '~> 5.3' age adoption passing confidence

Release Notes

redis/redis-rb (redis)

v5.3.0

Compare Source

  • Fix the return type of hgetall when used inside a multi transaction which is itself inside a pipeline.

v5.2.0

Compare Source

  • Now require Ruby 2.6 because redis-client does.
  • Eagerly close subscribed connection when using subscribe_with_timeout. See #​1259.
  • Add exception flag in pipelined allowing failed commands to be returned in the result array when set to false.

v5.1.0

Compare Source

  • multi now accept a watch keyword argument like redis-client. See #​1236.
  • bitcount and bitpos now accept a scale: argument on Redis 7+. See #​1242
  • Added expiretime and pexpiretime. See #​1248.

v5.0.8

Compare Source

  • Fix Redis#without_reconnect for sentinel clients. Fix #​1212.
  • Add sentinel_username, sentinel_password for sentinel clients. Bump redis-client to >=0.17.0. See #​1213

v5.0.7

Compare Source

  • Fix compatibility with redis-client 0.15.0 when using Redis Sentinel. Fix #​1209.

v5.0.6

Compare Source

  • Wait for an extra config.read_timeout in blocking commands rather than an arbitrary 100ms. See #​1175.
  • Treat ReadOnlyError as ConnectionError. See #​1168.

v5.0.5

Compare Source

  • Fix automatic disconnection when the process was forked. See #​1157.

v5.0.4

Compare Source

  • Cast ttl argument to integer in expire, setex and a few others.

v5.0.3

Compare Source

  • Add OutOfMemoryError as a subclass of CommandError

v5.0.2

Compare Source

  • Fix Redis#close to properly reset the fork protection check.

v5.0.1

Compare Source

  • Added a fake Redis::Connections.drivers method to be compatible with older sidekiq versions.

v5.0.0

Compare Source

  • Default client timeout decreased from 5 seconds to 1 second.
  • Eagerly and strictly cast Integer and Float parameters.
  • Allow to call subscribe, unsubscribe, psubscribe and punsubscribe from a subscribed client. See #​1131.
  • Use MD5 for hashing server nodes in Redis::Distributed. This should improve keys distribution among servers. See #​1089.
  • Changed sadd and srem to now always return an Integer.
  • Added sadd? and srem? which always return a Boolean.
  • Added support for IDLE paramter in xpending.
  • Cluster support has been moved to a redis-clustering companion gem.
  • select no longer record the current database. If the client has to reconnect after select was used, it will reconnect to the original database.
  • Better support Float timeout in blocking commands. See #​977.
  • Redis.new will now raise an error if provided unknown options.
  • 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 and reconnect_delay, you can pass precise sleep durations to reconnect_attempts instead.
  • Require Ruby 2.5+.
  • Removed the deprecated queue and commit methods. Use pipelined instead.
  • Removed the deprecated Redis::Future#==.
  • Removed the deprecated pipelined and multi 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.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sorry, something went wrong.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 14, 2023
@renovate renovate bot force-pushed the renovate/redis-5.x branch from b33024a to c0fdb35 Compare August 9, 2023 12:25
@renovate renovate bot force-pushed the renovate/redis-5.x branch from c0fdb35 to 0e97fbb Compare October 23, 2023 07:43
@renovate renovate bot force-pushed the renovate/redis-5.x branch from 0e97fbb to 4c40a8e Compare February 9, 2024 10:18
@renovate renovate bot force-pushed the renovate/redis-5.x branch from 4c40a8e to 5df8aa4 Compare April 15, 2024 19:26
@renovate renovate bot force-pushed the renovate/redis-5.x branch from 5df8aa4 to e937f77 Compare August 21, 2024 09:28
@renovate renovate bot force-pushed the renovate/redis-5.x branch 2 times, most recently from b0087c3 to 23b6bab Compare October 25, 2024 14:14
@renovate renovate bot force-pushed the renovate/redis-5.x branch from 23b6bab to 4469674 Compare November 3, 2024 10:49
Copy link

codecov bot commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.92%. Comparing base (ea5ca59) to head (692bc83).
Report is 14 commits behind head on staging.

Additional details and impacted files
@@           Coverage Diff            @@
##           staging     #380   +/-   ##
========================================
  Coverage    99.92%   99.92%           
========================================
  Files          203      203           
  Lines         2726     2772   +46     
========================================
+ Hits          2724     2770   +46     
  Misses           2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/redis-5.x branch from 4469674 to b9ac17d Compare November 22, 2024 01:08
@lodewiges lodewiges added the status:waiting for other project This PR waits for an issue or PR in another project to be ready first label Nov 22, 2024
@lodewiges
Copy link
Contributor

requires #445

@lodewiges lodewiges added status:waiting for depencies and removed status:waiting for other project This PR waits for an issue or PR in another project to be ready first labels Nov 22, 2024
Copy link
Contributor Author

renovate bot commented Feb 14, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@lodewiges lodewiges added this pull request to the merge queue Feb 14, 2025
Merged via the queue into staging with commit bfcc364 Feb 14, 2025
5 checks passed
@lodewiges lodewiges deleted the renovate/redis-5.x branch February 14, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file status:ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant