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 sidekiq and redis #317

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 28, 2022

Bumps sidekiq and redis. These dependencies needed to be updated together.
Updates sidekiq from 5.2.9 to 6.4.1

Changelog

Sourced from sidekiq's changelog.

6.4.1

  • Fix pipeline/multi deprecations in redis-rb 4.6
  • Fix sidekiq.yml YAML load errors on Ruby 3.1 #5141
  • Sharding support for perform_bulk #5129
  • Refactor job logger for SPEEEEEEED

6.4.0

  • SECURITY: Validate input to avoid possible DoS in Web UI.
  • Add strict argument checking #5071 Sidekiq will now log a warning if JSON-unsafe arguments are passed to perform_async. Add Sidekiq.strict_args!(false) to your initializer to disable this warning. This warning will switch to an exception in Sidekiq 7.0.
  • Note that Delayed Extensions will be removed in Sidekiq 7.0 #5076
  • Add perform_{inline,sync} in Sidekiq::Job to run a job synchronously [#5061, hasan-ally]
SomeJob.perform_async(args...)
SomeJob.perform_sync(args...)
SomeJob.perform_inline(args...)

You can also dynamically redirect a job to run synchronously:

SomeJob.set("sync": true).perform_async(args...) # will run via perform_inline
  • Replace Sidekiq::Worker app/workers generator with Sidekiq::Job app/sidekiq generator #5055
bin/rails generate sidekiq:job ProcessOrderJob
  • Fix job retries losing CurrentAttributes #5090
  • Tweak shutdown to give long-running threads time to cleanup #5095

6.3.1

  • Fix keyword arguments error with CurrentAttributes on Ruby 3.0 #5048

6.3.0

  • BREAK: The Web UI has been refactored to remove jQuery. Any UI extensions which use jQuery will break.
  • FEATURE: Sidekiq.logger has been enhanced so any Rails.logger output in jobs now shows up in the Sidekiq console. Remove any logger hacks in your initializer and see if it Just Works™ now. #5021
  • FEATURE: Add Sidekiq::Job alias for Sidekiq::Worker, to better reflect industry standard terminology. You can now do this:
</tr></table> 

... (truncated)

Commits

Updates redis from 3.3.5 to 4.6.0

Changelog

Sourced from redis's changelog.

4.6.0

  • Deprecate Redis.current.

  • Deprecate calling commands on Redis inside Redis#pipelined. See #1059.

    redis.pipelined do
      redis.get("key")
    end

    should be replaced by:

    redis.pipelined do |pipeline|
      pipeline.get("key")
    end
  • Deprecate calling commands on Redis inside Redis#multi. See #1059.

    redis.multi do
      redis.get("key")
    end

    should be replaced by:

    redis.multi do |transaction|
      transaction.get("key")
    end
  • Deprecate Redis#queue and Redis#commit. See #1059.

  • Fix zpopmax and zpopmin when called inside a pipeline. See #1055.

  • Redis#synchronize is now private like it should always have been.

  • Add Redis.silence_deprecations= to turn off deprecation warnings. If you don't wish to see warnings yet, you can set Redis.silence_deprecations = true. It is however heavily recommended to fix them instead when possible.

  • Add Redis.raise_deprecations= to turn deprecation warnings into errors. This makes it easier to identitify the source of deprecated APIs usage. It is recommended to set Redis.raise_deprecations = true in development and test environments.

  • Add new options to ZRANGE. See #1053.

  • Add ZRANGESTORE command. See #1053.

  • Add SCAN support for Redis::Cluster. See #1049.

  • Add COPY command. See #1053. See #1048.

  • Add ZDIFFSTORE command. See #1046.

  • Add ZDIFF command. See #1044.

  • Add ZUNION command. See #1042.

  • Add HRANDFIELD command. See #1040.

... (truncated)

Commits
  • 4e76b03 Release 4.6.0
  • 64e2664 Merge pull request #1063 from cmcinnes-mdsol/fix/clustered-scan-functions
  • acda111 Add specs for scan methods key extraction
  • 88e1c9d Remove broken scan case statement branch
  • 9446688 Use require_relative less
  • e3cf29d Add Redis.raise_deprecations= to help track down deprecated usages
  • 4663cb6 Fix method redefinition warnings
  • 5e6da6e Refactor Redis#synchronize and make it private
  • c30c510 Merge pull request #1061 from casperisfine/multi-deprecation
  • cbc3bdd Deprecate calling commands on the original Redis instance in multi (block)
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [sidekiq](https://github.com/mperham/sidekiq) and [redis](https://github.com/redis/redis-rb). These dependencies needed to be updated together.

Updates `sidekiq` from 5.2.9 to 6.4.1
- [Release notes](https://github.com/mperham/sidekiq/releases)
- [Changelog](https://github.com/mperham/sidekiq/blob/main/Changes.md)
- [Commits](sidekiq/sidekiq@v5.2.9...v6.4.1)

Updates `redis` from 3.3.5 to 4.6.0
- [Release notes](https://github.com/redis/redis-rb/releases)
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](redis/redis-rb@v3.3.5...v4.6.0)

---
updated-dependencies:
- dependency-name: sidekiq
  dependency-type: direct:production
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 28, 2022
@dependabot dependabot bot mentioned this pull request Feb 28, 2022
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
Projects
None yet
0 participants