Update dependency sidekiq to v8
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| sidekiq (source, changelog) | 7.3.9 -> 8.0.9 |
Release Notes
sidekiq/sidekiq (sidekiq)
v8.0.9
- Implement idle Redis connection reaping, will be activated in 8.1 [#6663]
- Updated
Sidekiq::ProcessAPI to provide capsule data. Thequeuesandweightsdata will be removed from Redis in Sidekiq 8.1, as this data can now be found in thecapsuleselement. [#6295] - Restore bulk action buttons on Scheduled, Retry and Dead tabs [#6833, deve1212]
- Support logging additional job attributes [#6846, bschrag620]
- Fix display of long job args [#6836]
- Create development lifecycle (
docs/sdlc.md) and security (docs/SECURITY.md) policy documentation for Sidekiq's current workflows
v8.0.8
- Allow an optional global iteration max runtime. After executing for this length of time, Sidekiq will re-queue the job to continue execution at a later time [#6819, fatkodima]
Sidekiq.configure_server do |cfg|
cfg[:max_iteration_runtime] = 600 # ten minutes
end
- Add
discarded_atattribute when discarding a job so death handlers can distinguish between a job which was killed and one that was discarded. [#6820, gstokkink] -
perform_bulknow accepts an:atarray of times to schedule each job at the corresponding time.perform_bulk(args: [[1], [2]], at: [Time.now, Time.now + 1])[#6790, fatkodima] -
perform_bulknow accepts a:spread_intervalvalue to schedule jobs over the next N seconds.perform_bulk(..., spread_interval: 60)[#6792, fatkodima] - Fix unintended display of flash messages in the Web UI due to session key collision
- Add support for lazy load hooks [#6825]
v8.0.7
- The
:discardoption forsidekiq_retries_exhaustedandsidekiq_retry_innow calls death handlers, otherwise it could break other Sidekiq functionality. [#6741] - Provide a Plain log formatter which does not colorize output [#6778]
- Job iteration now exposes
current_objectfor easy access within thearound_iterationcallback [#6774] - Fix JS race condition which could skip confirmation dialogs when Live Polling [#6768]
- Fix edge case which could lose CurrentAttributes [#6767]
- Update UK locale [#6776]
v8.0.6
- Adjust transactional client to use ActiveRecord 7.2's support for
after_all_transactions_commitwhen available. [#6765, rewritten] - Fix Rails 7.0 and 7.1 compatibility [#6746, mlarraz]
- Flush metrics at
:exit[#6764]
v8.0.5
- Add
stopping?method to AJ adapter for compatibility with the new AJ::Continuations feature [#6732] - Further improvements to Rails boot compatibility [#6710]
- Add ability to disable CSRF middleware. SameSite cookies prevent CSRF in a cleaner manner and are default in most browsers now. CSRF code will be removed in Sidekiq 9.0. [#6739]
v8.0.4
- Adjust Rails integration for various edge cases [6713]
- Flush job iteration state when an error is raised [#6704]
- Update Accept-Language parsing in Web UI [#6721]
- Remove fixed-width in Web UI [#6686]
- Adjust CSRF middleware ordering [#6688]
- Support proxies when POSTing profiles to profiler.firefox.com [#6687]
- Dont swallow NoMethodErrors in CurrentAttributes [#6685]
v8.0.3
- Configure Vernier output directory [#6674]
- Rework Rails integration [#6669]
- Implement flash messages for the Web UI [#6675]
v8.0.2
- Add
on(:exit)event to run code right before the Sidekiq process exits [#6637] - Metrics page crashes with Rack 3.1+ [#6646]
v8.0.1
- Relax Redis requirement to 7.0 for compatibility with AWS and Ubuntu 24.04 LTS. [#6630]
v8.0.0
-
WARNING The underlying class name for Active Jobs has changed from
ActiveJob::QueueAdapters::SidekiqAdapter::JobWrappertoSidekiq::ActiveJob::Wrapper. The old name will still work in 8.x. -
WARNING The
created_at,enqueued_at,failed_atandretried_atattributes are now stored as epoch milliseconds, rather than epoch floats. This is meant to avoid precision issues with JSON and JavaScript's 53-bit Floats. Example:"created_at" => 1234567890.123456->"created_at" => 1234567890123. - NEW FEATURE Job Profiling is now supported with Vernier which makes it really easy to performance tune your slow jobs. The Web UI contains a new Profiles tab to view any collected profile data. Please read the new Profiling wiki page for details.
- NEW FEATURE Job Metrics now store up to 72 hours of data and the Web UI allows display of 24/48/72 hours. [#6614]
- CurrentAttribute support now uses
ActiveJob::Argumentsto serialize the context object, supporting Symbols and GlobalID. The change should be backwards compatible. [#6510] - Freshen up
Sidekiq::Webto simplify the code and improve security [#6532] The CSS has been rewritten from scratch to remove the Bootstrap framework. - Add
on_cancelcallback for iterable jobs [#6607] - Add
cursorreader to get the current cursor inside iterable jobs [#6606] - Default error logging has been modified to use Ruby's
Exception#detailed_messageand#full_messageAPIs. - CI now runs against Redis, Dragonfly and Valkey.
- Job tags now allow custom CSS display [#6595]
- The Web UI's language picker now shows options in the native language
- Remove global variable usage within the codebase
- Colorize and adjust logging for easier reading
- Adjust Sidekiq's default thread priority to -1 for a 50ms timeslice. This can help avoid TimeoutErrors when Sidekiq is overloaded. [#6543]
- Use
Logger#with_level, remove Sidekiq's custom impl - Remove
base64gem dependency - Support: (Dragonfly 1.27+, Valkey 7.2+, Redis 7.2+), Ruby 3.2+, Rails 7.0+
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.