From db492be352110f18bf1abcc994105dcdfb589e89 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Jan 2026 12:25:20 +0000 Subject: [PATCH 1/5] chore: release v3.8.2 --- Cargo.lock | 50 +++++++--------------------------------- bon-macros/Cargo.toml | 2 +- bon-sandbox/Cargo.toml | 4 ++-- bon/Cargo.toml | 4 ++-- website/src/changelog.md | 8 +++++++ 5 files changed, 21 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9b941116..b0ec8551 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,7 +91,7 @@ checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" [[package]] name = "bon" -version = "3.8.1" +version = "3.8.2" dependencies = [ "bon-macros", "expect-test", @@ -103,9 +103,9 @@ dependencies = [ [[package]] name = "bon-macros" -version = "3.8.1" +version = "3.8.2" dependencies = [ - "darling 0.23.0", + "darling", "expect-test", "ident_case", "prettyplease", @@ -117,7 +117,7 @@ dependencies = [ [[package]] name = "bon-sandbox" -version = "3.8.1" +version = "3.8.2" dependencies = [ "bon", "buildstructor", @@ -309,18 +309,8 @@ version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ - "darling_core 0.20.11", - "darling_macro 0.20.11", -] - -[[package]] -name = "darling" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" -dependencies = [ - "darling_core 0.23.0", - "darling_macro 0.23.0", + "darling_core", + "darling_macro", ] [[package]] @@ -337,37 +327,13 @@ dependencies = [ "syn", ] -[[package]] -name = "darling_core" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" -dependencies = [ - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn", -] - [[package]] name = "darling_macro" version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ - "darling_core 0.20.11", - "quote", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" -dependencies = [ - "darling_core 0.23.0", + "darling_core", "quote", "syn", ] @@ -387,7 +353,7 @@ version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" dependencies = [ - "darling 0.20.11", + "darling", "proc-macro2", "quote", "syn", diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index 630f4ca8..7c02e38b 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "3.8.1" +version = "3.8.2" description = """ This is a proc-macro crate that is supposed to be a private implementation diff --git a/bon-sandbox/Cargo.toml b/bon-sandbox/Cargo.toml index d9a155f5..782cafe2 100644 --- a/bon-sandbox/Cargo.toml +++ b/bon-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-sandbox" -version = "3.8.1" +version = "3.8.2" description = """ Not a real crate! It's just a showcase of examples used by `bon`'s documentation @@ -36,4 +36,4 @@ typed-builder = "0.23" [dependencies.bon] features = ["experimental-overwritable"] path = "../bon" -version = "=3.8.1" +version = "=3.8.2" diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 842ff6cf..714d6f04 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "3.8.1" +version = "3.8.2" description = "Next-gen compile-time-checked builder generator, named function's arguments, and more!" @@ -45,7 +45,7 @@ workspace = true # The version of the macro crate is pinned to a specific one because the code # generated by the macros uses private APIs from the runtime crate that are not # guarded by semver. -bon-macros = { path = "../bon-macros", version = "=3.8.1" } +bon-macros = { path = "../bon-macros", version = "=3.8.2" } rustversion = "1" [dev-dependencies] diff --git a/website/src/changelog.md b/website/src/changelog.md index bd1b863b..6cba55ae 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.8.2](https://github.com/elastio/bon/compare/v3.8.1...v3.8.2) - 2026-01-08 + +### Other + +- Update dependencies ([#361](https://github.com/elastio/bon/pull/361)) +- Don't attempt to compile big default value showcases as ignored rust doctests ([#360](https://github.com/elastio/bon/pull/360)) +- Fix MSRV tests ([#354](https://github.com/elastio/bon/pull/354)) + ## [3.8.1](https://github.com/elastio/bon/compare/v3.8.0...v3.8.1) - 2025-10-08 ### Fixed From 43f221364e68158cd86cbb4c053ad9a8612b2e62 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Thu, 8 Jan 2026 12:32:27 +0000 Subject: [PATCH 2/5] Update changelog --- website/src/changelog.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/src/changelog.md b/website/src/changelog.md index 6cba55ae..c8acdcc3 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -7,11 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.8.2](https://github.com/elastio/bon/compare/v3.8.1...v3.8.2) - 2026-01-08 -### Other +### Fixed -- Update dependencies ([#361](https://github.com/elastio/bon/pull/361)) - Don't attempt to compile big default value showcases as ignored rust doctests ([#360](https://github.com/elastio/bon/pull/360)) -- Fix MSRV tests ([#354](https://github.com/elastio/bon/pull/354)) + +### Internal + +- Regular maintenance ([#361](https://github.com/elastio/bon/pull/361), [#354](https://github.com/elastio/bon/pull/354)) ## [3.8.1](https://github.com/elastio/bon/compare/v3.8.0...v3.8.1) - 2025-10-08 From 4ff1c14aeb91c9deed9f3319d5a8ea83a0c6ab1a Mon Sep 17 00:00:00 2001 From: Veetaha Date: Thu, 8 Jan 2026 12:33:11 +0000 Subject: [PATCH 3/5] Taplo fmt --- bon-sandbox/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bon-sandbox/Cargo.toml b/bon-sandbox/Cargo.toml index 782cafe2..27ceed8d 100644 --- a/bon-sandbox/Cargo.toml +++ b/bon-sandbox/Cargo.toml @@ -36,4 +36,4 @@ typed-builder = "0.23" [dependencies.bon] features = ["experimental-overwritable"] path = "../bon" -version = "=3.8.2" +version = "=3.8.2" From 3c9d4db81ff1cf62bba829214b1c29e943a7d1d5 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Thu, 8 Jan 2026 12:43:12 +0000 Subject: [PATCH 4/5] Update test snapshots --- bon/tests/integration/ui/compile_fail/attr_bon.stderr | 2 +- bon/tests/integration/ui/compile_fail/attr_derive.stderr | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bon/tests/integration/ui/compile_fail/attr_bon.stderr b/bon/tests/integration/ui/compile_fail/attr_bon.stderr index 9a5b1148..e5b1be7f 100644 --- a/bon/tests/integration/ui/compile_fail/attr_bon.stderr +++ b/bon/tests/integration/ui/compile_fail/attr_bon.stderr @@ -1,4 +1,4 @@ -error: Unknown field: `attrs`. Available values: `crate` +error: Unknown field: `attrs` --> tests/integration/ui/compile_fail/attr_bon.rs:5:7 | 5 | #[bon(attrs)] diff --git a/bon/tests/integration/ui/compile_fail/attr_derive.stderr b/bon/tests/integration/ui/compile_fail/attr_derive.stderr index 1e98d1bb..5811b813 100644 --- a/bon/tests/integration/ui/compile_fail/attr_derive.stderr +++ b/bon/tests/integration/ui/compile_fail/attr_derive.stderr @@ -76,11 +76,11 @@ error: `#[builder(derive(Into))` is not supported for async functions because `F 127 | async unsafe fn unsafe_async_function() -> Self { | ^^^^^ -error: Unknown field: `bounds` - --> tests/integration/ui/compile_fail/attr_derive.rs:132:23 +error: Unexpected meta-item format `list` + --> tests/integration/ui/compile_fail/attr_derive.rs:132:18 | 132 | #[builder(derive(Into(bounds(u32: Copy))))] - | ^^^^^^ + | ^^^^ error[E0277]: the trait bound `NoTraitImpls: Clone` is not satisfied --> tests/integration/ui/compile_fail/attr_derive.rs:9:23 From b5b2dbec9cba86a637281e2e1f1b324d3ee4a357 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Thu, 8 Jan 2026 13:07:03 +0000 Subject: [PATCH 5/5] Update PR --- website/src/changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/changelog.md b/website/src/changelog.md index c8acdcc3..31a8a9b6 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Internal -- Regular maintenance ([#361](https://github.com/elastio/bon/pull/361), [#354](https://github.com/elastio/bon/pull/354)) +- Regular maintenance ([#361](https://github.com/elastio/bon/pull/361), [#354](https://github.com/elastio/bon/pull/354), [#363](https://github.com/elastio/bon/pull/363)) ## [3.8.1](https://github.com/elastio/bon/compare/v3.8.0...v3.8.1) - 2025-10-08