Skip to content

chore: release v0.21.0 #489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025
Merged

chore: release v0.21.0 #489

merged 1 commit into from
Jul 8, 2025

Conversation

frol
Copy link
Collaborator

@frol frol commented May 27, 2025

🤖 New release

  • near-cli-rs: 0.20.0 -> 0.21.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 ContractActionsDiscriminants::DownloadAbi 4 -> 5 in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:61
  variant ContractActionsDiscriminants::DownloadWasm 5 -> 6 in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:64
  variant ContractActionsDiscriminants::ViewStorage 6 -> 7 in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:67
  variant ContractActionsDiscriminants::DownloadAbi 4 -> 5 in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:61
  variant ContractActionsDiscriminants::DownloadWasm 5 -> 6 in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:64
  variant ContractActionsDiscriminants::ViewStorage 6 -> 7 in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:67

--- 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 SignWithDiscriminants:SubmitAsDaoProposal in /tmp/.tmpHq8aq0/near-cli-rs/src/transaction_signature_options/mod.rs:64
  variant SignWithDiscriminants:SubmitAsDaoProposal in /tmp/.tmpHq8aq0/near-cli-rs/src/transaction_signature_options/mod.rs:64
  variant CliContractActions:Verify in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:26
  variant CliSignWith:SubmitAsDaoProposal in /tmp/.tmpHq8aq0/near-cli-rs/src/transaction_signature_options/mod.rs:19
  variant SignWith:SubmitAsDaoProposal in /tmp/.tmpHq8aq0/near-cli-rs/src/transaction_signature_options/mod.rs:64
  variant ContractActionsDiscriminants:Verify in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:58
  variant ContractActionsDiscriminants:Verify in /tmp/.tmpHq8aq0/near-cli-rs/src/commands/contract/mod.rs:58

--- failure trait_newly_sealed: pub trait became sealed ---

Description:
A publicly-visible trait became sealed, so downstream crates are no longer able to implement it
        ref: https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.41.0/src/lints/trait_newly_sealed.ron

Failed in:
  trait near_cli_rs::common::JsonRpcClientExt in file /tmp/.tmpHq8aq0/near-cli-rs/src/common.rs:2342
Changelog

0.21.0 - 2025-07-08

Added

  • Improved support for importing implicit accounts (#498)
  • Added a command to confirm locally that the deployed contract matches the source code it was built from (#480)
  • Add support for submitting general DAO proposals (#492)

Fixed

  • Fixed typos in the default CLI config (#501)
  • Fixed error RpcError: [missing field disable_9393_fix] (#502)
  • use re-rexported version of indicatif module, needed for tracing-indicatif (#503)
  • clippy::result_large_err warning (#488)

Other

  • Added verify_contract/inspect_contract feauture gates (#504)
  • Pinned binary releases to use ubuntu-22.04 (#506)
  • Fixed linting errors - non-inlined formatting syntax (#499)
  • fix some typos (#494)
  • simplified action struct (#493)
  • added more RPCs (FAST NEAR and Lava) to the default config generation (#491)
  • introduced BoxedJsonRpcResult type (#490)
  • fixed shell configuration for command history (#487)


This PR was generated with release-plz.

@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools May 27, 2025
@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch from 4f4ffba to 2736c48 Compare May 27, 2025 15:58
@frol frol changed the title chore: release v0.20.1 chore: release v0.21.0 May 27, 2025
@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch 2 times, most recently from feb5682 to 5a128ec Compare May 30, 2025 16:35
@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch 2 times, most recently from 03b3fc3 to 611a904 Compare June 19, 2025 21:36
@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch 4 times, most recently from 4f75015 to 5bef685 Compare June 27, 2025 19:45
@dj8yfo
Copy link
Collaborator

dj8yfo commented Jul 7, 2025

blocking this release temporarily, as feature gates of https://github.com/near/near-cli-rs/blob/main/Cargo.toml#L124-L129
have to be added/corrected before releasing in order to have the intended integration at site of import
in https://github.com/near/cargo-near/blob/main/cargo-near/Cargo.toml#L42

Copy link
Collaborator

@dj8yfo dj8yfo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above

@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch 3 times, most recently from 5b8e27b to c8e5193 Compare July 7, 2025 17:40
@dj8yfo
Copy link
Collaborator

dj8yfo commented Jul 7, 2025

this comment #489 (comment) has been handled in #504 and tested in near/cargo-near#352

@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch from c8e5193 to 70007cd Compare July 8, 2025 08:41
@frol frol force-pushed the release-plz-2025-05-27T13-07-21Z branch from 70007cd to 1acdef0 Compare July 8, 2025 09:02
@frol frol merged commit 5eff721 into main Jul 8, 2025
11 checks passed
@frol frol deleted the release-plz-2025-05-27T13-07-21Z branch July 8, 2025 10:16
@github-project-automation github-project-automation bot moved this from NEW❗ to Shipped 🚀 in DevTools Jul 8, 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.

2 participants