From 571af7136c1be17f27f0a988b60f69db0d8bf377 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 2 Oct 2026 21:44:52 +0000 Subject: [PATCH 1/3] chore: release v3.10.2 --- Cargo.lock | 6 +++--- bon-macros/Cargo.toml | 2 +- bon-sandbox/Cargo.toml | 4 ++-- bon/Cargo.toml | 4 ++-- website/src/changelog.md | 13 +++++++++++++ 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7cffe07..48a53315 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,7 +56,7 @@ dependencies = [ [[package]] name = "bon" -version = "3.10.1" +version = "3.10.2" dependencies = [ "bon-macros", "expect-test", @@ -67,7 +67,7 @@ dependencies = [ [[package]] name = "bon-macros" -version = "3.10.1" +version = "3.10.2" dependencies = [ "darling 0.24.1", "expect-test", @@ -80,7 +80,7 @@ dependencies = [ [[package]] name = "bon-sandbox" -version = "3.10.1" +version = "3.10.2" dependencies = [ "bon", "buildstructor", diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index 8bf59f1b..304f3c84 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "3.10.1" +version = "3.10.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 052391f0..75bd6e68 100644 --- a/bon-sandbox/Cargo.toml +++ b/bon-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-sandbox" -version = "3.10.1" +version = "3.10.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", "experimental-generics-setters"] path = "../bon" -version = "=3.10.1" +version = "=3.10.2" diff --git a/bon/Cargo.toml b/bon/Cargo.toml index f4fdbe3f..0ec40105 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "3.10.1" +version = "3.10.2" description = "Next-gen compile-time-checked builder generator, named function's arguments, and more!" @@ -39,7 +39,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.10.1" } +bon-macros = { path = "../bon-macros", version = "=3.10.2" } [dev-dependencies] expect-test = "1.4.1" diff --git a/website/src/changelog.md b/website/src/changelog.md index f9b0b117..9e4c8566 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -5,6 +5,19 @@ 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.10.2](https://github.com/elastio/bon/compare/v3.10.1...v3.10.2) - 2026-10-02 + +### Fixed + +- clippy::missing_docs_in_private_items triggering for `field` members ([#407](https://github.com/elastio/bon/pull/407)) + +### Other + +- I asked Claude to research and optimize bon compile times, and it f*cking did it. ~30% improvement ([#405](https://github.com/elastio/bon/pull/405)) +- *(benchmarks)* measure builder usage in compilation benchmarks ([#406](https://github.com/elastio/bon/pull/406)) +- Bump miri ([#404](https://github.com/elastio/bon/pull/404)) +- attribute the old macro bottleneck to the syn parse ([#408](https://github.com/elastio/bon/pull/408)) + ## [3.10.1](https://github.com/elastio/bon/compare/v3.10.0...v3.10.1) - 2026-09-07 ### Changed From 8abbc87fcb15f952a607f3aea7aa5a30375fc05e Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 2 Oct 2026 21:48:26 +0000 Subject: [PATCH 2/3] 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 75bd6e68..793159de 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.10.2" +version = "=3.10.2" From a946f410260d7d4d23bf0fe3330d9aea17da4397 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Fri, 2 Oct 2026 21:48:35 +0000 Subject: [PATCH 3/3] Update changelog --- website/src/changelog.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/website/src/changelog.md b/website/src/changelog.md index 9e4c8566..8f3e79d5 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -7,16 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [3.10.2](https://github.com/elastio/bon/compare/v3.10.1...v3.10.2) - 2026-10-02 +### Changed + +- Improve the compile time of the builder macros and the code they generate by ~30% ([#405](https://github.com/elastio/bon/pull/405)) + ### Fixed -- clippy::missing_docs_in_private_items triggering for `field` members ([#407](https://github.com/elastio/bon/pull/407)) +- Fix `clippy::missing_docs_in_private_items` triggering for `field` members ([#407](https://github.com/elastio/bon/pull/407)) -### Other +### Internal -- I asked Claude to research and optimize bon compile times, and it f*cking did it. ~30% improvement ([#405](https://github.com/elastio/bon/pull/405)) -- *(benchmarks)* measure builder usage in compilation benchmarks ([#406](https://github.com/elastio/bon/pull/406)) -- Bump miri ([#404](https://github.com/elastio/bon/pull/404)) -- attribute the old macro bottleneck to the syn parse ([#408](https://github.com/elastio/bon/pull/408)) +- Regular maintenance ([#404](https://github.com/elastio/bon/pull/404), [#406](https://github.com/elastio/bon/pull/406), [#408](https://github.com/elastio/bon/pull/408)) ## [3.10.1](https://github.com/elastio/bon/compare/v3.10.0...v3.10.1) - 2026-09-07