Skip to content

v0.21.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Jun 17:42
· 450 commits to main since this release
81890e5

What's Changed

  • Better defaults and fine-grained control over which crate features are semver-checked
    • Includes CLI flags for overriding feature groups and including features to be checked.
    • New heuristic for choosing features to semver-check while avoiding unstable, nightly, and private-only features.
    • This heuristic replaces the prior default behavior of checking all features even if they were clearly marked as unstable or private.
  • New lint: trait_method_missing
  • Many improvements to various error messages.

This release only supports semver-checking rustdoc generated by Rust 1.67+, dropping support for rustdoc formats v21 and v22 part of Rust 1.65 and 1.66 respectively. This was previously announced in the release notes of the v0.20 release.

All Merged PRs

  • Minimum rustc version error by @arnaudgolfouse in #449
  • Add ability to specify features in CLI by @staniewzki in #426
  • Upgrade dependency versions. by @obi1kenobi in #455
  • feat: Add lint for missing trait methods by @zurawiki in #427
  • Improved error message when no baseline version found on crates.io by @era in #456
  • Replace rustdoc v25 with v26 support. by @obi1kenobi in #457
  • Update to git2 0.17 and accompanying new crates-index version. by @obi1kenobi in #460
  • Update features heuristic to include more unstable and private feature name patterns by @era in #463
  • Running cargo semver-checks with no other arguments should default to checking by @era in #459
  • Add Rust 1.69 to test list. by @obi1kenobi in #464
  • Update README with feature flags examples by @staniewzki in #458
  • Release v0.21. by @obi1kenobi in #466

New Contributors

Full Changelog: v0.20.1...v0.21.0