Skip to content
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

chore: release v0.5.0 #214

Merged
merged 1 commit into from
Jun 5, 2023
Merged

chore: release v0.5.0 #214

merged 1 commit into from
Jun 5, 2023

Conversation

frol
Copy link
Collaborator

@frol frol commented Jun 5, 2023

🤖 New release

  • near-cli-rs: 0.4.3 -> 0.5.0 (⚠️ API breaking changes)

⚠️ near-cli-rs breaking changes

--- 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-check/tree/v0.20.1/src/lints/constructible_struct_adds_field.ron

Failed in:
  field CliSignKeychain.signer_public_key in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_keychain/mod.rs:11
  field CliSignKeychain.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_keychain/mod.rs:11
  field CliSignPrivateKey.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_private_key/mod.rs:7
  field TransactionContext.global_context in /tmp/.tmp5tj8Mk/near-cli-rs/src/commands/mod.rs:78
  field InteractiveClapContextScopeForSignSeedPhrase.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_seed_phrase/mod.rs:9
  field SubmitContext.global_context in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/mod.rs:302
  field InteractiveClapContextScopeForSignAccessKeyFile.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_access_key_file/mod.rs:7
  field CliSignAccessKeyFile.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_access_key_file/mod.rs:7
  field InteractiveClapContextScopeForSignPrivateKey.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_private_key/mod.rs:7
  field CliSignSeedPhrase.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_seed_phrase/mod.rs:9
  field ContractContext.global_context in /tmp/.tmp5tj8Mk/near-cli-rs/src/commands/account/storage_management/mod.rs:19
  field ActionContext.global_context in /tmp/.tmp5tj8Mk/near-cli-rs/src/commands/mod.rs:67
  field InteractiveClapContextScopeForSignKeychain.signer_public_key in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_keychain/mod.rs:11
  field InteractiveClapContextScopeForSignKeychain.block_height in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/sign_with_keychain/mod.rs:11

--- 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-check/tree/v0.20.1/src/lints/enum_variant_added.ron

Failed in:
  variant SignWith:SignLater in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/mod.rs:59
  variant SignWithDiscriminants:SignLater in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/mod.rs:59
  variant SignWithDiscriminants:SignLater in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/mod.rs:59
  variant CliSignWith:SignLater in /tmp/.tmp5tj8Mk/near-cli-rs/src/transaction_signature_options/mod.rs:18

--- 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-check/tree/v0.20.1/src/lints/inherent_method_missing.ron

Failed in:
  SignLedger::input_nonce, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/transaction_signature_options/sign_with_ledger/mod.rs:241
  SignLedger::input_block_hash, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/transaction_signature_options/sign_with_ledger/mod.rs:247

--- 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-check/tree/v0.20.1/src/lints/struct_missing.ron

Failed in:
  struct near_cli_rs::types::transaction::Transaction, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/types/transaction.rs:2
  struct near_cli_rs::common::TransactionAsBase64, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/common.rs:43

--- 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-check/tree/v0.20.1/src/lints/struct_pub_field_missing.ron

Failed in:
  field config of struct ActionContext, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/commands/mod.rs:67
  field config of struct ContractContext, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/commands/account/storage_management/mod.rs:19
  field config of struct TransactionContext, previously in file /tmp/.tmp9KOdC6/near-cli-rs/src/commands/mod.rs:78
Changelog

0.5.0 - 2023-06-05

Added

  • New offline mode allows to prepare transactions on devices that are not connected to the Internet (#209)

Fixed

  • Add support for no-args view-function calls for legacy JS CLI view command (#213)


This PR was generated with release-plz.

@frol frol force-pushed the release-plz/2023-06-05T12-50-54Z branch from 7571caf to 8c7bd07 Compare June 5, 2023 12:55
@frol frol merged commit 5581fdc into master Jun 5, 2023
@frol frol deleted the release-plz/2023-06-05T12-50-54Z branch June 5, 2023 13:05
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