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 #314

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2022

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

Changelog

Sourced from sidekiq's changelog.

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
  • Add keyword arguments support in extensions

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:
class MyJob
  include Sidekiq::Job
  sidekiq_options ...
  def perform(args)
  end
end

... (truncated)

Commits

Updates redis from 3.3.5 to 4.5.1

Changelog

Sourced from redis's changelog.

4.5.1

  • Restore the accidential auth behavior of redis-rb 4.3.0 with a warning. If provided with the default user's password, but a wrong username, redis-rb will first try to connect as the provided user, but then will fallback to connect as the default user with the provided password. This behavior is deprecated and will be removed in Redis 4.6.0. Fix #1038.

4.5.0

  • Handle parts of the command using incompatible encodings. See #1037.
  • Add GET option to SET command. See #1036.
  • Add ZRANDMEMBER command. See #1035.
  • Add LMOVE/BLMOVE commands. See #1034.
  • Add ZMSCORE command. See #1032.
  • Add LT/GT options to ZADD. See #1033.
  • Add SMISMEMBER command. See #1031.
  • Add EXAT/PXAT options to SET. See #1028.
  • Add GETDEL/GETEX commands. See #1024.
  • Redis#exists now returns an Integer by default, as warned since 4.2.0. The old behavior can be restored with Redis.exists_returns_integer = false.
  • Fix Redis < 6 detection during connect. See #1025.
  • Fix fetching command details in Redis cluster when the first node is unhealthy. See #1026.

4.4.0

  • Redis cluster: fix cross-slot validation in pipelines. Fix ##1019.
  • Add support for XAUTOCLAIM. See #1018.
  • Properly issue READONLY when reconnecting to replicas. Fix #1017.
  • Make del a noop if passed an empty list of keys. See #998.
  • Add support for ZINTER. See #995.

4.3.1

  • Fix password authentication against redis server 5 and older.

4.3.0

  • Add the TYPE argument to scan and scan_each. See #985.
  • Support AUTH command for ACL. See #967.

4.2.5

  • Optimize the ruby connector write buffering. See #964.

4.2.4

  • Fix bytesize calculations in the ruby connector, and work on a copy of the buffer. Fix #961, #962.

4.2.3

  • Use io/wait instead of IO.select in the ruby connector. See #960.
  • Use exception free non blocking IOs in the ruby connector. See #926.

... (truncated)

Commits
  • a7db87c Release 4.5.1
  • 0c8e5d0 Merge pull request #1041 from casperisfine/restore-auth-bug
  • 362c8c6 Restore Redis 4.3.0 accidental AUTH fallback behavior with a deprecation warning
  • 506f922 Cleanup Ruby 2.3 code from the Ruby connection
  • 628c4e3 Release 4.4.0
  • 9f2a94c Merge pull request #1037 from casperisfine/encoding-error
  • a4e9391 Handle parts of the command using incompatible encodings
  • a3d8071 Merge pull request #1036 from fatkodima/set-get
  • 6e7b38c Merge pull request #1035 from fatkodima/zrandmember
  • ab83bf1 [Redis 6.2] Add ZRANDMEMBER command
  • 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.0
- [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.0)

Updates `redis` from 3.3.5 to 4.5.1
- [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.5.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 28, 2022

Superseded by #317.

@dependabot dependabot bot closed this Feb 28, 2022
@dependabot dependabot bot deleted the dependabot/bundler/sidekiq-and-redis-6.4.0 branch February 28, 2022 09:06
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
Development

Successfully merging this pull request may close these issues.

0 participants