Skip to content

Bump sidekiq from 6.3.1 to 6.4.0

libautomation requested to merge dependabot/bundler/sidekiq-6.4.0 into main

Bumps sidekiq from 6.3.1 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
Commits

Merge request reports

Loading