Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 9, 2025

🤖 New release

  • api-keys-simplified: 0.1.1 -> 0.2.0 (⚠ API breaking changes)

api-keys-simplified breaking changes

--- failure constructible_struct_adds_private_field: struct no longer constructible due to new private field ---

Description:
A struct constructible with a struct literal has a new non-public field. It can no longer be constructed using a struct literal outside of its crate.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.45.0/src/lints/constructible_struct_adds_private_field.ron

Failed in:
  field KeyConfig.checksum_length in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/config.rs:240
  field KeyConfig.checksum_algorithm in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/config.rs:242
  field KeyConfig.version in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/config.rs:243

--- failure derive_trait_impl_removed: built-in derived trait no longer implemented ---

Description:
A public type has stopped deriving one or more traits. This can break downstream code that depends on those types implementing those traits.
        ref: https://doc.rust-lang.org/reference/attributes/derive.html#derive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.45.0/src/lints/derive_trait_impl_removed.ron

Failed in:
  type ApiKey no longer derives Clone, in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/domain.rs:46

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant 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.45.0/src/lints/enum_variant_missing.ron

Failed in:
  variant Error::Config, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/error.rs:16

--- 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.45.0/src/lints/inherent_method_missing.ron

Failed in:
  ApiKey::generate, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:31
  ApiKey::generate_default, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:44
  ApiKey::generate_high_security, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:51
  ApiKey::verify, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:58
  ApiKey::verify_checksum, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:62
  ApiKey::parse_prefix, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:88
  ApiKey::parse_environment, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/domain.rs:92
  KeyConfig::with_checksum, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/config.rs:189
  KeyConfig::with_hash_config, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/config.rs:194

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.45.0/src/lints/method_parameter_count_changed.ron

Failed in:
  api_keys_simplified::KeyPrefix::new now takes 1 parameters instead of 2, in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/config.rs:117

--- 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.45.0/src/lints/struct_missing.ron

Failed in:
  struct api_keys_simplified::SecureString, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/secure.rs:53

--- 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.45.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field entropy_bytes of struct KeyConfig, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/config.rs:167
  field include_checksum of struct KeyConfig, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/config.rs:168
  field hash_config of struct KeyConfig, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/config.rs:169
  field separator of struct KeyConfig, previously in file /tmp/.tmpXA27Ac/api-keys-simplified/src/config.rs:170

--- 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.45.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field KeyConfig.entropy_bytes in file /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/config.rs:238
  field KeyConfig.separator in file /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/config.rs:238

--- 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.45.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait ApiKey (0 -> 1 required generic types) in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/domain.rs:46

--- 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.45.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Struct ApiKey (0 -> 1 required generic types) in /tmp/.tmpzHzTy7/api-keys-simplified/crates/api-keys-simplified/src/domain.rs:46
Changelog

0.2.0 - 2025-12-09

Fixed

  • key prefix validation tests


This PR was generated with release-plz.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ssddOnTop ssddOnTop merged commit 2dcda3d into main Dec 9, 2025
9 checks passed
@ssddOnTop ssddOnTop deleted the release-plz-2025-12-09T00-52-27Z branch December 9, 2025 00:58
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