empw-org / api

💎 EMPW's RESTful API Backend
https://api.empw.tk/
1 stars 1 forks source link

Bump sidekiq from 6.2.1 to 6.4.0 #48

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps sidekiq from 6.2.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

6.3.1

  • 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

... (truncated)

Commits


Dependabot compatibility score

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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/empw-org/api/network/alerts).