v0.29.0
What's Changed
In this release: 5 new lints, one fixed false-positive, and assorted UX improvements.
This is the last release to support Rust 1.71-1.73. Future releases will require Rust 1.74+ both to install (MSRV) and at runtime.
Hat-tip to everyone that came to check out my talk on cargo-semver-checks
at FOSDEM 2024! We even got a chance to pair-program a few lints in the hallway after my talk: #649 with @rubdos, and #650 with @ehiggs.
Unfortunately, the FOSDEM recording had an AV glitch and lost ~10min of audio and video. But all is not lost!
- If you're in the Boston area, come to the Boston Rust meetup this Wednesday (Feb 21) where I'll again talk about cargo-semver-checks!
- I'm going to re-record the missing parts and post a new video, so follow me on Mastodon, Twitter, or Bluesky.
New lints:
exported_function_changed_abi
by @ehiggs (#650)repr_packed_added
by @jw013 (#666)repr_packed_removed
by @jw013 (#666)struct_pub_field_now_doc_hidden
by @rubdos (#649)trait_no_longer_object_safe
(Rust 1.77+ only) by @devanbenz (#659)
False positives fixed:
trait_method_unsafe_removed
no longer triggers on traits sealed using the pub-in-priv supertrait technique. Contributed by @yottalogical in #614.
Miscellaneous:
- Support checking
rlib
,dylib
, andstaticlib
Rust library types, by @obi1kenobi (#662, #663, #664). - Improve diagnostic messages when a crate fails to build, by @obi1kenobi (#656, #658)
All Merged PRs
- Weekly
cargo update
of dependencies by @obi1kenobi in #646 - Only run test with_env_var and with_flag on x86_64 by @Xeonacid in #647
- Weekly
cargo update
of dependencies by @obi1kenobi in #651 - test(with_env_var, with_flag): Add riscv64; Restrict os to Linux by @Xeonacid in #648
- Explicitly test on Rust 1.75 now that 1.76 comes out today. by @obi1kenobi in #652
- Weekly
cargo update
of dependencies by @obi1kenobi in #653 - feat: Trailing comma error message by @devanbenz in #655
- Improve diagnostic messages when surfacing errors from cargo. by @obi1kenobi in #656
- Improve error message readability by adding an extra newline. by @obi1kenobi in #658
- Weekly
cargo update
of dependencies by @obi1kenobi in #657 - Support checking rlib, dylib, and staticlib library types. by @obi1kenobi in #662
- feat: New lint trait_no_longer_object_safe by @devanbenz in #659
- Remove ability to check bin-only targets, to fix
doc = false
issue. by @obi1kenobi in #663 - Add test case for lib targets with a
doc = false
setting. by @obi1kenobi in #664 - Add lint for pub field becoming doc(hidden) by @rubdos in #649
- Fix false-positive in lint trait_method_unsafe_removed by @yottalogical in #614
- Add lints for repr(packed) being added or removed. by @jw013 in #666
- Minor QOL update to speed up reruns of regenerate_test_rustdocs script by @jw013 in #667
- Improves linting for issue 503 by adding lint to check ABI has not changed between functions with same
export_name
by @ehiggs in #650 - Weekly
cargo update
of dependencies by @obi1kenobi in #668 - Release v0.29.0 by @obi1kenobi in #669
New Contributors
- @Xeonacid made their first contribution in #647
- @devanbenz made their first contribution in #655
- @rubdos made their first contribution in #649
- @ehiggs made their first contribution in #650
Full Changelog: v0.28.0...v0.29.0