Skip to content

chore(deps): Bump sha2 from 0.10.9 to 0.11.0#532

Merged
notheotherben merged 2 commits intomainfrom
dependabot/cargo/sha2-0.11.0
Mar 26, 2026
Merged

chore(deps): Bump sha2 from 0.10.9 to 0.11.0#532
notheotherben merged 2 commits intomainfrom
dependabot/cargo/sha2-0.11.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2026

Bumps sha2 from 0.10.9 to 0.11.0.

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

Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0.
- [Commits](RustCrypto/hashes@sha2-v0.10.9...sha2-v0.11.0)

---
updated-dependencies:
- dependency-name: sha2
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 26, 2026
Copy link
Copy Markdown
Member

@notheotherben notheotherben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@notheotherben notheotherben enabled auto-merge March 26, 2026 00:33
@notheotherben
Copy link
Copy Markdown
Member

@copilot it looks like this update is causing issues with formatting of hashes, please look into what we need to do to solve this issue and update the PR to reflect that.

auto-merge was automatically disabled March 26, 2026 09:34

Head branch was pushed to by a user without write access

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

@copilot it looks like this update is causing issues with formatting of hashes, please look into what we need to do to solve this issue and update the PR to reflect that.

In sha2 0.11.0, the digest output type changed from generic_array::GenericArray<u8, N> to hybrid_array::Array<u8, N>, which no longer implements LowerHex. Fixed in cd0c16f by computing the hex string once after finalize() via byte iteration (shasum.iter().map(|b| format!("{b:02x}")).collect()), then using that string in all subsequent format expressions.

Copilot AI requested a review from notheotherben March 26, 2026 09:35
@notheotherben notheotherben enabled auto-merge March 26, 2026 09:37
@notheotherben notheotherben merged commit 1c42d28 into main Mar 26, 2026
8 of 10 checks passed
@notheotherben notheotherben deleted the dependabot/cargo/sha2-0.11.0 branch March 26, 2026 09:39
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.79%. Comparing base (b67fae4) to head (cd0c16f).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #532      +/-   ##
==========================================
+ Coverage   72.78%   72.79%   +0.01%     
==========================================
  Files          24       24              
  Lines        1837     1838       +1     
==========================================
+ Hits         1337     1338       +1     
  Misses        500      500              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants