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
FEATURE: Support for serializing ActiveSupport::CurrentAttributes into each job. #4982
# config/initializers/sidekiq.rb
require "sidekiq/middleware/current_attributes"
Sidekiq::CurrentAttributes.persist(Myapp::Current) # Your AS::CurrentAttributes singleton
FEATURE: Add Sidekiq::Worker.perform_bulk for enqueuing jobs in bulk,
similar to Sidekiq::Client.push_bulk#5042
MyJob.perform_bulk([[1], [2], [3]])
Implement queue_as, wait and wait_until for ActiveJob compatibility #5003
Scheduler now uses Lua to reduce Redis load and network roundtrips #5044
Retry Redis operation if we get an UNBLOCKED Redis error #4985
Run existing signal traps, if any, before running Sidekiq's trap #4991
Fix fetch bug when using weighted queues which caused Sidekiq to stop
processing queues randomly #5031
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)
Bumps sidekiq from 6.2.2 to 6.3.1.
Changelog
Sourced from sidekiq's changelog.
Commits
acaee69
releaseace6e66
update gem.lock26f5f33
Fix keyword args issue on Ruby 3.00723abd
Failing test on 3.062efdd1
releaseed2307e
changesc42d941
Change scheduler to use Lua-based script (#5044)be80d62
Add sample code93226b7
Add explanatory text for Delete button, #29810f3cda1
changeDependabot 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)