chore(deps): update cargo-semver-checks to v0.40.0 #15282
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.39.0
->0.40.0
Release Notes
obi1kenobi/cargo-semver-checks (cargo-semver-checks)
v0.40.0
Compare Source
In this release
#[doc(hidden)]
and sealed lintsThis release requires Rust 1.83+ both to install (MSRV) and at runtime. Future releases will require Rust 1.84+.
Spotlight:
#[doc(hidden)]
and sealed lintsWhen is "this trait can be implemented" part of the trait's public API?
At a high level, the answer is: when writing an
impl
of that trait for our own type doesn't require using any#[doc(hidden)]
items. But you've been followingcargo-semver-checks
long enough to know the full answer is much more complex. And getting the right answer here affects the correctness of a ton of lints!Good news! This
cargo-semver-checks
release ships with a much more sophisticated system for analyzing whether traits can be implemented or are instead "sealed." The new system is more thorough, more nuanced, and faster to boot!Read more about it here: https://predr.ag/blog/when-is-trait-can-be-implemented-public-api/
New lints
We added new 21 lints across several categories. Some of the new lints are error-by-default, while others are merely warnings meant to flag changes deserving closer review.
API breakage:
static_became_unsafe
ABI and FFI breakage due to changed
repr(C)
type layout:repr_c_enum_struct_variant_fields_reordered
repr_c_plain_struct_fields_reordered
Item deprecations, which cause lints in downstream use:
function_marked_deprecated
global_value_marked_deprecated
macro_marked_deprecated
proc_macro_marked_deprecated
struct_field_marked_deprecated
trait_associated_const_marked_deprecated
trait_associated_type_marked_deprecated
trait_marked_deprecated
trait_method_marked_deprecated
type_associated_const_marked_deprecated
type_method_marked_deprecated
Code behavior changes, such as changes to sort order of existing types:
partial_ord_enum_struct_variant_fields_reordered
partial_ord_enum_variants_reordered
partial_ord_struct_fields_reordered
Compatibility risks, such as changes that may require a SemVer major bump to revert, or may otherwise represent unintended API changes without being SemVer-major themselves:
pub_api_sealed_trait_became_unconditionally_sealed
unconditionally_sealed_trait_became_pub_api_sealed
unconditionally_sealed_trait_became_unsealed
pub_api_sealed_trait_became_unsealed
Thanks to @Frank-III, @geetanshjuneja, and @lovelindhoni for contributing lints to this release!
All merged PRs
trait_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1092cargo update
of dependencies by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1097function_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1093trait_method_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1098trait_associated_type_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1099trait_associated_const_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1100global_value_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1101macro_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1102sealed
property with newunconditionally_sealed
. by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1104proc_macro_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1118struct_field_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1125span_end_line
to lints with spans by @suaviloquence in https://github.com/obi1kenobi/cargo-semver-checks/pull/1126type_method_marked_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1130type_associated_const_deprecated
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1131cargo update
of dependencies by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1136cargo update
of dependencies by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1140cargo check
. by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1145repr_c_plain_struct_fields_reordered
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1138cargo update
of dependencies by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1147repr_c_enum_struct_variant_fields_reordered
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1152partial_ord_struct_field_reordered
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1161partial_ord_enum_variants_reordered
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1163partial_ord_enum_struct_variant_fields_reordered
by @Frank-III in https://github.com/obi1kenobi/cargo-semver-checks/pull/1165pub_api_sealed_trait_became_unsealed
by @lovelindhoni in https://github.com/obi1kenobi/cargo-semver-checks/pull/1162unconditionally_sealed_trait_became_unsealed
by @lovelindhoni in https://github.com/obi1kenobi/cargo-semver-checks/pull/1164pub_api_sealed_trait_became_unconditionally_sealed
by @lovelindhoni in https://github.com/obi1kenobi/cargo-semver-checks/pull/1166unconditionally_sealed_trait_became_pub_api_sealed
by @lovelindhoni in https://github.com/obi1kenobi/cargo-semver-checks/pull/1167cargo update
of dependencies by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1168#![no_std]
in test crates to speed up tests. by @obi1kenobi in https://github.com/obi1kenobi/cargo-semver-checks/pull/1171New Contributors
Full Changelog: obi1kenobi/cargo-semver-checks@v0.39.0...v0.40.0
Configuration
📅 Schedule: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.