-
Notifications
You must be signed in to change notification settings - Fork 94
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
chore(deps): update rust crate thiserror to v2 #2261
Conversation
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: 4cf28096ebd035c03ae8ce87 |
36b5f5f
to
ac37daa
Compare
|
f15b252
to
e2d20d7
Compare
e2d20d7
to
6f1ddbb
Compare
6f1ddbb
to
cded414
Compare
cded414
to
60b3f66
Compare
70aee6d
to
a6262bc
Compare
a6262bc
to
ab0812b
Compare
5658668
to
e4edd29
Compare
8ad1c46
to
644bfd7
Compare
644bfd7
to
eaa1350
Compare
eaa1350
to
e31806d
Compare
e31806d
to
6ad4a09
Compare
976ca37
to
f13dd72
Compare
f13dd72
to
8c0f26d
Compare
8c0f26d
to
692cd06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## 🐛 Fixes - **Restore the ability to use environment or file references in the `supergraph.yaml` file - @jonathanrainer PR #2411** In v0.26.3 and older you could use references such as `${env.HOST}` or similar in the `supergraph.yaml` file, there was an oversight in the refactor and this was removed. This ability has now been restored. ## 🛠 Maintenance - **Restructure and add logging to failing E2E test - @jonathanrainer PR #2406** - **Upgrade Rust to v1.84.0 - @jonathanrainer PR #2407** - **Upgrade `apollographql/federation-rs` to v2.10.0 - @jonathanrainer PR #2409** - **Upgrade `thiserror` to v2.0.1 - @jonathanrainer PR #2261**
This PR contains the following updates:
1
->2
Release Notes
dtolnay/thiserror (thiserror)
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
Breaking changes
Referencing keyword-named fields by a raw identifier like
{r#type}
inside a format string is no longer accepted; simply use the unraw name like{type}
(#347)This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x.
Trait bounds are no longer inferred on fields whose value is shadowed by an explicit named argument in a format message (#345)
Tuple structs and tuple variants can no longer use numerical
{0}
{1}
access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg (#354)Code containing invocations of thiserror's
derive(Error)
must now have a direct dependency on thethiserror
crate regardless of the error data structure's contents (#368, #369, #370, #372)Features
Support disabling thiserror's standard library dependency by disabling the default "std" Cargo feature:
thiserror = { version = "2", default-features = false }
(#373)Support using
r#source
as field name to opt out of a field named "source" being treated as an error'sError::source()
(#350)Infinite recursion in a generated Display impl now produces an
unconditional_recursion
warning (#359)A new attribute
#[error(fmt = path::to::myfmt)]
can be used to write formatting logic for an enum variant out-of-line (#367)Enums with an enum-level format message are now able to have individual variants that are
transparent
to supersede the enum-level message (#366)v1.0.69
Compare Source
v1.0.68
Compare Source
v1.0.67
Compare Source
v1.0.66
Compare Source
v1.0.65
Compare Source
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, 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.