Skip to content

chore: release v0.23.0#523

Merged
frol merged 1 commit intomainfrom
release-plz-2025-11-06T09-11-50Z
Dec 11, 2025
Merged

chore: release v0.23.0#523
frol merged 1 commit intomainfrom
release-plz-2025-11-06T09-11-50Z

Conversation

@frol
Copy link
Collaborator

@frol frol commented Nov 6, 2025

🤖 New release

  • near-cli-rs: 0.22.2 -> 0.23.0 (⚠ API breaking changes)

near-cli-rs breaking changes

--- failure auto_trait_impl_removed: auto trait no longer implemented ---

Description:
A public type has stopped implementing one or more auto traits. This can break downstream code that depends on the traits being implemented.
        ref: https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.45.0/src/lints/auto_trait_impl_removed.ron

Failed in:
  type DaoProposalArgumentsContext is no longer Send, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:86
  type DaoProposalArgumentsContext is no longer Sync, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:86
  type DaoProposalArgumentsContext is no longer UnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:86
  type DaoProposalArgumentsContext is no longer RefUnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:86
  type PrepaidGasContext is no longer Send, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:141
  type PrepaidGasContext is no longer Sync, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:141
  type PrepaidGasContext is no longer UnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:141
  type PrepaidGasContext is no longer RefUnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:141
  type DepositContext is no longer Send, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:207
  type DepositContext is no longer Sync, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:207
  type DepositContext is no longer UnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:207
  type DepositContext is no longer RefUnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:207
  type DaoProposalContext is no longer Send, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:20
  type DaoProposalContext is no longer Sync, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:20
  type DaoProposalContext is no longer UnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:20
  type DaoProposalContext is no longer RefUnwindSafe, in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/submit_dao_proposal/mod.rs:20

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        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_field.ron

Failed in:
  field TransactionContext.on_after_signing_callback in /tmp/.tmpJqGcSK/near-cli-rs/src/commands/mod.rs:121
  field CliContract.contract_kind in /tmp/.tmpJqGcSK/near-cli-rs/src/commands/contract/download_wasm/mod.rs:299
  field NetworkConfig.mpc_contract_account_id in /tmp/.tmpJqGcSK/near-cli-rs/src/config/mod.rs:238

--- 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 DownloadContractContext no longer derives Clone, in /tmp/.tmpJqGcSK/near-cli-rs/src/commands/contract/download_wasm/mod.rs:86

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum 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/enum_missing.ron

Failed in:
  enum near_cli_rs::commands::contract::download_wasm::ClapNamedArgDownloadContractForContract, previously in file /tmp/.tmpsx396w/near-cli-rs/src/commands/contract/download_wasm/mod.rs:8

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

Failed in:
  variant SignWithDiscriminants::SignLater 6 -> 7 in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:65
  variant SignWithDiscriminants::SubmitAsDaoProposal 7 -> 8 in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:70
  variant SignWithDiscriminants::SignLater 6 -> 7 in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:65
  variant SignWithDiscriminants::SubmitAsDaoProposal 7 -> 8 in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:70

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

Failed in:
  variant CliSignWith:SignWithMpc in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:20
  variant SignWith:SignWithMpc in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:60
  variant SignWithDiscriminants:SignWithMpc in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:60
  variant SignWithDiscriminants:SignWithMpc in /tmp/.tmpJqGcSK/near-cli-rs/src/transaction_signature_options/mod.rs:60

--- 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:
  Contract::input_account_id, previously in file /tmp/.tmpsx396w/near-cli-rs/src/commands/contract/download_wasm/mod.rs:39
  NearAllowance::from_yoctonear, previously in file /tmp/.tmpsx396w/near-cli-rs/src/types/near_allowance.rs:44

--- 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 near_cli_rs::commands::contract::download_wasm::ContractContext, previously in file /tmp/.tmpsx396w/near-cli-rs/src/commands/contract/download_wasm/mod.rs:21

--- 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 account_id of struct InteractiveClapContextScopeForContract, previously in file /tmp/.tmpsx396w/near-cli-rs/src/commands/contract/download_wasm/mod.rs:8
  field account_id of struct CliContract, previously in file /tmp/.tmpsx396w/near-cli-rs/src/commands/contract/download_wasm/mod.rs:8
  field save_to_file of struct CliContract, previously in file /tmp/.tmpsx396w/near-cli-rs/src/commands/contract/download_wasm/mod.rs:8
Changelog

0.23.0 - 2025-12-11

Added

  • Updated user interface for interactive mode (#524)
  • Added support for reconstructing transaction with global contracts deploy or use actions (#521)
  • Sign transactions with MPC from a different account or even through a DAO proposal (#520)
  • Enabled aarch64 Windows binary builds (upgraded cargo-dist to 0.29.0) (#518)
  • introduce tests (#522)

Fixed

  • Fixed a flaky test (block hash can be 43 or 44 characters long when base58-encoded) (#529)

Other

  • bump near-* dependencies to 0.34 (nearcore release 2.10) (#528)
  • changed default rpc to archival fastnear (#527)


This PR was generated with release-plz.

@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Nov 6, 2025
@frol frol force-pushed the release-plz-2025-11-06T09-11-50Z branch from 8e995a2 to 0baefcb Compare November 28, 2025 14:58
@frol frol changed the title chore: release v0.22.3 chore: release v0.23.0 Nov 28, 2025
@frol frol force-pushed the release-plz-2025-11-06T09-11-50Z branch 4 times, most recently from 043a5b8 to b42b071 Compare December 3, 2025 13:22
Copilot AI review requested due to automatic review settings December 3, 2025 13:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This is a release PR bumping the version from 0.22.2 to 0.23.0, with breaking API changes. The release includes new MPC signing features, transaction reconstruction support, Windows aarch64 builds, test improvements, and RPC endpoint updates.

  • Version bumped from 0.22.2 to 0.23.0 across Cargo.toml and Cargo.lock
  • Changelog updated with new v0.23.0 release notes documenting added features, fixes, and other changes
  • Release date set to December 3, 2025

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
Cargo.toml Updated package version from 0.22.2 to 0.23.0
Cargo.lock Updated package version from 0.22.2 to 0.23.0 to match Cargo.toml
CHANGELOG.md Added v0.23.0 release notes with new features, fixes, and changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Added support for reconstructing transaction with global contracts deploy or use actions ([#521](https://github.com/near/near-cli-rs/pull/521))
- Sign transactions with MPC from a different account or even through a DAO proposal ([#520](https://github.com/near/near-cli-rs/pull/520))
- Enabled aarch64 Windows binary builds (upgraded cargo-dist to 0.29.0) ([#518](https://github.com/near/near-cli-rs/pull/518))
- introduce tests ([#522](https://github.com/near/near-cli-rs/pull/522))
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

Capitalization inconsistency: This line should start with a capital letter and use past tense to match the style of other changelog entries. Should be "Introduced tests" instead of "introduce tests".

Suggested change
- introduce tests ([#522](https://github.com/near/near-cli-rs/pull/522))
- Introduced tests ([#522](https://github.com/near/near-cli-rs/pull/522))

Copilot uses AI. Check for mistakes.

### Other

- changed default rpc to archival fastnear ([#527](https://github.com/near/near-cli-rs/pull/527))
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

Capitalization inconsistency: The word "changed" should be capitalized to match the style of other changelog entries. Should be "Changed default rpc to archival fastnear".

Suggested change
- changed default rpc to archival fastnear ([#527](https://github.com/near/near-cli-rs/pull/527))
- Changed default rpc to archival fastnear ([#527](https://github.com/near/near-cli-rs/pull/527))

Copilot uses AI. Check for mistakes.
@frol frol force-pushed the release-plz-2025-11-06T09-11-50Z branch from b42b071 to 93133ef Compare December 10, 2025 15:31
@frol frol force-pushed the release-plz-2025-11-06T09-11-50Z branch from 93133ef to 27a801b Compare December 11, 2025 16:20
@frol frol merged commit 3602146 into main Dec 11, 2025
4 of 9 checks passed
@frol frol deleted the release-plz-2025-11-06T09-11-50Z branch December 11, 2025 16:25
@github-project-automation github-project-automation bot moved this from NEW❗ to Shipped 🚀 in DevTools Dec 11, 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