From 8d5559ab51547b4387d33e730e7a774501f15a01 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 13:29:13 +0000 Subject: [PATCH 1/3] chore: release --- Cargo.lock | 4 ++-- bon-macros/Cargo.toml | 2 +- bon/Cargo.toml | 4 ++-- website/changelog.md | 6 ++++++ 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b0cd0b91..b6e135c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "bon" -version = "2.2.1" +version = "3.0.0" dependencies = [ "bon-macros", "expect-test", @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "bon-macros" -version = "2.2.1" +version = "2.2.2" dependencies = [ "darling", "ident_case", diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index f07b451a..cb399148 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "2.2.1" +version = "2.2.2" description = """ This is a proc-macro crate that is supposed to be a private implementation diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 1a2b2b60..3183b1bf 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "2.2.1" +version = "3.0.0" description = "Generate builders for everything!" @@ -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 = "=2.2.1" } +bon-macros = { path = "../bon-macros", version = "=2.2.2" } rustversion = "1" [dev-dependencies] diff --git a/website/changelog.md b/website/changelog.md index 19770fdc..7eb98ae9 100644 --- a/website/changelog.md +++ b/website/changelog.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.0.0](https://github.com/elastio/bon/compare/v2.2.1...v3.0.0) - 2024-09-14 + +### Other + +- Add support for positional params in `start_fn` and `finish_fn` ([#125](https://github.com/elastio/bon/pull/125)) + ### Fixed - Forward lint suppression from `#[allow()/expect()]` attributes written by the user on the top-level to the generated items From fcc463995560cb6532e07370726685351b65aa98 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 14 Sep 2024 13:34:25 +0000 Subject: [PATCH 2/3] Better changelog --- Cargo.lock | 2 +- bon-macros/Cargo.toml | 2 +- bon/Cargo.toml | 2 +- website/changelog.md | 11 +++++++---- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6e135c8..b93926b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "bon" -version = "3.0.0" +version = "2.3.0" dependencies = [ "bon-macros", "expect-test", diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index cb399148..b1269908 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "2.2.2" +version = "2.3.0" description = """ This is a proc-macro crate that is supposed to be a private implementation diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 3183b1bf..09318344 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "3.0.0" +version = "2.3.0" description = "Generate builders for everything!" diff --git a/website/changelog.md b/website/changelog.md index 7eb98ae9..1ec93e1a 100644 --- a/website/changelog.md +++ b/website/changelog.md @@ -6,16 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [3.0.0](https://github.com/elastio/bon/compare/v2.2.1...v3.0.0) - 2024-09-14 +## [2.3.0](https://github.com/elastio/bon/compare/v2.2.1...v2.3.0) - 2024-09-14 -### Other +See the [blog post for this release](https://elastio.github.io/bon/blog/bon-builder-v2-3-release) that describes some of the most notable changes in detail. + +### Added - Add support for positional params in `start_fn` and `finish_fn` ([#125](https://github.com/elastio/bon/pull/125)) ### Fixed -- Forward lint suppression from `#[allow()/expect()]` attributes written by the user on the top-level to the generated items -- Suppress the false-positive ([clippy issue]https://github.com/rust-lang/rust-clippy/issues/6947)) `clippy::future_not_send` lint +- Forward lint suppression from `#[allow()/expect()]` attributes written by the user on the top-level to the generated items ([#125](https://github.com/elastio/bon/pull/125)) +- Suppress the false-positive ([clippy issue](https://github.com/rust-lang/rust-clippy/issues/6947)) `clippy::future_not_send` lint ([#125](https://github.com/elastio/bon/pull/125)) +- Fix the cases where `#[builder(derive(Debug, Clone))]` didn't validate for all members to implement `Clone/Debug` if these members were of reference or generic types ([#125](https://github.com/elastio/bon/pull/125)) ## [2.2.1](https://github.com/elastio/bon/compare/v2.2.0...v2.2.1) - 2024-09-09 From 33da55df92f3a14fecd60c0029bad8000402082d Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 14 Sep 2024 13:34:53 +0000 Subject: [PATCH 3/3] Fix version --- Cargo.lock | 2 +- bon/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b93926b5..ec3fd772 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "bon-macros" -version = "2.2.2" +version = "2.3.0" dependencies = [ "darling", "ident_case", diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 09318344..822cadac 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -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 = "=2.2.2" } +bon-macros = { path = "../bon-macros", version = "=2.3.0" } rustversion = "1" [dev-dependencies]