v0.18.0
What's Changed
- Baseline rustdoc JSON is cached, since it rarely changes. This cuts project build times in half.
- New
--release-type <major/minor/patch>
flag. Use it to opt out of semver-minor lints, or to override the automatic release categorization logic based on version numbers. - New lint:
type_marked_deprecated
, requiring minor bump on deprecations of structs and enums - Bugfixes:
- Avoid false-positives on crates that expose 3rd party types in APIs but the local lockfile doesn't use the latest version of the 3rd party crate (#167), fixed by changing the rustdoc generation approach in #341
- Ignore rustdoc lint errors, so that semver-checking linty crates is allowed (obi1kenobi/cargo-semver-checks-action#17), implemented in #357
Four new contributors this week: welcome @thomaseizinger, @Finomnis, @Emilgardis, @Daaiid! Almost all of the items above are things they built — well done 🎉🚀
All Merged PRs
- Cache generated rustdoc for registry baselines by @thomaseizinger in #339
- Refactor of baseline.rs for easier next additive changes by @tonowak in #340
- Update dependency versions. by @obi1kenobi in #345
- Changed all baseline rustdoc generations to use placeholder manifest by @tonowak in #341
- Add a test case for non-breaking item renaming. by @obi1kenobi in #349
- Added
cargo doc
in lint job by @tonowak in #352 - Changed some load_rustdoc arguments to a struct by @tonowak in #347
- Renamed baseline.rs and dump.rs files by @tonowak in #348
- Baseline variable renames by @tonowak in #350
- Using placeholder rustdoc generation for current crate by @tonowak in #351
- Fixed link in check_release.rs by @tonowak in #358
- Fix syntax highlighting in README.md by @Finomnis in #363
cap-lints
when building rustdoc JSON by @Emilgardis in #357- Add
--release-type
flag by @Finomnis in #361 - Add lint for "deprecated" attribute on structs and enums by @Daaiid in #365
- Release v0.18.0. by @obi1kenobi in #367
New Contributors
- @thomaseizinger made their first contribution in #339
- @Finomnis made their first contribution in #363
- @Emilgardis made their first contribution in #357
- @Daaiid made their first contribution in #365
Full Changelog: v0.17.1...v0.18.0