Skip to content

Commit

Permalink
chore: release v3.1.0 (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Veetaha <[email protected]>
  • Loading branch information
github-actions[bot] and Veetaha authored Nov 24, 2024
1 parent fed308f commit a5ccc08
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 10 deletions.
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 @@ -203,7 +203,7 @@ Add `bon` to your `Cargo.toml`.

```toml
[dependencies]
bon = "3.0"
bon = "3.1"
```

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.0.2"
version = "3.1.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.0.2"
version = "3.1.0"

description = """
Not a real crate! It's just a showcase of examples used by `bon`'s documentation
Expand Down Expand Up @@ -29,7 +29,7 @@ targets = ["x86_64-unknown-linux-gnu"]
workspace = true

[dependencies]
bon = { path = "../bon", version = "=3.0.2", features = ["experimental-overwritable"] }
bon = { path = "../bon", version = "=3.1.0", features = ["experimental-overwritable"] }
buildstructor = "0.5"
derive_builder = "0.20"
typed-builder = "0.20"
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.0.2"
version = "3.1.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.0.2" }
bon-macros = { path = "../bon-macros", version = "=3.1.0" }
rustversion = "1"

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

## [Unreleased]

## [3.1.0](https://github.com/elastio/bon/compare/v3.0.2...v3.1.0) - 2024-11-24

### Added

- Add [`#[builder(field)]`](https://bon-rs.com/reference/builder/member/field) to define custom private fields on the builder type. See [Custom Fields](https://bon-rs.com/guide/typestate-api/custom-fields) guide for details ([#207](https://github.com/elastio/bon/pull/207))

### Other

- Internal refactoring of naming in `bon`s test suite ([#215](https://github.com/elastio/bon/pull/215))

## [3.0.2](https://github.com/elastio/bon/compare/v3.0.1...v3.0.2) - 2024-11-20

### 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.0", features = ["implied-bounds"] }
bon = { version = "3.1", features = ["implied-bounds"] }
```

0 comments on commit a5ccc08

Please sign in to comment.