-
Notifications
You must be signed in to change notification settings - Fork 17
Update dependency sidekiq to v8 #2795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/sidekiq-8.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
|
eed3816 to
02d038e
Compare
6c3cb14 to
4dea794
Compare
4dea794 to
f14c3f4
Compare
f14c3f4 to
7b96ce6
Compare
adf3acb to
7ddf0e4
Compare
2ace12f to
47c9441
Compare
3b047b8 to
cee0ae0
Compare
c942626 to
c2a3307
Compare
107f150 to
3d5d7d7
Compare
20980e6 to
373f6cf
Compare
373f6cf to
68b902b
Compare
ba2c363 to
3a9fc7f
Compare
3a9fc7f to
c201d92
Compare
c201d92 to
7ece542
Compare
7ece542 to
4d4d0fc
Compare
6471ca4 to
a96f864
Compare
a96f864 to
28ff503
Compare
28ff503 to
011d4fe
Compare
011d4fe to
2c08dd3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
'~> 7.0'→'~> 8.0'Release Notes
sidekiq/sidekiq (sidekiq)
v8.0.9Compare Source
Sidekiq::ProcessAPI to provide capsule data. Thequeuesandweightsdata will be removed from Redis in Sidekiq 8.1, as this data can now be found in the
capsuleselement. [#6295]docs/sdlc.md) and security (docs/SECURITY.md) policydocumentation for Sidekiq's current workflows
v8.0.8Compare Source
Sidekiq will re-queue the job to continue execution at a later time [#6819, fatkodima]
discarded_atattribute when discarding a job so death handlers can distinguish betweena 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 overthe next N seconds.
perform_bulk(..., spread_interval: 60)[#6792, fatkodima]v8.0.7Compare Source
:discardoption forsidekiq_retries_exhaustedandsidekiq_retry_innow calls death handlers, otherwise it could break other Sidekiq
functionality. [#6741]
current_objectfor easy access within thearound_iterationcallback [#6774]v8.0.6Compare Source
after_all_transactions_commitwhen available. [#6765, rewritten]:exit[#6764]v8.0.5Compare Source
stopping?method to AJ adapter for compatibility with the new AJ::Continuations feature [#6732]CSRF in a cleaner manner and are default in most browsers now.
CSRF code will be removed in Sidekiq 9.0. [#6739]
v8.0.4Compare Source
v8.0.3Compare Source
v8.0.2Compare Source
on(:exit)event to run code right before the Sidekiq process exits [#6637]v8.0.1Compare Source
v8.0.0Compare Source
ActiveJob::QueueAdapters::SidekiqAdapter::JobWrappertoSidekiq::ActiveJob::Wrapper.The old name will still work in 8.x.
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.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.
ActiveJob::Argumentsto serialize the context object, supporting Symbols and GlobalID.The change should be backwards compatible. [#6510]
Sidekiq::Webto simplify the code and improve security [#6532]The CSS has been rewritten from scratch to remove the Bootstrap framework.
on_cancelcallback for iterable jobs [#6607]cursorreader to get the current cursor inside iterable jobs [#6606]Exception#detailed_messageand#full_messageAPIs.This can help avoid TimeoutErrors when Sidekiq is overloaded. [#6543]
Logger#with_level, remove Sidekiq's custom implbase64gem dependencyv7.3.10Compare Source
Use a Proc instead:
config.redis = { password: ->(username) { "password" } }v7.3.9Compare Source
You might get
uninitialized constant Sidekiq::ActiveJobif yourequire 'sidekiq'beforerequire 'rails'.v7.3.8Compare Source
v7.3.7Compare Source
Sidekiq::Web.configurefor compatibility with 8.0 [#6532]url_params(key)androute_params(key)for compatibility with 8.0 [#6532]inspectfor internal S::Components to keep size managable [#6553]v7.3.6Compare Source
v7.3.5retry_allandkill_allAPI methods to use ZPOPMIN,approximately 30-60% faster. [#6481]
examples/testing/sidekiq_bootto verify your Rails app boots correctly with Sidekiq Enterprise's app preloading.v7.3.4v7.3.3Compare Source
-ttimeout setting (defaults to 25 seconds)argumentsmethod:Sidekiq::Client#cancel!::sidekiqadapter [#6430, fatkodima]Sidekiq.gem_versionAPI.v7.3.2Compare Source
Each batch should be processed as a single transaction in order to be idempotent. [#6405]
v7.3.1Compare Source
Use a Proc instead:
config.redis = { password: ->(username) { "password" } }v7.3.0Compare Source
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_iterationdoesn't take more than Sidekiq's
-ttimeout (default: 25 seconds). Iterable jobs must not implementperform.See the Iteration wiki page and the RDoc in
Sidekiq::IterableJob.This feature should be considered BETA until the next minor release.
<script>.Adjust CSP to disallow inline scripts within the Web UI. Please see
examples/webui-extfor how to register Web UI extensions and usedynamic CSS and JS. This will make Sidekiq immune to XSS attacks. [#6270]
:skip_default_job_loggingto disable Sidekiq's defaultstart/finish job logging. [#6200]
Sidekiq::Limiter.redisto use Redis Cluster [#6288]to minimize ReadTimeoutErrors [#6162]
loggeras a dependency since it will become bundled in Ruby 3.5 [#6320]v7.2.4Compare Source
Thanks to @UmerAdeemCheema for the security report.
v7.2.3Compare Source
v7.2.2Compare Source
Process.warmupcall in Ruby 3.3+v7.2.1Compare Source
Sidekiq::Worktype which replaces the raw Hash as the third parameter inSidekiq::WorkSet#each { |pid, tid, hash| ... }[#6145]hashblock parameter above.The
Sidekiq::Workinstance contains accessor methods to get at the same data, e.g.base64gem [#6151, earlopain]v7.2.0Compare Source
sidekiq_retries_exhaustedcan return:discardto avoid the deadsetand all death handlers [#6091]
v7.1.6Compare Source
a multithreaded test suite which uses different modes for different tests. [#6069]
v7.1.5Compare Source
sourced from Sidekiq Pro. [#6052]
->(ex, context, config).The previous calling convention will work until Sidekiq 8.0 but will print
out a deprecation warning. [#6051]
batch_sizeandatoptions inS::Client.push_bulk[#6040]protocol: 2[#6061]Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.