Support the same Path field being repeated in both Debug and Display representation in error message (#383)
Improve error message when a format trait used in error message is not implemented by some field (#384)
2.0.2
Fix hang on invalid input inside #[error(...)] attribute (#382)
2.0.1
Support errors that contain a dynamically sized final field (#375)
Improve inference of trait bounds for fields that are interpolated multiple times in an error message (#377)
2.0.0
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.
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)
#[derive(Error, Debug)]
#[error("ambiguous: {0} {}", $N)]
// ^^^ Not allowed, use #[error("... {0} {n}", n = $N)]
pub struct TupleError(i32);
Code containing invocations of thiserror's derive(Error) must now have a direct dependency on the thiserror crate regardless of the error data structure's contents (#368, #369, #370, #372)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
This release adds a new dialect for CometBFT v0.38.x, enabling the correct serialization of misbehavior Evidence. This improvement ensures compatibility with CometBFT v0.38.x, addressing specific issues in evidence handling for this version.
BREAKING CHANGES
[tendermint-rpc] Add new dialect for CometBFT v0.38.x
(#1467)
BUG FIXES
[tendermint-rpc] Fix serialization of misbehaviour Evidence
on CometBFT v0.38.x using the newly introduced dialect
(#1467)
Bumps the rust group with 17 updates in the / directory:
1.0.210
1.0.215
1.0.128
1.0.133
1.0.89
1.0.93
1.0.64
2.0.3
0.12.3
0.13.0
1.40.0
1.41.1
0.39.1
0.40.0
0.39.1
0.40.0
0.39.1
0.40.0
0.39.1
0.40.0
1.3.2
1.4.1
0.2.2
0.2.3
0.9.6
0.9.7
0.2.159
0.2.166
3.13.0
3.14.0
0.39.1
0.40.0
4.5.20
4.5.21
Updates
serde
from 1.0.210 to 1.0.215Release notes
Sourced from serde's releases.
Commits
8939af4
Release 1.0.215fa5d58c
Use ui test syntax that does not interfere with rustfmt1a3cf4b
Update PR 2562 ui tests7d96352
Merge pull request #2857 from dtolnay/collide111ecc5
Update ui tests for warning on colliding aliasesedd6fe9
Revert "Add checks for conflicts for aliases"a20e924
Revert "pacify clippy"b1353a9
Merge pull request #2856 from dtolnay/denamec59e876
Produce a separate warning for every colliding name7f1e697
Merge pull request #2855 from dtolnay/namespanUpdates
serde_json
from 1.0.128 to 1.0.133Release notes
Sourced from serde_json's releases.
Commits
0903de4
Release 1.0.1332b65ca0
Merge pull request #1215 from dtolnay/fromarray4e5f985
Implement From<[T; N]> for Value2ccb5b6
Disable question_mark clippy lint in lexical testa11f5f2
Resolve unnecessary_map_or clippy lints07f280a
Wrap PR 1213 to 80 columns75ed447
Merge pull request #1213 from djmitche/safety-comment73011c0
Add a safety comment to unsafe blockbe2198a
Prevent upload-artifact step from causing CI failure7cce517
Raise minimum version for preserve_order feature to Rust 1.65Updates
anyhow
from 1.0.89 to 1.0.93Release notes
Sourced from anyhow's releases.
Commits
713bda9
Release 1.0.93f91c247
Merge pull request #391 from dtolnay/thiserror2a3901c
Isolate old rustc version tests from needing anyhow dev-dependencies in lockfile3ca2cdd
Update dev-dependencies to thiserror v2fd03a8e
Release 1.0.92a16252b
Merge pull request #390 from dtolnay/rawaddrfcf2ef8
Compile &raw test on Rust 1.82+ only1e7e9fe
Parse raw address expression syntax7d1a8f9
Add test of raw addr expression syntax6c52daa
Release 1.0.91Updates
thiserror
from 1.0.64 to 2.0.3Release notes
Sourced from thiserror's releases.
... (truncated)
Commits
15fd26e
Release 2.0.37046023
Simplify how has_bonus_display is accumulated9cc1d0b
Merge pull request #384 from dtolnay/nowrap1d040f3
Use Var wrapper only for Pointer formatting6a6132d
Extend no-display ui test to cover another fmt traita061beb
Merge pull request #383 from dtolnay/both6388293
Support Display and Debug of same path in error messagedc0359e
Defer binding_value construction520343e
Add test of Debug and Display of paths49be39d
Release 2.0.2Updates
mbedtls
from 0.12.3 to 0.13.0Commits
9b0dbdb
Porting combined errors from mbedtls changes (#372)0e5891d
Merge pull request #371 from irajtaghlidi/bazel-compatiblef43ba5d
deleting mbedtls_include variablef96fefe
Windows compatibility7e57229
Linking C static libs for mbedtls_printf3244473
set static linking0001b6c
calculate include path from out_dirc1554d6
removing linking native libs in platform-support crate5da749c
Handle multi-valuedtarget_family
(#362)7116abe
Adding CrateId Metadata Hash method for Bazel (#365)Updates
tokio
from 1.40.0 to 1.41.1Release notes
Sourced from tokio's releases.
... (truncated)
Commits
bb7ca75
chore: prepare Tokio v1.41.1 (#6959)4a34b77
metrics: fix bug with wrong number of buckets for the histogram (#6957)8897885
docs: fix mismatched backticks in CONTRIBUTING.md (#6951)0dbdd19
ci: update cargo-check-external-types to 0.1.13 (#6949)94e55c0
net: fix typo inTcpStream
internal comment (#6944)4468f27
metrics: fixed flakyworker_steal_count
test (#6932)070a825
metrics: removed race condition from global_queue_depth_multi_thread test (#6...946401c
net: displaynet
requirement fornet::UdpSocket
in docs (#6938)0c01fd2
ci: use patched version of cargo-check-external-types to fix CI failure (#6937)ebe2416
ci: use cargo deny (#6931)Updates
tendermint
from 0.39.1 to 0.40.0Release notes
Sourced from tendermint's releases.
Changelog
Sourced from tendermint's changelog.
Commits
2f94e7f
Releasev0.40.0
(#1470)db94695
rpc: Add new dialect for v0.38 in order to fix changes in misbehaviour eviden...Updates
tendermint-proto
from 0.39.1 to 0.40.0Release notes
Sourced from tendermint-proto's releases.
Changelog
Sourced from tendermint-proto's changelog.
Commits
2f94e7f
Releasev0.40.0
(#1470)db94695
rpc: Add new dialect for v0.38 in order to fix changes in misbehaviour eviden...Updates
tendermint-light-client
from 0.39.1 to 0.40.0Release notes
Sourced from tendermint-light-client's releases.
Changelog
Sourced from tendermint-light-client's changelog.
Commits
2f94e7f
Releasev0.40.0
(#1470)db94695
rpc: Add new dialect for v0.38 in order to fix changes in misbehaviour eviden...Updates
tendermint-rpc
from 0.39.1 to 0.40.0Release notes
Sourced from tendermint-rpc's releases.
Changelog
Sourced from tendermint-rpc's changelog.
Commits
2f94e7f
Releasev0.40.0
(#1470)db94695
rpc: Add new dialect for v0.38 in order to fix changes in misbehaviour eviden...Updates
arbitrary
from 1.3.2 to 1.4.1Changelog
Sourced from arbitrary's changelog.
... (truncated)
Commits
c22d7c8
Arbitrary-derive 1.4.1690db06
Merge pull request #204 from djc/msrv6cbaf48
Merge pull request #205 from Manishearth/fq-resultde2becf
Use fully qualified path for Result when generated by macro4f5967b
Bump version for releasea5dfc7e
Check stated MSRV in CIda62b03
Add lifetime bound for trait impl as required on older toolchainsf643527
Use std::error::Error for compatibility with older toolchains5b86c44
Bump to 1.4.01cc0e46
Merge pull request #185 from sosthene-nitrokey/wide-recursiveUpdates
impl-trait-for-tuples
from 0.2.2 to 0.2.3Release notes
Sourced from impl-trait-for-tuples's releases.
Commits
457d40c
Merge pull request #13 from bkchr/release-0.2.3431a5c6
Release v0.2.31207d23
Merge pull request #12 from jsdw/master83ae4ae
Update Cargo.tomlce7ed00
Add basic CI3ca1da5
cargo fmt7922aba
Update to syn 2Updates
rsa
from 0.9.6 to 0.9.7Changelog
Sourced from rsa's changelog.
Commits
551f6e5
release: v0.9.72edd479
fix: always validate keys in from_components201ad81
fix: handle tiny keysUpdates
libc
from 0.2.159 to 0.2.166Release notes
Sourced from libc's releases.
... (truncated)
Changelog
Sourced from libc's changelog.
... (truncated)
Commits
1e9ab86
chore: release v0.2.1664843c55
Merge pull request #4152 from tgross35/backport-tests-and-const-extern5d2b17f
fix: Ensure thatconst extern fn
is always enabled83490a7
tests: Ensure all tests in the workspace are run795e59a
Merge pull request #4150 from cramertj/array-size-reverta1c30e3
Remove array-size hacks for private fields4dc6a1c
Revert "Remove array size hacks for Rust < 1.47"24a8e7e
Revert "Fix a few other array size hacks"7b80739
Merge pull request #4146 from tgross35/release-plz-links55bdcfa
release-plz: Fix the pull request URLUpdates
tempfile
from 3.13.0 to 3.14.0Changelog
Sourced from tempfile's changelog.
Commits
b232c58
chore: release 3.14.0 (#307)a23f396
fix: enable wasip2 feature for wasm32-wasip2 target (#305)f162807
ci: switch from cargo-wasi to directly using the wasip1 target (#306)fa8ad00
allow older windows-sys (#304)335d91d
fix: expose SpooledData enum (#301)Updates
tendermint-testgen
from 0.39.1 to 0.40.0Release notes
Sourced from tendermint-testgen's releases.
Changelog
Sourced from tendermint-testgen's changelog.
Commits
2f94e7f
Releasev0.40.0
(#1470)db94695
rpc: Add new dialect for v0.38 in order to fix changes in misbehaviour eviden...Updates
clap
from 4.5.20 to 4.5.21Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
03d7226
chore: Release3df70fb
docs: Update changelog✅ Deploy Preview for oasisprotocol-oasis-core canceled.