From ea726a89796db0357514e5462a58c5ba5cfe416a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 23:39:51 +0000 Subject: [PATCH 1/5] chore: release v3.9.1 --- Cargo.lock | 50 +++++++--------------------------------- bon-macros/Cargo.toml | 2 +- bon-sandbox/Cargo.toml | 4 ++-- bon/Cargo.toml | 4 ++-- website/src/changelog.md | 7 ++++++ 5 files changed, 20 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb1f4031..ee2ec20f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "bon" -version = "3.9.0" +version = "3.9.1" dependencies = [ "bon-macros", "expect-test", @@ -67,9 +67,9 @@ dependencies = [ [[package]] name = "bon-macros" -version = "3.9.0" +version = "3.9.1" dependencies = [ - "darling 0.23.0", + "darling", "expect-test", "ident_case", "prettyplease", @@ -81,7 +81,7 @@ dependencies = [ [[package]] name = "bon-sandbox" -version = "3.9.0" +version = "3.9.1" dependencies = [ "bon", "buildstructor", @@ -273,18 +273,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]] @@ -301,37 +291,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", ] @@ -351,7 +317,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 27255168..e35614ad 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "3.9.0" +version = "3.9.1" 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 a684ee99..d52b8cde 100644 --- a/bon-sandbox/Cargo.toml +++ b/bon-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-sandbox" -version = "3.9.0" +version = "3.9.1" 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", "experimental-generics-setters"] path = "../bon" -version = "=3.9.0" +version = "=3.9.1" diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 93286d53..acabf3d7 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "3.9.0" +version = "3.9.1" 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.9.0" } +bon-macros = { path = "../bon-macros", version = "=3.9.1" } rustversion = "1" [dev-dependencies] diff --git a/website/src/changelog.md b/website/src/changelog.md index e7334fe7..79927886 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -5,6 +5,13 @@ 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.9.1](https://github.com/elastio/bon/compare/v3.9.0...v3.9.1) - 2026-03-13 + +### Other + +- Maintenance tests and dependencies update ([#377](https://github.com/elastio/bon/pull/377)) +- Redistribute license files with the crates sources ([#376](https://github.com/elastio/bon/pull/376)) + ## [3.9.0](https://github.com/elastio/bon/compare/v3.8.2...v3.9.0) - 2026-02-13 ### Added From f65095d2fdbeba4e38569b6225d04029289eb2f1 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 13 Mar 2026 23:42:26 +0000 Subject: [PATCH 2/5] Update changelog --- website/src/changelog.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/website/src/changelog.md b/website/src/changelog.md index 79927886..4465b4c5 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -7,11 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.9.1](https://github.com/elastio/bon/compare/v3.9.0...v3.9.1) - 2026-03-13 -### Other +This is purely a minutae update with zero changes to the Rust API. Enjoy the stability 🍸. + +### Fixed -- Maintenance tests and dependencies update ([#377](https://github.com/elastio/bon/pull/377)) - Redistribute license files with the crates sources ([#376](https://github.com/elastio/bon/pull/376)) +### Internal + +- Maintenance tests and dependencies update ([#377](https://github.com/elastio/bon/pull/377)) + ## [3.9.0](https://github.com/elastio/bon/compare/v3.8.2...v3.9.0) - 2026-02-13 ### Added From 3a87d14007b058571563e7b3cba4e52a91e95489 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 13 Mar 2026 23:42:48 +0000 Subject: [PATCH 3/5] Fix --- bon-sandbox/Cargo.toml | 2 +- website/src/changelog.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bon-sandbox/Cargo.toml b/bon-sandbox/Cargo.toml index d52b8cde..1c86aaeb 100644 --- a/bon-sandbox/Cargo.toml +++ b/bon-sandbox/Cargo.toml @@ -36,4 +36,4 @@ typed-builder = "0.23" [dependencies.bon] features = ["experimental-overwritable", "experimental-generics-setters"] path = "../bon" -version = "=3.9.1" +version = "=3.9.1" diff --git a/website/src/changelog.md b/website/src/changelog.md index 4465b4c5..b566fcfd 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -15,7 +15,7 @@ This is purely a minutae update with zero changes to the Rust API. Enjoy the sta ### Internal -- Maintenance tests and dependencies update ([#377](https://github.com/elastio/bon/pull/377)) +- Regular maintenance ([#377](https://github.com/elastio/bon/pull/377)) ## [3.9.0](https://github.com/elastio/bon/compare/v3.8.2...v3.9.0) - 2026-02-13 From c19c9f8ffd23513159ba1c6d0e0a5411128594e8 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 13 Mar 2026 23:45:21 +0000 Subject: [PATCH 4/5] Fix typo --- 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 b566fcfd..25fb94c6 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.9.1](https://github.com/elastio/bon/compare/v3.9.0...v3.9.1) - 2026-03-13 -This is purely a minutae update with zero changes to the Rust API. Enjoy the stability 🍸. +This is purely a minutiae update with zero changes to the Rust API. Enjoy the stability 🍸. ### Fixed From aa9929583f05bfea6292812202f3a4ba25dcfda7 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 13 Mar 2026 23:48:46 +0000 Subject: [PATCH 5/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 e12f1e4a..20c88ae9 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