Skip to content

Bump thiserror from 2.0.20 to 2.0.21 - #561

Merged
gcomte merged 1 commit into
masterfrom
dependabot/cargo/master/thiserror-2.0.21
Sep 29, 2026
Merged

gcomte merged 1 commit into
masterfrom
dependabot/cargo/master/thiserror-2.0.21

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor

Bumps thiserror from 2.0.20 to 2.0.21.

Release notes

Sourced from thiserror's releases.

2.0.21

  • Fix parsing of generic unit variants in display expressions (#459)
Commits
  • b1827ee Release 2.0.21
  • 58037b5 Merge pull request #459 from dtolnay/turbofish
  • f82a0cf Keep track of nested turbofish depth
  • 72ea492 Raise required compiler to Rust 1.77
  • 72eea0d Resolve io_other_error clippy lint in tests
  • 07f09a2 Raise required compiler to Rust 1.74
  • 2715388 Update ui test suite to nightly-2026-09-22
  • 5a306c7 Update ui test suite to nightly-2026-09-05
  • ef9383b Update ui test suite to nightly-2026-08-22
  • 8336b84 Update ui tests for version 2.0.20
  • See full diff in compare view

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 [thiserror](https://github.com/dtolnay/thiserror) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@2.0.20...2.0.21)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-version: 2.0.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Sep 28, 2026
@coderabbitai

coderabbitai Bot commented Sep 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ec811e09-6055-4292-ba73-32556192a1a5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gcomte

gcomte commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Dependency upgrade assessment — commit 108705e9306af176ddde743607977496898c4111

No follow-up changes are needed. The PR upgrades thiserror and thiserror-impl from 2.0.20 to 2.0.21. Upstream’s parser fix does not affect the project’s error expressions, and its increased Rust minimum remains below the project’s declared minimum. All six configured checks passed, including 60 tests. The input snapshot is unchanged; retain the existing Dependabot patch.

Findings:

  • The full comparison against the supplied base changes only Cargo.lock: thiserror and thiserror-impl both move from 2.0.20 to 2.0.21. There is one package and no additional workspaces. Cargo.toml retains the compatible thiserror requirement "2.0.18".
  • The official release fixes parsing of generic unit variants and nested turbofish expressions in error display arguments. AmountError, CurrencyParseError, InputError, and ConversionError use literal messages or simple field interpolation; none uses the affected syntax or a workaround needing replacement. Sources: https://github.com/dtolnay/thiserror/releases/tag/2.0.21 and dtolnay/thiserror@2.0.20...2.0.21
  • The source comparison additionally reveals a Rust minimum increase from 1.71 to 1.77 for both crates. bitcoinvert already declares Rust 1.95.0 and uses stable CI toolchains, so no toolchain changes are needed. Remaining upstream changes concern internal tests and diagnostic snapshots; no applicable API removals, feature-default changes, or new simplifications were found.
  • Version-specific API documentation confirms that existing display interpolation and Arithmetic(#[from] AmountError) remain supported, with #[from] implying an error source. Existing tests exercise generated conversion and display behavior through overflow, invalid-input diagnostics, exit codes, and empty output on failure. Adding a generic-expression test would exercise unused upstream functionality. Source: https://github.com/dtolnay/thiserror/blob/2.0.21/src/lib.rs
  • Validation used Rust 1.98.1 on the available host, including successful live blockchain.info requests. Rust 1.95 and other platforms were not separately executed. No changes or additional tests were warranted, and no applicable migration was deferred.

The session reported running checks. No independent validation was run for this result.

@gcomte
gcomte merged commit ab1229c into master Sep 29, 2026
7 checks passed
@gcomte
gcomte deleted the dependabot/cargo/master/thiserror-2.0.21 branch September 29, 2026 08:36
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.

1 participant