diff --git a/Cargo.lock b/Cargo.lock index 26feec05..4e383650 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,7 +82,7 @@ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" [[package]] name = "bon" -version = "3.7.2" +version = "3.8.0" dependencies = [ "bon-macros", "expect-test", @@ -94,7 +94,7 @@ dependencies = [ [[package]] name = "bon-macros" -version = "3.7.2" +version = "3.8.0" dependencies = [ "darling 0.21.0", "expect-test", @@ -108,7 +108,7 @@ dependencies = [ [[package]] name = "bon-sandbox" -version = "3.7.2" +version = "3.8.0" dependencies = [ "bon", "buildstructor", diff --git a/README.md b/README.md index 2c90a420..78268602 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ Add `bon` to your `Cargo.toml`. ```toml [dependencies] -bon = "3.7" +bon = "3.8" ``` You can opt out of `std` and `alloc` cargo features with `default-features = false` for `no_std` environments. diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index 3a4c67fc..82b22b2c 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "3.7.2" +version = "3.8.0" 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 6e8b18c8..83b9de3c 100644 --- a/bon-sandbox/Cargo.toml +++ b/bon-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-sandbox" -version = "3.7.2" +version = "3.8.0" description = """ Not a real crate! It's just a showcase of examples used by `bon`'s documentation @@ -36,4 +36,4 @@ typed-builder = "0.21" [dependencies.bon] features = ["experimental-overwritable"] path = "../bon" -version = "=3.7.2" +version = "=3.8.0" diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 94fb92c5..a03f3679 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "3.7.2" +version = "3.8.0" 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.7.2" } +bon-macros = { path = "../bon-macros", version = "=3.8.0" } rustversion = "1" [dev-dependencies] diff --git a/website/src/changelog.md b/website/src/changelog.md index 30e2c9d8..f47871ca 100644 --- a/website/src/changelog.md +++ b/website/src/changelog.md @@ -5,6 +5,15 @@ 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.0](https://github.com/elastio/bon/compare/v3.7.2...v3.8.0) - 2025-10-04 + +### Other + +- Add some more assertions to eliminate dead code lints in tests ([#343](https://github.com/elastio/bon/pull/343)) +- Preserve `fn` and `{}` for `start_fn` so that rustdoc generates correct links ([#341](https://github.com/elastio/bon/pull/341)) +- Make rustdoc source links for setters/getters/other_items reference original member ([#345](https://github.com/elastio/bon/pull/345)) +- Fix msrv and unstable CI jobs ([#342](https://github.com/elastio/bon/pull/342)) + ## [3.7.2](https://github.com/elastio/bon/compare/v3.7.1...v3.7.2) - 2025-09-02 ### Fixed diff --git a/website/src/guide/typestate-api/custom-methods.md b/website/src/guide/typestate-api/custom-methods.md index b97b1579..59f259ca 100644 --- a/website/src/guide/typestate-api/custom-methods.md +++ b/website/src/guide/typestate-api/custom-methods.md @@ -293,5 +293,5 @@ This is implemented as a cargo feature to make sure `bon` maintains a lower MSRV ```toml [dependencies] -bon = { version = "3.7", features = ["implied-bounds"] } +bon = { version = "3.8", features = ["implied-bounds"] } ```