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 #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

frol
Copy link
Contributor

@frol frol commented Jan 13, 2025

🤖 New release

  • near-api: 0.4.0 -> 0.5.0 (⚠️ API breaking changes)

⚠️ near-api 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-checks/tree/v0.38.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field RPCEndpoint.retry_method in /tmp/.tmpMPrQHx/near-api-rs/src/config.rs:33

--- 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.38.0/src/lints/enum_missing.ron

Failed in:
  enum near_api::errors::SecretBuilderkError, previously in file /tmp/.tmp2YmacA/near-api/src/errors.rs:125

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

Failed in:
  variant SignerError:IO in /tmp/.tmpMPrQHx/near-api-rs/src/errors.rs:52
  variant AccountCreationError:AccountShouldBeSubAccountOfSignerOrLinkdrop in /tmp/.tmpMPrQHx/near-api-rs/src/errors.rs:160
  variant KeyStoreError:TaskExecutionError in /tmp/.tmpMPrQHx/near-api-rs/src/errors.rs:91
  variant AccessKeyFileError:PrivatePublicKeyMismatch in /tmp/.tmpMPrQHx/near-api-rs/src/errors.rs:76

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant 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.38.0/src/lints/enum_variant_missing.ron

Failed in:
  variant AccountCreationError::AccountShouldBeSubaccountOfSignerOrLinkdrop, previously in file /tmp/.tmp2YmacA/near-api/src/errors.rs:154

--- 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.38.0/src/lints/inherent_method_missing.ron

Failed in:
  RPCEndpoint::with_exponential_backoff, previously in file /tmp/.tmp2YmacA/near-api/src/config.rs:52
  RPCEndpoint::with_initial_sleep, previously in file /tmp/.tmp2YmacA/near-api/src/config.rs:59

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/module_missing.ron

Failed in:
  mod near_api::signer::access_keyfile_signer, previously in file /tmp/.tmp2YmacA/near-api/src/signer/access_keyfile_signer.rs:1

--- 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.38.0/src/lints/struct_missing.ron

Failed in:
  struct near_api::signer::access_keyfile_signer::AccessKeyFileSigner, previously in file /tmp/.tmp2YmacA/near-api/src/signer/access_keyfile_signer.rs:16

--- 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.38.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field exponential_backoff of struct RPCEndpoint, previously in file /tmp/.tmp2YmacA/near-api/src/config.rs:13
  field factor of struct RPCEndpoint, previously in file /tmp/.tmp2YmacA/near-api/src/config.rs:14
  field initial_sleep of struct RPCEndpoint, previously in file /tmp/.tmp2YmacA/near-api/src/config.rs:15

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/trait_method_added.ron

Failed in:
  trait method near_api::signer::SignerTrait::get_secret_key in file /tmp/.tmpMPrQHx/near-api-rs/src/signer/mod.rs:340
  trait method near_api::SignerTrait::get_secret_key in file /tmp/.tmpMPrQHx/near-api-rs/src/signer/mod.rs:340

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.38.0/src/lints/trait_method_missing.ron

Failed in:
  method tx_and_secret of trait SignerTrait, previously in file /tmp/.tmp2YmacA/near-api/src/signer/mod.rs:285
  method tx_and_secret of trait SignerTrait, previously in file /tmp/.tmp2YmacA/near-api/src/signer/mod.rs:285
Changelog

0.5.0 - 2025-01-24

Added

Other


This PR was generated with release-plz.

@frol frol force-pushed the release-plz-2025-01-13T11-30-19Z branch from 155add1 to e4afeb2 Compare January 17, 2025 11:49
@frol frol force-pushed the release-plz-2025-01-13T11-30-19Z branch 2 times, most recently from 1069f3c to 9e2c2a9 Compare January 24, 2025 15:38
@frol frol force-pushed the release-plz-2025-01-13T11-30-19Z branch from 9e2c2a9 to 8de9d9f Compare January 24, 2025 16:09
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