Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: release v5.0.0#69

Merged
PeterKneale merged 1 commit into
mainfrom
release-plz-2026-06-26T21-42-13Z
Jun 26, 2026
Merged

chore: release v5.0.0#69
PeterKneale merged 1 commit into
mainfrom
release-plz-2026-06-26T21-42-13Z

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 New release

  • bioassert: 4.1.1 -> 5.0.0 (⚠ API breaking changes)

bioassert breaking changes

--- failure enum_changed_kind: pub enum changed kind ---

Description:
A public enum has been replaced by a different kind of item at the same path, which breaks code that relied on the enum's variants and representation.
        ref: https://github.com/obi1kenobi/cargo-semver-checks/issues/302
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/enum_changed_kind.ron

Failed in:
  enum bioassert::core::comparisons::Comparator became struct in /tmp/.tmpQmXfby/bioassert/src/core/comparisons/comparator.rs:28
  enum bioassert::core::Comparator became struct in /tmp/.tmpQmXfby/bioassert/src/core/comparisons/comparator.rs:28
  enum bioassert::core::comparisons::StringMatcher became struct in /tmp/.tmpQmXfby/bioassert/src/core/comparisons/comparator.rs:105
  enum bioassert::core::StringMatcher became struct in /tmp/.tmpQmXfby/bioassert/src/core/comparisons/comparator.rs:105

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant Rule::comparator 10 -> 11 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::size_unit 11 -> 12 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::count_unit 12 -> 13 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::boolean_unit 13 -> 14 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::size_value 14 -> 15 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::count_value 15 -> 16 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::unquoted_string 16 -> 17 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::string_value 17 -> 18 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::value 18 -> 19 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::guard_keyword 19 -> 20 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::condition 20 -> 21 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::comment 21 -> 22 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::assertion 22 -> 23 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::assertions 23 -> 24 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  variant Rule::file_contents 24 -> 25 in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/enum_variant_added.ron

Failed in:
  variant Rule:comparator_op in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5

--- warning partial_ord_enum_variants_reordered: enum variants reordered in #[derive(PartialOrd)] enum ---

Description:
A public enum that derives PartialOrd had its variants reordered. #[derive(PartialOrd)] uses the enum variant order to set the enum's ordering behavior, so this change may break downstream code that relies on the previous order.
        ref: https://doc.rust-lang.org/std/cmp/trait.PartialOrd.html#derivable
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/partial_ord_enum_variants_reordered.ron

Failed in:
  Rule::comparator moved from position 11 to 12, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::size_unit moved from position 12 to 13, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::count_unit moved from position 13 to 14, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::boolean_unit moved from position 14 to 15, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::size_value moved from position 15 to 16, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::count_value moved from position 16 to 17, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::unquoted_string moved from position 17 to 18, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::string_value moved from position 18 to 19, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::value moved from position 19 to 20, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::guard_keyword moved from position 20 to 21, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::condition moved from position 21 to 22, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::comment moved from position 22 to 23, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::assertion moved from position 23 to 24, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::assertions moved from position 24 to 25, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
  Rule::file_contents moved from position 25 to 26, in /tmp/.tmpQmXfby/bioassert/src/engine/parser.rs:5
Changelog

5.0.0 - 2026-06-26

Added

  • add a not comparator modifier and the file.contents metric (#68)


This PR was generated with release-plz.

@PeterKneale PeterKneale merged commit 354fd07 into main Jun 26, 2026
3 checks passed
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