v0.33.0
What's Changed
In this release:
- lint configuration
- a new lint
- support for rustdoc format v32
PSA: Installing cargo install cargo-semver-checks --no-default-features
will no longer work, due to a change in our dependencies that unfortunately had to propagate to our own features as well. Users should update that invocation to cargo install cargo-semver-checks --no-default-features --features gix-reqwest
to recover the old behavior. Thanks to @Lorak-mmk for flagging this change!
This release requires Rust 1.74+ both to install (MSRV) and at runtime. This is the last release to support Rust 1.74-1.76; future releases will require Rust 1.77+.
Lint configuration
Thanks to @suaviloquence's hard work as part of our participation in Google Summer of Code, users can now customize the SemVer (major/minor) and severity (deny/warn/allow) levels of cargo-semver-checks
lints 🎉
While we've already extensively tested this feature, we know that complex new code often reveals surprises when it first faces the real world. Please kindly report any bugs or reach out in the GSoC project's Zulip if you have questions or concerns.
Read more about this new feature on @suaviloquence's blog: https://blog.mcarr.one/
New lints
inherent_associated_const_now_doc_hidden
by @DeluxeRaph in #820
Support for rustdoc format v32
Latest nightly
Rust has switched to rustdoc format v32, so you'll want to update to this new release if you are relying on nightly. Implemented in #825, and in obi1kenobi/trustfall-rustdoc-adapter#338 by @Xuanwo.
All Merged PRs
- deserialize [package.metadata] and [workspace.metadata] tables by @suaviloquence in #798
- read package/workspace config from Cargo manifest by @suaviloquence in #799
- Bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 by @dependabot in #801
- Weekly
cargo update
of dependencies by @obi1kenobi in #802 - use configured required update version by @suaviloquence in #800
- Move lint configuration to [cargo-semver-checks.lints] table by @suaviloquence in #804
- add lint level field to query skeleton by @suaviloquence in #806
- Weekly
cargo update
of dependencies by @obi1kenobi in #807 - Handle lint level in check_release by @suaviloquence in #805
- annotate
unreachable!()
statements by @suaviloquence in #808 - add test for
allow
lint level by @suaviloquence in #809 - Weekly
cargo update
of dependencies by @obi1kenobi in #810 - Add
workspace
key to[cargo-semver-checks.lints]
table by @suaviloquence in #811 - Implement opt-in workspace overrides by @suaviloquence in #812
- make specifying
workspace = false
a hard error by @suaviloquence in #813 - Test that config is only read from new (i.e., current) manifest by @suaviloquence in #814
- Weekly
cargo update
of dependencies by @obi1kenobi in #817 - Make lint table entries compatible with cargo
[lints]
by @suaviloquence in #818 - Added inherent_associated_const_now_doc_hidden by @DeluxeRaph in #820
- Weekly
cargo update
of dependencies by @obi1kenobi in #822 - Add support for rustdoc JSON format v32. by @obi1kenobi in #825
- add lint config guide to README by @suaviloquence in #826
- Add explicit features for gix backend by @ggwpez in #824
- Expand lint-level configuration section in README. by @obi1kenobi in #828
- Minor fixes for lint config docs by @suaviloquence in #829
- Update all dependencies to compatible versions prior to release. by @obi1kenobi in #830
- Adjust semver-checking step for mutually-exclusive features. by @obi1kenobi in #832
- Release v0.33.0. by @obi1kenobi in #831
New Contributors
- @DeluxeRaph made their first contribution in #820
- @ggwpez made their first contribution in #824
Full Changelog: v0.32.0...v0.33.0