Skip to content

Conversation

frol
Copy link
Collaborator

@frol frol commented Jul 11, 2025

🤖 New release

  • near-cli-rs: 0.21.0 -> 0.22.0 (⚠ API breaking changes)

near-cli-rs breaking changes

--- 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.41.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant TopLevelCommandDiscriminants::Config 5 -> 6 in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:50
  variant TopLevelCommandDiscriminants::Extensions 6 -> 7 in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:54
  variant TopLevelCommandDiscriminants::Config 5 -> 6 in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:50
  variant TopLevelCommandDiscriminants::Extensions 6 -> 7 in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:54

--- 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.41.0/src/lints/enum_variant_added.ron

Failed in:
  variant CliTopLevelCommand:Message in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:15
  variant TopLevelCommandDiscriminants:Message in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:45
  variant TopLevelCommandDiscriminants:Message in /tmp/.tmphokuMN/near-cli-rs/src/commands/mod.rs:45
Changelog

0.22.0 - 2025-07-21

Added

  • New "message sign-nep413" command - NEP-413 offchain messages signing (#507)

Fixed

  • Gracefully handle (Started, NotStarted) transaction status (#510)

Other

  • Removed dj8yfo from CODEOWNERS


This PR was generated with release-plz.

@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Jul 11, 2025
@frol frol force-pushed the release-plz-2025-07-11T16-18-08Z branch from 4231d09 to 50b0bc7 Compare July 21, 2025 14:40
@frol frol force-pushed the release-plz-2025-07-11T16-18-08Z branch from 50b0bc7 to 691c555 Compare July 21, 2025 18:43
@frol frol merged commit 70b6d12 into main Jul 21, 2025
7 checks passed
@frol frol deleted the release-plz-2025-07-11T16-18-08Z branch July 21, 2025 18:47
@github-project-automation github-project-automation bot moved this from NEW❗ to Shipped 🚀 in DevTools Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Shipped 🚀
Development

Successfully merging this pull request may close these issues.

1 participant