Skip to content

Commit

Permalink
Bump sidekiq from 7.3.9 to 8.0.0 (#4381)
Browse files Browse the repository at this point in the history
Bumps [sidekiq](https://github.com/sidekiq/sidekiq) from 7.3.9 to 8.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sidekiq/sidekiq/blob/main/Changes.md">sidekiq's
changelog</a>.</em></p>
<blockquote>
<h2>8.0.0</h2>
<ul>
<li><strong>WARNING</strong> The underlying class name for Active Jobs
has changed from
<code>ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper</code> to
<code>Sidekiq::ActiveJob::Wrapper</code>.
The old name will still work in 8.x.</li>
<li><strong>WARNING</strong> The <code>created_at</code>,
<code>enqueued_at</code>, <code>failed_at</code> and
<code>retried_at</code> attributes 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: <code>&quot;created_at&quot; =&gt; 1234567890.123456</code>
-&gt; <code>&quot;created_at&quot; =&gt; 1234567890123</code>.</li>
<li><strong>NEW FEATURE</strong> Job Profiling is now supported with <a
href="https://vernier.prof">Vernier</a>
which makes it really easy to performance tune your slow jobs.
The Web UI contains a new <strong>Profiles</strong> tab to view any
collected profile data.
Please read the new <a
href="https://github.com/sidekiq/sidekiq/wiki/Profiling">Profiling</a>
wiki page for details.</li>
<li><strong>NEW FEATURE</strong> Job Metrics now store up to 72 hours of
data and the Web UI allows display of 24/48/72 hours. <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6614">#6614</a></li>
<li>CurrentAttribute support now uses <code>ActiveJob::Arguments</code>
to serialize the context object, supporting Symbols and GlobalID.
The change should be backwards compatible. <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6510">#6510</a></li>
<li>Freshen up <code>Sidekiq::Web</code> to simplify the code and
improve security <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6532">#6532</a>
The CSS has been rewritten from scratch to remove the Bootstrap
framework.</li>
<li>Add <code>on_cancel</code> callback for iterable jobs <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6607">#6607</a></li>
<li>Add <code>cursor</code> reader to get the current cursor inside
iterable jobs <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6606">#6606</a></li>
<li>Default error logging has been modified to use Ruby's
<code>Exception#detailed_message</code> and <code>#full_message</code>
APIs.</li>
<li>CI now runs against Redis, Dragonfly and Valkey.</li>
<li>Job tags now allow custom CSS display <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6595">#6595</a></li>
<li>The Web UI's language picker now shows options in the native
language</li>
<li>Remove global variable usage within the codebase</li>
<li>Colorize and adjust logging for easier reading</li>
<li>Adjust Sidekiq's default thread priority to -1 for a 50ms timeslice.
This can help avoid TimeoutErrors when Sidekiq is overloaded. <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6543">#6543</a></li>
<li>Use <code>Logger#with_level</code>, remove Sidekiq's custom
impl</li>
<li>Remove <code>base64</code> gem dependency</li>
<li>Support: (Dragonfly 1.27+, Valkey 7.2+, Redis 7.2+), Ruby 3.2+,
Rails 7.0+</li>
</ul>
<h2>7.3.10</h2>
<ul>
<li>Deprecate Redis :password as a String to avoid log disclosure. <a
href="https://redirect.github.com/sidekiq/sidekiq/issues/6625">#6625</a>
Use a Proc instead: <code>config.redis = { password: -&gt;(username) {
&quot;password&quot; } }</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/9499c52e0b9e8b65ce408b2c9ebb6231074fd8db"><code>9499c52</code></a>
Revert &quot;refactor: co-locate wrapper class with adapter class for
resiliance t...</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/e663ce5e27d143e42cfb5d0e78ea4a0e18165847"><code>e663ce5</code></a>
fmt</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/b8a3ca0dd254e195994e2295da5268fa82107b1c"><code>b8a3ca0</code></a>
bump</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/76113e0709af544c80ed9bf5fbe143cb73040dac"><code>76113e0</code></a>
refactor: co-locate wrapper class with adapter class for resiliance to
requir...</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/0d4162fa88a5cc93c233b3e99672b6e3f94cb264"><code>0d4162f</code></a>
doc: webui</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/74afdcbf448d7f3d4c77a1a03efd1d0f016e9f0a"><code>74afdcb</code></a>
refactor: adjust histogram keys to remove unnecessary digits, add
prefix</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/50c3d52ebf4cb36b63057c55cca334117554b721"><code>50c3d52</code></a>
doc: update release notes</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/a6c62477f63011eedc4b496c44d30d0772a967bd"><code>a6c6247</code></a>
official release soon...</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/23fdd840812b4b64e960a1f98d96c03f2e1318d4"><code>23fdd84</code></a>
refactor: remove Base64 gem dependency</li>
<li><a
href="https://github.com/sidekiq/sidekiq/commit/90f83226d893424382aba3f24073ce89f4b93c2e"><code>90f8322</code></a>
refactor: logging to use <code>Logger#with_level</code></li>
<li>Additional commits viewable in <a
href="https://github.com/sidekiq/sidekiq/compare/v7.3.9...v8.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sidekiq&package-manager=bundler&previous-version=7.3.9&new-version=8.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 6, 2025
1 parent f4de3fe commit b7ff508
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ gem 'aws-sdk-s3'
gem 'image_processing'

# job queue using Active Job
gem 'sidekiq', '< 8'
gem 'sidekiq', '< 9'

# syndication
gem 'down' # downloading images from ActiveStorage/S3
Expand Down
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -477,12 +477,12 @@ GEM
websocket (~> 1.0)
sexp_processor (4.17.3)
shellany (0.0.1)
sidekiq (7.3.9)
base64
connection_pool (>= 2.3.0)
logger
rack (>= 2.2.4)
redis-client (>= 0.22.2)
sidekiq (8.0.0)
connection_pool (>= 2.5.0)
json (>= 2.9.0)
logger (>= 1.6.2)
rack (>= 3.1.0)
redis-client (>= 0.23.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand Down Expand Up @@ -599,7 +599,7 @@ DEPENDENCIES
rubypants
sassc-rails
selenium-webdriver
sidekiq (< 8)
sidekiq (< 9)
simplecov
squasher
stackprof
Expand Down

0 comments on commit b7ff508

Please sign in to comment.