Skip to content

chore: bump thiserror to v2 #3172

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

Merged
merged 1 commit into from
May 27, 2025

Conversation

paolobarbolini
Copy link
Contributor

Motivation

The ecosystem has upgraded to thiserror v2, so this crate was causing duplicate dependency versions.

Solution

Bump thiserror to v2 - https://github.com/dtolnay/thiserror/releases/tag/2.0.0

@paolobarbolini paolobarbolini requested a review from a team as a code owner December 7, 2024 07:16
sourcefrog added a commit to sourcefrog/cargo-mutants that referenced this pull request Dec 7, 2024
Bumps all locked dependencies, fixing the following issues:

* Building for s390x musl
* Building for loongarch64 gnu/musl
* [RUSTSEC-2021-0139](https://rustsec.org/advisories/RUSTSEC-2021-0139)
on ansi_term (unmaintained)
* [RUSTSEC-2024-0320](https://rustsec.org/advisories/RUSTSEC-2024-0320)
on yaml-rust (unmaintained)
* [RUSTSEC-2024-0404](https://rustsec.org/advisories/RUSTSEC-2024-0404)
on anstream (unsound)
* Removes some duplicate dependency versions and some unused
dependencies - on this I've also opened
tokio-rs/tracing#3172 but it'll probably take a
long time to get released

Remains:

* [RUSTSEC-2024-0375](https://rustsec.org/advisories/RUSTSEC-2024-0375)
on atty (unmaintained)
Copy link
Contributor

@0xPoe 0xPoe left a comment

Choose a reason for hiding this comment

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

Thanks! :shipit:

Not sure if we also need to bump the examples thiserror dependency.

I guess it is OK to bump it too in this PR.

Copy link
Contributor

@kaffarell kaffarell left a comment

Choose a reason for hiding this comment

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

Please also update it in the examples crate: examples/Cargo.toml. Quick build works fine but none of the breaking changes (https://github.com/dtolnay/thiserror/releases/tag/2.0.0) should concern us anyways.

@paolobarbolini paolobarbolini changed the title appender: bump thiserror to v2 chore: bump thiserror to v2 Feb 19, 2025
Copy link
Contributor

@kaffarell kaffarell left a comment

Choose a reason for hiding this comment

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

LGTM

@paolobarbolini
Copy link
Contributor Author

Any chance of this ever getting merged?

@jplatte jplatte force-pushed the appender-thiserror-2 branch from a410bd1 to 3fc3974 Compare May 27, 2025 21:30
@jplatte jplatte enabled auto-merge (squash) May 27, 2025 21:30
@jplatte jplatte merged commit 4410764 into tokio-rs:master May 27, 2025
56 checks passed
@hds hds mentioned this pull request May 28, 2025
25 tasks
hds pushed a commit that referenced this pull request May 29, 2025
hds pushed a commit that referenced this pull request Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants