From a21e51a9ea7438f9d5837cd017d27b3b798694dd Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 10 Jan 2025 00:20:33 +0900 Subject: [PATCH 1/4] Prepare valuable, valuable-derive, and valuable-serde 0.1.1 --- CHANGELOG.md | 10 +++++++++- valuable-derive/Cargo.toml | 2 +- valuable-serde/CHANGELOG.md | 6 +++++- valuable-serde/Cargo.toml | 2 +- valuable/Cargo.toml | 4 ++-- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9b348b..5551c8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 0.1.1 (2025-01-09) + +- Make `Valuable` implementation for `HashMap` more generic (#112) +- Bump MSRV to 1.56 (#118) +- derive: update syn to 2.0 (#118) +- derive: implement `#[valuable]` attributes (#75) +- derive: use `#[automatically_derived]` on generated impls to improve coverage support (#136) + # 0.1.0 (2022-01-03) -- Initial release \ No newline at end of file +- Initial release diff --git a/valuable-derive/Cargo.toml b/valuable-derive/Cargo.toml index 50fe784..e3a0270 100644 --- a/valuable-derive/Cargo.toml +++ b/valuable-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "valuable-derive" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "MIT" rust-version = "1.56" diff --git a/valuable-serde/CHANGELOG.md b/valuable-serde/CHANGELOG.md index e81cb32..8102570 100644 --- a/valuable-serde/CHANGELOG.md +++ b/valuable-serde/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.1.1 (2025-01-09) + +- Serialize `dyn Error` Values as a struct with fields for sources (#92) + # 0.1.0 (2022-01-26) -- Initial release \ No newline at end of file +- Initial release diff --git a/valuable-serde/Cargo.toml b/valuable-serde/Cargo.toml index 0f2a644..38013ce 100644 --- a/valuable-serde/Cargo.toml +++ b/valuable-serde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "valuable-serde" -version = "0.1.0" +version = "0.1.1" authors = ["Taiki Endo "] edition = "2021" license = "MIT" diff --git a/valuable/Cargo.toml b/valuable/Cargo.toml index 082b59f..93c37ac 100644 --- a/valuable/Cargo.toml +++ b/valuable/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "valuable" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "MIT" rust-version = "1.56" @@ -33,7 +33,7 @@ std = ["alloc"] alloc = [] [dependencies] -valuable-derive = { version = "0.1.0", optional = true, path = "../valuable-derive" } +valuable-derive = { version = "=0.1.1", optional = true, path = "../valuable-derive" } [dev-dependencies] criterion = "0.3" From c6acbe07b852706a163dcb4e65188e8ec858e7e0 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 17 Jan 2025 09:36:31 +0900 Subject: [PATCH 2/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5551c8f..d6fe7f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.1.1 (2025-01-09) +# 0.1.1 (2025-01-17) - Make `Valuable` implementation for `HashMap` more generic (#112) - Bump MSRV to 1.56 (#118) From 06a0e670c5758f135fc6ddd9af6cfdc80513c6fb Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 17 Jan 2025 09:36:38 +0900 Subject: [PATCH 3/4] Update valuable-serde/CHANGELOG.md --- valuable-serde/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/valuable-serde/CHANGELOG.md b/valuable-serde/CHANGELOG.md index 8102570..7515a78 100644 --- a/valuable-serde/CHANGELOG.md +++ b/valuable-serde/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.1.1 (2025-01-09) +# 0.1.1 (2025-01-17) - Serialize `dyn Error` Values as a struct with fields for sources (#92) From 61c1e2dee2f4e73dd4b3f211d9732c425e9d69fb Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 17 Jan 2025 09:42:30 +0900 Subject: [PATCH 4/4] Update ui test to Rust 1.84 to fix CI failure --- tests/tests/ui/not_valuable.stderr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests/ui/not_valuable.stderr b/tests/tests/ui/not_valuable.stderr index d5bbb6b..d21a171 100644 --- a/tests/tests/ui/not_valuable.stderr +++ b/tests/tests/ui/not_valuable.stderr @@ -5,7 +5,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied | -------- required by a bound introduced by this call 6 | struct Struct { 7 | f: Option, - | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `Option: Valuable` + | ^^^^^^^^^ the trait `Valuable` is not implemented for `S` | = help: the following other types implement trait `Valuable`: &T @@ -25,7 +25,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied 10 | #[derive(Valuable)] | -------- required by a bound introduced by this call 11 | struct Tuple(Option); - | ^^^^^^^^^ the trait `Valuable` is not implemented for `S`, which is required by `Option: Valuable` + | ^^^^^^^^^ the trait `Valuable` is not implemented for `S` | = help: the following other types implement trait `Valuable`: &T @@ -46,7 +46,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied | -------- required by a bound introduced by this call 14 | enum Enum { 15 | Struct { f: Option }, - | ^ the trait `Valuable` is not implemented for `S`, which is required by `&Option: Valuable` + | ^ the trait `Valuable` is not implemented for `S` | = help: the following other types implement trait `Valuable`: &T @@ -69,7 +69,7 @@ error[E0277]: the trait bound `S: Valuable` is not satisfied | -------- required by a bound introduced by this call ... 16 | Tuple(Option), - | ^ the trait `Valuable` is not implemented for `S`, which is required by `&Option: Valuable` + | ^ the trait `Valuable` is not implemented for `S` | = help: the following other types implement trait `Valuable`: &T