Skip to content

chore: release v0.3.0#13

Merged
Krahos merged 1 commit intomainfrom
release-plz-2026-02-22T16-27-06Z
Feb 22, 2026
Merged

chore: release v0.3.0#13
Krahos merged 1 commit intomainfrom
release-plz-2026-02-22T16-27-06Z

Conversation

@github-actions
Copy link
Contributor

🤖 New release

  • shuftlib: 0.2.0 -> 0.3.0 (⚠ API breaking changes)

shuftlib breaking changes

--- failure enum_struct_variant_field_added: pub enum struct variant field added ---

Description:
An enum's exhaustive struct variant has a new field, which has to be included when constructing or matching on this variant.
        ref: https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/enum_struct_variant_field_added.ron

Failed in:
  field suit of variant Error::MustFollowSuit in /tmp/.tmp4gQqXd/shuftlib/src/tressette/game.rs:67
  field suit of variant Error::MustFollowSuit in /tmp/.tmp4gQqXd/shuftlib/src/tressette/game.rs:67

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

Failed in:
  OngoingTrick::set_card, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/trick.rs:165
  OngoingTrick::set_card, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/trick.rs:165
  OngoingTrick::set_card, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/trick.rs:165
  OngoingTrick::set_card, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/trick.rs:165
  GameBuilder::hands, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/game.rs:81
  GameBuilder::next_to_play, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/game.rs:83
  GameBuilder::trick_leader, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/game.rs:84
  GameBuilder::hands_completed, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/game.rs:86
  OngoingHand::index, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/hand.rs:129
  OngoingHand::index, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/hand.rs:129
  OngoingHand::index, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/hand.rs:129
  OngoingHand::index, previously in file /tmp/.tmpT3uGMB/shuftlib/src/trick_taking/hand.rs:129
  TressetteRules::is_completed, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/rules.rs:105
  TressetteRules::compute_score, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/rules.rs:235
  TressetteRules::is_completed, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/rules.rs:105
  TressetteRules::compute_score, previously in file /tmp/.tmpT3uGMB/shuftlib/src/tressette/rules.rs:235

--- 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.46.0/src/lints/trait_method_added.ron

Failed in:
  trait method shuftlib::core::trick_taking::TrickTakingGame::deck in file /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:48
  trait method shuftlib::trick_taking::TrickTakingGame::deck in file /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:48

--- failure trait_method_default_impl_removed: pub trait default method impl removed ---

Description:
A method's default impl in an unsealed trait has been removed, breaking trait implementations that relied on that default
        ref: https://doc.rust-lang.org/book/ch10-02-traits.html#default-implementations
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/trait_method_default_impl_removed.ron

Failed in:
  trait method shuftlib::core::trick_taking::TrickTakingGame::score_hand in file /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:31
  trait method shuftlib::core::trick_taking::TrickTakingGame::is_game_over in file /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:39
  trait method shuftlib::trick_taking::TrickTakingGame::score_hand in file /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:31
  trait method shuftlib::trick_taking::TrickTakingGame::is_game_over in file /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:39

--- failure trait_method_no_longer_has_receiver: trait method became associated function by losing receiver ---

Description:
A trait method has lost its receiver. Now it can only be invoked as an associated function, instead of as a method on a value.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-item-signature
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/trait_method_no_longer_has_receiver.ron

Failed in:
  shuftlib::core::trick_taking::TrickTakingGame::score_hand no longer takes &Self in /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:31
  shuftlib::core::trick_taking::TrickTakingGame::is_game_over no longer takes &Self in /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:39
  shuftlib::trick_taking::TrickTakingGame::score_hand no longer takes &Self in /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:31
  shuftlib::trick_taking::TrickTakingGame::is_game_over no longer takes &Self in /tmp/.tmp4gQqXd/shuftlib/src/trick_taking.rs:39
Changelog

0.3.0 - 2026-02-22

Other

  • [breaking] code cleanup and api refactoring, license (#12)


This PR was generated with release-plz.

@Krahos Krahos merged commit a77defd into main Feb 22, 2026
@Krahos Krahos deleted the release-plz-2026-02-22T16-27-06Z branch February 22, 2026 16:28
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.

1 participant