Skip to content

Releases: elastio/bon

v3.9.3

Choose a tag to compare

@github-actions github-actions released this 15 Jun 10:06
0d44382

Fixed

  • Fix clippy::missing_docs_in_private_items triggering for start_fn members (#389)

v3.9.2

Choose a tag to compare

@github-actions github-actions released this 10 Jun 14:03
0f845dc

Fixed

  • Fix rust-analyzer "Go to Definition" inside #[builder] functions (#385)

Internal

v3.9.1

Choose a tag to compare

@github-actions github-actions released this 13 Mar 23:53
1f427d0

This is purely a minutiae update with zero changes to the Rust API. Enjoy the stability 🍸.

Fixed

  • Redistribute license files with the crates sources (#376)

Internal

  • Regular maintenance (#377)

v3.9.0

Choose a tag to compare

@github-actions github-actions released this 13 Feb 01:23
d87637c

Added

Internal

  • Regular maintenance (#365)

v3.8.2

Choose a tag to compare

@github-actions github-actions released this 08 Jan 13:24
9f43a1f

Fixed

  • Don't attempt to compile big default value showcases as ignored rust doctests (#360)

Internal

v3.8.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 12:31
b1d7dde

Fixed

  • Fix clippy::wrong_self_convention warning for fields with is_ prefix etc. (#349). Thanks @nicmue for the contribution!

Internal

  • Add a regression test for clippy::wrong_self_convention (#350)

v3.8.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 20:41
09b719a

Lint Update Notice

This release brings some rustdoc improvements and no other visible API changes except that rustc and clippy will start reporting some more true-positive lints. For example builder methods defined via an impl block annotated with #[bon] will now be correctly reported as unused if they are not used. Also, using a private type in a public builder method will trigger a private_interfaces lint now.

This is all thanks to the updated span handling design researched and implemented by @Eisverygoodletter. It's not clear what other new lints the new span handling may trigger in other realworld codebases. If you see a lint from the code generated by bon that you think shouldn't be there, please, open an issue, and it'll be fixed as soon as possible!

Changed

  • Make rustdoc source links for the starting function reference original function (#341). Thanks @Eisverygoodletter for the contribution!
  • Make rustdoc source links for setters/getters reference original member (#345)

Internal

v3.7.2

Choose a tag to compare

@github-actions github-actions released this 02 Sep 11:34
bbd8b09

Fixed

  • Add missing lifetime replacement for generic param declarations on derive(IntoFuture) impl block (#337)
  • Set the lower bound requirement of rustversion to v1.0.19 (#336). Thanks @Fokko for the contribution!

v3.7.1

Choose a tag to compare

@github-actions github-actions released this 19 Aug 19:48
bc940a1

This is a small patch release to make bon easier to package for Debian.

Other

  • Add Copyright header to the MIT License (#331)

Internal

  • Fix MSRV tests and lints from nightly 13-08-2025 (#329)
  • Revert refactoring PR 320 to make code compatible with darling 0.20 (#332)

v3.7.0

Choose a tag to compare

@github-actions github-actions released this 09 Aug 19:28
532df99

Added

Fixed

  • Add missing where clause forwarding to #[builder(derive(Into))] (#325)

Internal

  • Make tests pass without the experimental-overwritable feature (#326)
  • Sunset financial support by Kindness (#324)
  • Fix clippy lints from nightly (2025-08-09) (#323)