diff --git a/Cargo.lock b/Cargo.lock index b0cd0b91..ec3fd772 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "bon" -version = "2.2.1" +version = "2.3.0" dependencies = [ "bon-macros", "expect-test", @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "bon-macros" -version = "2.2.1" +version = "2.3.0" dependencies = [ "darling", "ident_case", diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index f07b451a..b1269908 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.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 1a2b2b60..822cadac 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "2.2.1" +version = "2.3.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.3.0" } rustversion = "1" [dev-dependencies] diff --git a/website/changelog.md b/website/changelog.md index 19770fdc..1ec93e1a 100644 --- a/website/changelog.md +++ b/website/changelog.md @@ -6,10 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.3.0](https://github.com/elastio/bon/compare/v2.2.1...v2.3.0) - 2024-09-14 + +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