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

Bump redis, sidekiq and sidekiq-unique-jobs #2229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 6, 2023

Bumps redis, sidekiq and sidekiq-unique-jobs. These dependencies needed to be updated together.
Updates redis from 4.8.1 to 5.0.6

Changelog

Sourced from redis's changelog.

5.0.6

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

5.0.5

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

5.0.4

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

5.0.3

  • Add OutOfMemoryError as a subclass of CommandError

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

  • 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.
Commits
  • 6dbbc94 Release 5.0.6
  • 9c49947 Merge pull request #1175 from casperisfine/blocking-call-timeout
  • d3efeeb Add wait on blocking commands for an extra config.read_timeout
  • f78beb1 Merge pull request #1176 from casperisfine/ruby-3.2
  • daf7e02 Use Ruby 2.6 to run rubocop
  • 031911a Add Ruby 3.2 to CI
  • 5a9fb00 Merge pull request #1170 from wcmonty/wm/add_minid_option_to_xtrim
  • e76e1cb Add MINID and LIMIT options to xtrim
  • 3c42db6 Treat ReadOnlyError as a ConnectionError
  • a8e00cb Merge pull request #1167 from wmontgomery-splunk/wm/add_nomkstream_to_xadd
  • Additional commits viewable in compare view

Updates sidekiq from 6.5.8 to 7.0.6

Changelog

Sourced from sidekiq's changelog.

7.0.5,7.0.6

  • More context for debugging json unsafe errors #5787

7.0.4

7.0.3

  • Don't warn about memory policy on Redis Enterprise #5712
  • Don't allow Quiet/Stop on embedded Sidekiq instances #5716
  • Fix size: X for configuring the default Redis pool size #5702
  • Improve the display of queue weights on Busy page #5642
  • Freeze CurrentAttributes on a job once initially set #5692

7.0.2

  • Improve compatibility with custom loggers #5673
  • Add queue weights on Busy page #5640
  • Add BID link on job_info page if job is part of a Batch #5623
  • Allow custom extensions to add rows/links within Job detail pages #5624
Sidekiq::Web.custom_job_info_rows << AddAccountLink.new
class AddAccountLink
include CGI::Util
def add_pair(job)
# yield a (name, value) pair
# You can include HTML tags and CSS, Sidekiq does not do any
# escaping so beware user data injection! Note how we use CGI's
# h escape helper.
aid = job["account_id"]
yield "Account", "<a href='/accounts/#{h aid}'>#{h aid}</a>" if aid
end
end

7.0.1

  • Allow an embedding process to reuse its own heartbeat thread
  • Update zh-cn localization

... (truncated)

Commits
  • b292bc0 prep for release
  • 1813cbd 5793
  • 404827a Handle correctly subclasses when finding json unsafe item
  • 0b753ff changes
  • 0592931 changes
  • cbfa0f6 Fix detecting json unsafe item within job arguments
  • a552633 Improve error message when checking arguments for json safety
  • 4c101d2 release
  • a703890 move perf lower
  • 6bd03aa Change all repo links from mperham/sidekiq to sidekiq/sidekiq
  • Additional commits viewable in compare view

Updates sidekiq-unique-jobs from 7.1.29 to 8.0.1

Release notes

Sourced from sidekiq-unique-jobs's releases.

v8.0.1

What's Changed

New Contributors

Full Changelog: mhenrixon/sidekiq-unique-jobs@v8.0.0...v8.0.1

v8.0.0

What's Changed

New Contributors

Full Changelog: mhenrixon/sidekiq-unique-jobs@v7.1.29...v8.0.0

Changelog

Sourced from sidekiq-unique-jobs's changelog.

v8.0.1 (2023-02-14)

Full Changelog

Closed issues:

  • TypeError: Unsupported command argument type: ActiveSupport::Duration #754
  • Incompatibility with Sidekiq 7 #736

Merged pull requests:

  • Fix active worker detection by using correct keys #756 (dodo121)
  • Fix minor typo in drift_reaper_interval comment #755 (lazyatom)

v8.0.0 (2023-01-30)

Full Changelog

Implemented enhancements:

Closed issues:

  • Support for redis 5 #752
  • while_executing jobs being dropped #749

Merged pull requests:

  • fix: backport the fix for the return value of #deep_transform_keys #750 (fixtheclouds)
Commits
  • 815ca6e Bump sidekiq-unique-jobs to 8.0.1
  • d3ead14 fix(release): use bundle exec
  • 2690d41 chore(lint): lint'em real good
  • 75314c3 Fix active worker detection by using correct keys (#756)
  • 19da14b Fix minor typo in drift_reaper_interval comment (#755)
  • c150189 Update changelog
  • b7b08d8 fix: backport the fix for the return value of #deep_transform_keys (#750)
  • 8c6da81 chore(deps): upgrade rails app (#753)
  • 67732db feat: sidekiq v7 support (#751)
  • b2a883a Bump sidekiq-unique-jobs to 7.1.30
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 6, 2023
@dependabot dependabot bot force-pushed the dependabot/bundler/redis-and-sidekiq-and-sidekiq-unique-jobs-5.0.6 branch from 1c8877f to fd3288e Compare March 7, 2023 19:10
Bumps [redis](https://github.com/redis/redis-rb), [sidekiq](https://github.com/sidekiq/sidekiq) and [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs). These dependencies needed to be updated together.

Updates `redis` from 4.8.1 to 5.0.6
- [Release notes](https://github.com/redis/redis-rb/releases)
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](redis/redis-rb@v4.8.1...v5.0.6)

Updates `sidekiq` from 6.5.8 to 7.0.6
- [Release notes](https://github.com/sidekiq/sidekiq/releases)
- [Changelog](https://github.com/sidekiq/sidekiq/blob/main/Changes.md)
- [Commits](sidekiq/sidekiq@v6.5.8...v7.0.6)

Updates `sidekiq-unique-jobs` from 7.1.29 to 8.0.1
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/main/CHANGELOG.md)
- [Commits](mhenrixon/sidekiq-unique-jobs@v7.1.29...v8.0.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: sidekiq
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: sidekiq-unique-jobs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/redis-and-sidekiq-and-sidekiq-unique-jobs-5.0.6 branch from fd3288e to 74b04c9 Compare March 8, 2023 19:09
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants