Add Sidekiq::Work type which replaces the raw Hash as the third parameter in
Sidekiq::WorkSet#each { |pid, tid, hash| ... }#6145
DEPRECATED: direct access to the attributes within the hash block parameter above.
The Sidekiq::Work instance contains accessor methods to get at the same data, e.g.
work["queue"] # Old
work.queue # New
Fix Ruby 3.3 warnings around base64 gem [#6151, earlopain]
7.2.0
sidekiq_retries_exhausted can return :discard to avoid the deadset
and all death handlers #6091
Better readability and formatting for numbers within the Web UI #6080
Add explicit error if user code tries to nest test modes #6078
Sidekiq::Testing.inline! # global setting
Sidekiq::Testing.fake! do # override within block
# ok
Sidekiq::Testing.inline! do # can't override the override
# not ok, nested
end
end
SECURITY Forbid inline JavaScript execution in Web UI #6074
Adjust redis-client adapter to avoid method_missing#6083
This can result in app code breaking if your app's Redis API usage was
depending on Sidekiq's adapter to correct invalid redis-client API usage.
One example:
The block forms of testing modes (inline, fake) are now thread-safe so you can have
a multithreaded test suite which uses different modes for different tests. #6069
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps sidekiq from 5.2.10 to 7.2.1.
Changelog
Sourced from sidekiq's changelog.
... (truncated)
Commits
ec7a59e
bump, release40c73a8
doc update42dcb0d
feat: add multi-queue multi-process benchmark (#6167)7302de4
fix: invoke perform_one, but Queues not delete the job (#6166)7df2843
Update 7.0-API-Migration.md (#6157)91dcf5e
fix laterda03008
Add new Sidekiq::Work type (#6152)1c1a3c7
remove debug gem from gemfile, causes crash on Ruby 3.0.6?49389da
Simplify, I believe this to be safe8506d94
Remove dependency on base64 gem (#6151)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 show