Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Add `bon` to your `Cargo.toml`.

```toml
[dependencies]
bon = "3.9"
bon = "3.10"
```

You can opt out of `std` and `alloc` cargo features with `default-features = false` for `no_std` environments.
Expand Down
2 changes: 1 addition & 1 deletion bon-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bon-macros"
version = "3.9.3"
version = "3.10.0"

description = """
This is a proc-macro crate that is supposed to be a private implementation
Expand Down
4 changes: 2 additions & 2 deletions bon-sandbox/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bon-sandbox"
version = "3.9.3"
version = "3.10.0"

description = """
Not a real crate! It's just a showcase of examples used by `bon`'s documentation
Expand Down Expand Up @@ -36,4 +36,4 @@ typed-builder = "0.23"
[dependencies.bon]
features = ["experimental-overwritable", "experimental-generics-setters"]
path = "../bon"
version = "=3.9.3"
version = "=3.10.0"
4 changes: 2 additions & 2 deletions bon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bon"
version = "3.9.3"
version = "3.10.0"

description = "Next-gen compile-time-checked builder generator, named function's arguments, and more!"

Expand Down Expand Up @@ -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.9.3" }
bon-macros = { path = "../bon-macros", version = "=3.10.0" }

[dev-dependencies]
expect-test = "1.4.1"
Expand Down
3 changes: 0 additions & 3 deletions scripts/sync-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ echo "Setting version $version"

sed -i "s/bon = \".*\"/bon = \"$version\"/" \
README.md

sed -i "s/bon = { version = \"[^\"]*\"/bon = { version = \"$version\"/" \
website/src/guide/typestate-api/custom-methods.md
23 changes: 23 additions & 0 deletions website/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@ 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.0](https://github.com/elastio/bon/compare/v3.9.3...v3.10.0) - 2026-08-25

### MSRV Update Notice

This release raises the minimum supported Rust version from `1.59.0` to `1.88.0`. If you are on an older compiler, stay on `bon@3.9`.

The new MSRV also comes with the deprecation of the `implied-bounds` cargo feature. Implied bounds are now added by default without any feature gate, so be sure to remove that feature from your `Cargo.toml` if you have it enabled. It's currently a no-op, and it won't be removed until a major release, for which there are no plans yet.

The MSRV bump comes from the `darling@0.24` update, which is the first version that uses `syn@3.0`.

### Added

- Support the `default` switch in the [`on(...)`](https://bon-rs.com/reference/builder/top-level/on) clause ([#398](https://github.com/elastio/bon/pull/398)). Thanks [@ChrisJr404](https://github.com/ChrisJr404) for the contribution!

### Changed

- Bump MSRV to `1.88.0`, move to the 2024 edition, update to `syn@3.0` and `darling@0.24` ([#399](https://github.com/elastio/bon/pull/399))
- Deprecate the `implied-bounds` cargo feature. Implied bounds are now generated by default ([#399](https://github.com/elastio/bon/pull/399))

### Internal

- Regular maintenance ([#392](https://github.com/elastio/bon/pull/392))

## [3.9.3](https://github.com/elastio/bon/compare/v3.9.2...v3.9.3) - 2026-06-15

### Fixed
Expand Down
Loading