Sidekiq v6.4.0 Release Notes

    • ๐Ÿ”’ 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] ruby SomeJob.perform_async(args...) SomeJob.perform_sync(args...) SomeJob.perform_inline(args...) You can also dynamically redirect a job to run synchronously: ruby 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]