hackclub / hackathons-backend

Powering https://hackathons.hackclub.com
https://hackathons.hackclub.com
MIT License
21 stars 4 forks source link

Bump sidekiq from 7.2.4 to 7.3.2 #528

Closed dependabot[bot] closed 4 weeks ago

dependabot[bot] commented 4 weeks ago

Bumps sidekiq from 7.2.4 to 7.3.2.

Changelog

Sourced from sidekiq's changelog.

7.3.2

  • Adjust ActiveRecord batch iteration to restart an interrupted batch from the beginning. Each batch should be processed as a single transaction in order to be idempotent. #6405
  • Fix typo in S::DeadSet#kill #6397
  • Fix CSS issue with bottom bar in Web UI #6414

7.3.1

  • Don't count job interruptions as failures in metrics #6386
  • Add frozen string literal to a number of .rb files.
  • Fix frozen string error with style_tag and script_tag #6371
  • Fix an error on Ruby 2.7 because of usage of Hash#except #6376

7.3.0

  • NEW FEATURE Add Sidekiq::IterableJob, iteration support for long-running jobs. [#6286, fatkodima] Iterable jobs are interruptible and can restart quickly if running during a deploy. You must ensure that each_iteration doesn't take more than Sidekiq's -t timeout (default: 25 seconds). Iterable jobs must not implement perform.
class ProcessArrayJob
  include Sidekiq::IterableJob
  def build_enumerator(*args, **kwargs)
    array_enumerator(args, **kwargs)
  end
  def each_iteration(arg)
    puts arg
  end
end
ProcessArrayJob.perform_async(1, 2, 3)

See the Iteration wiki page and the RDoc in Sidekiq::IterableJob. This feature should be considered BETA until the next minor release.

  • SECURITY The Web UI no longer allows extensions to use <script>. Adjust CSP to disallow inline scripts within the Web UI. Please see examples/webui-ext for how to register Web UI extensions and use dynamic CSS and JS. This will make Sidekiq immune to XSS attacks. #6270
  • Add config option, :skip_default_job_logging to disable Sidekiq's default start/finish job logging. #6200
  • Allow Sidekiq::Limiter.redis to use Redis Cluster #6288
  • Retain CurrentAttributeѕ after inline execution #6307
  • Ignore non-existent CurrentAttributes attributes when restoring #6341
  • Raise default Redis {read,write,connect} timeouts from 1 to 3 seconds to minimize ReadTimeoutErrors #6162
  • Add logger as a dependency since it will become bundled in Ruby 3.5 #6320
  • Ignore unsupported locales in the Web UI #6313
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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)