Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 12:25
· 201 commits to master since this release
dfd788e

See the blog post for this release that describes some of the most notable changes in detail. This post is available on the platform of your choice:

Added

  • #[must_use] on the build() method for structs and call() for functions (if the original function has #[must_use]) (#82). Thanks @EdJoPaTo for the contribution!

Changed

  • Optimize bon's generated code type-checking performance and improve error messages (#84)
  • Improve builder() method docs (#76). Thanks @EdJoPaTo for the contribution!

Fixed

  • Don't warn on clippy::impl_trait_in_params (#80). Thanks @EdJoPaTo for the contribution!
  • Fix typos in messages and code comments (#79). Thanks @EdJoPaTo for the contribution!

Other

  • Add more tests for #[must_use] (#87)