Releases: elastio/bon
Release list
v3.10.0
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
defaultswitch in theon(...)clause (#398). Thanks @ChrisJr404 for the contribution!
Changed
- Bump MSRV to
1.88.0, move to the 2024 edition, update tosyn@3.0anddarling@0.24(#399) - Deprecate the
implied-boundscargo feature. Implied bounds are now generated by default (#399)
Internal
- Regular maintenance (#392)
v3.9.3
Fixed
- Fix clippy::missing_docs_in_private_items triggering for start_fn members (#389)
v3.9.2
v3.9.1
v3.9.0
v3.8.2
v3.8.1
v3.8.0
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)