Releases: elastio/bon
Releases · elastio/bon
v3.9.3
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)
Internal
v3.7.2
v3.7.1
v3.7.0
Added
- Add support for
#[builder(derive(IntoFuture(Box)))](#322).
This allows callingbuilder.awaitinstead ofbuilder.call().await. Thanks @jakubadamw for the contribution!
Fixed
- Add missing
whereclause forwarding to#[builder(derive(Into))](#325)