From 4287b2e5b2c70af1d1d9ee3865f81332247606c4 Mon Sep 17 00:00:00 2001
From: Vlad Frolov
Date: Mon, 20 Jan 2025 14:59:01 +0100
Subject: [PATCH] chore: release v0.18.0 (#432)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## 🤖 New release
* `near-cli-rs`: 0.17.0 -> 0.18.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.38.0/src/lints/enum_no_repr_variant_discriminant_changed.ron
Failed in:
variant AccountActionsDiscriminants::AddKey 7 -> 8 in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:68
variant AccountActionsDiscriminants::DeleteKeys 8 -> 9 in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:73
variant AccountActionsDiscriminants::ManageStorageDeposit 9 -> 10 in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:78
variant AccountActionsDiscriminants::AddKey 7 -> 8 in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:68
variant AccountActionsDiscriminants::DeleteKeys 8 -> 9 in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:73
variant AccountActionsDiscriminants::ManageStorageDeposit 9 -> 10 in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:78
--- 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 AccountActionsDiscriminants:GetPublicKey in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:63
variant AccountActionsDiscriminants:GetPublicKey in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:63
variant CliAccountActions:GetPublicKey in /tmp/.tmpU4QdIS/near-cli-rs/src/commands/account/mod.rs:24
```
Changelog
##
[0.18.0](https://github.com/near/near-cli-rs/compare/v0.17.0...v0.18.0)
- 2025-01-20
### Added
- Added the ability to get a public key for an account (#436)
### Other
- fixed migration. Added migration saving to be more clear (#434)
- handle new rate-limits for querying pools (#433)
- Extended the documentation for building NEAR CLI from the source code
(#430)
---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
---
CHANGELOG.md | 12 ++++++++++++
Cargo.lock | 2 +-
Cargo.toml | 2 +-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc5eedb4..039caf1e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.18.0](https://github.com/near/near-cli-rs/compare/v0.17.0...v0.18.0) - 2025-01-20
+
+### Added
+
+- Added the ability to get a public key for an account (#436)
+
+### Other
+
+- fixed migration. Added migration saving to be more clear (#434)
+- handle new rate-limits for querying pools (#433)
+- Extended the documentation for building NEAR CLI from the source code (#430)
+
## [0.17.0](https://github.com/near/near-cli-rs/compare/v0.16.1...v0.17.0) - 2024-12-16
### Added
diff --git a/Cargo.lock b/Cargo.lock
index 14c15628..2284f763 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2051,7 +2051,7 @@ dependencies = [
[[package]]
name = "near-cli-rs"
-version = "0.17.0"
+version = "0.18.0"
dependencies = [
"bip39",
"bs58 0.5.1",
diff --git a/Cargo.toml b/Cargo.toml
index 6059f325..23d8a7b4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "near-cli-rs"
-version = "0.17.0"
+version = "0.18.0"
authors = ["FroVolod ", "Near Inc "]
license = "MIT OR Apache-2.0"
edition = "2021"