Skip to content

Conversation

@JounQin
Copy link
Member

@JounQin JounQin commented Mar 18, 2025

🤖 New release

  • unrspack-resolver: 1.1.2 -> 2.0.0 (⚠ API breaking changes)

unrspack-resolver breaking changes

--- failure enum_tuple_variant_changed_kind: An enum tuple variant changed kind ---

Description:
A public enum's exhaustive tuple variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/enum_tuple_variant_changed_kind.ron

Failed in:
  variant ResolveError::Builtin in /tmp/.tmp4MTfVl/rspack-resolver/src/error.rs:51

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/inherent_method_missing.ron

Failed in:
  ResolverGeneric::new_with_file_system, previously in file /tmp/.tmpqPLplz/unrspack-resolver/src/lib.rs:145

--- failure inherent_method_must_use_added: inherent method #[must_use] added ---

Description:
An inherent method is now #[must_use]. Downstream crates that did not use its return value will get a compiler lint.
        ref: https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-must_use-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/inherent_method_must_use_added.ron

Failed in:
  method unrspack_resolver::ResolverGeneric::new in /tmp/.tmp4MTfVl/rspack-resolver/src/lib.rs:150
  method unrspack_resolver::ResolverGeneric::options in /tmp/.tmp4MTfVl/rspack-resolver/src/lib.rs:183
  method unrspack_resolver::ResolveError::is_ignore in /tmp/.tmp4MTfVl/rspack-resolver/src/error.rs:106
  method unrspack_resolver::FileMetadata::new in /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:84
  method unrspack_resolver::EnforceExtension::is_auto in /tmp/.tmp4MTfVl/rspack-resolver/src/options.rs:391
  method unrspack_resolver::EnforceExtension::is_enabled in /tmp/.tmp4MTfVl/rspack-resolver/src/options.rs:396
  method unrspack_resolver::EnforceExtension::is_disabled in /tmp/.tmp4MTfVl/rspack-resolver/src/options.rs:401
  method unrspack_resolver::Resolution::path in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:54
  method unrspack_resolver::Resolution::into_path_buf in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:60
  method unrspack_resolver::Resolution::query in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:66
  method unrspack_resolver::Resolution::fragment in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:72
  method unrspack_resolver::Resolution::package_json in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:78
  method unrspack_resolver::Resolution::full_path in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:84

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/struct_missing.ron

Failed in:
  struct unrspack_resolver::PackageJson, previously in file /tmp/.tmpqPLplz/unrspack-resolver/src/package_json.rs:14

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field is_file of struct FileMetadata, previously in file /tmp/.tmpqPLplz/unrspack-resolver/src/file_system.rs:69
  field is_dir of struct FileMetadata, previously in file /tmp/.tmpqPLplz/unrspack-resolver/src/file_system.rs:70
  field is_symlink of struct FileMetadata, previously in file /tmp/.tmpqPLplz/unrspack-resolver/src/file_system.rs:71

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field FileMetadata.is_file in file /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:76
  field FileMetadata.is_dir in file /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:76
  field FileMetadata.is_symlink in file /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:76

--- failure trait_added_supertrait: non-sealed trait added new supertraits ---

Description:
A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#generic-bounds-tighten
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_added_supertrait.ron

Failed in:
  trait unrspack_resolver::FileSystem gained Send in file /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:11
  trait unrspack_resolver::FileSystem gained Sync in file /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:11

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_method_added.ron

Failed in:
  trait method unrspack_resolver::FileSystem::read_link in file /tmp/.tmp4MTfVl/rspack-resolver/src/file_system.rs:59

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait Resolution (0 -> 1 required generic types) in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:10

--- failure type_requires_more_generic_type_params: type now requires more generic type parameters ---

Description:
A type now requires more generic type parameters than it used to. Uses of this type that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Struct Resolution (0 -> 1 required generic types) in /tmp/.tmp4MTfVl/rspack-resolver/src/resolution.rs:10
Changelog


This PR was generated with release-plz.

@github-actions github-actions bot force-pushed the release-plz-2025-03-18T09-30-09Z branch from c992303 to e7360fe Compare March 18, 2025 09:30
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 18, 2025

CodSpeed Performance Report

Merging #17 will not alter performance

Comparing release-plz-2025-03-18T09-30-09Z (c992303) with main (83ced0b)

Summary

✅ 3 untouched benchmarks

@github-actions github-actions bot force-pushed the release-plz-2025-03-18T09-30-09Z branch 2 times, most recently from 45b7aca to ff5be70 Compare March 18, 2025 10:18
@github-actions github-actions bot force-pushed the release-plz-2025-03-18T09-30-09Z branch from ff5be70 to 5b47273 Compare March 18, 2025 10:33
@github-actions github-actions bot force-pushed the release-plz-2025-03-18T09-30-09Z branch from 5b47273 to d0a1e0c Compare March 18, 2025 10:33
@JounQin JounQin closed this Mar 18, 2025
@JounQin JounQin deleted the release-plz-2025-03-18T09-30-09Z branch March 18, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants