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.1"
bon = "3.2"
```

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.1.1"
version = "3.2.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.1.1"
version = "3.2.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.20"
[dependencies.bon]
features = ["experimental-overwritable", "experimental-getter"]
path = "../bon"
version = "=3.1.1"
version = "=3.2.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.1.1"
version = "3.2.0"

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

Expand Down Expand Up @@ -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.1.1" }
bon-macros = { path = "../bon-macros", version = "=3.2.0" }
rustversion = "1"

[dev-dependencies]
Expand Down
6 changes: 6 additions & 0 deletions website/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.2.0](https://github.com/elastio/bon/compare/v3.1.1...v3.2.0) - 2024-12-01

### Added

- Add `#[builder(getter(...))]` attribute to define getters for already set members. See [Getters](https://bon-rs.com/guide/typestate-api/getters) guide for details ([#222](https://github.com/elastio/bon/pull/222)) ([#226](https://github.com/elastio/bon/pull/226)). Thanks [@lazkindness](https://github.com/lazkindness) for the contribution!

## [3.1.1](https://github.com/elastio/bon/compare/v3.1.0...v3.1.1) - 2024-11-27

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion website/src/guide/typestate-api/custom-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,5 @@ This is implemented as a cargo feature to make sure `bon` maintains a lower MSRV

```toml
[dependencies]
bon = { version = "3.1", features = ["implied-bounds"] }
bon = { version = "3.2", features = ["implied-bounds"] }
```
Loading