From c9210e7705d819638e15e3a7309851acfa7d7b0e Mon Sep 17 00:00:00 2001
From: Vlad Frolov
Date: Fri, 13 Sep 2024 08:32:51 +0100
Subject: [PATCH] chore: release (#214)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## 🤖 New release
* `cargo-near`: 0.8.2 -> 0.9.0
* `cargo-near-build`: 0.1.0 -> 0.1.1
Changelog
## `cargo-near`
##
[0.9.0](https://github.com/near/cargo-near/compare/cargo-near-v0.8.2...cargo-near-v0.9.0)
- 2024-09-12
### Added
- Fixed GitHub CI staging workflow generated by `cargo near new` command
to work correctly with docker case
([#193](https://github.com/near/cargo-near/pull/193))
- Extracted cargo-near-build into a standalone crate to be able to use
it in near-workspaces and other places without the rest of the heavy
dependencies of cargo-near
([#198](https://github.com/near/cargo-near/pull/198))
- Added tracking of `cargo near new` usage to collect statistics of the
command usage ([#192](https://github.com/near/cargo-near/pull/192))
### Fixed
- Addressed warnings in `cargo build -p cargo-near-build` cmd in
releaze-plz flow ([#212](https://github.com/near/cargo-near/pull/212))
### Other
- Updated near-* dependencies to 0.26 release
([#220](https://github.com/near/cargo-near/pull/220))
- Use "tracing" for logging and loading indicators
([#216](https://github.com/near/cargo-near/pull/216))
- update docker image and sdk version in `cargo near new` template
([#218](https://github.com/near/cargo-near/pull/218))
- [**breaking**] updates near-* packages to 0.25 version. Updates
near-sdk to 5.4 ([#215](https://github.com/near/cargo-near/pull/215))
## `cargo-near-build`
##
[0.1.1](https://github.com/near/cargo-near/compare/cargo-near-build-v0.1.0...cargo-near-build-v0.1.1)
- 2024-09-12
### Added
- Fixed GitHub CI staging workflow generated by `cargo near new` command
to work correctly with docker case
([#193](https://github.com/near/cargo-near/pull/193))
### Other
- Use "tracing" for logging and loading indicators
([#216](https://github.com/near/cargo-near/pull/216))
- fix clippy ([#219](https://github.com/near/cargo-near/pull/219))
---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).
---
CHANGELOG.md | 19 +++++++++++++++++++
Cargo.lock | 34 +++++++++++++++++-----------------
cargo-near-build/CHANGELOG.md | 19 +++++++++++++++++++
cargo-near-build/Cargo.toml | 2 +-
cargo-near/Cargo.toml | 4 ++--
integration-tests/Cargo.toml | 4 ++--
6 files changed, 60 insertions(+), 22 deletions(-)
create mode 100644 cargo-near-build/CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6ed14dc8..e66aae6d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.9.0](https://github.com/near/cargo-near/compare/cargo-near-v0.8.2...cargo-near-v0.9.0) - 2024-09-12
+
+### Added
+
+- Fixed GitHub CI staging workflow generated by `cargo near new` command to work correctly with docker case ([#193](https://github.com/near/cargo-near/pull/193))
+- Extracted cargo-near-build into a standalone crate to be able to use it in near-workspaces and other places without the rest of the heavy dependencies of cargo-near ([#198](https://github.com/near/cargo-near/pull/198))
+- Added tracking of `cargo near new` usage to collect statistics of the command usage ([#192](https://github.com/near/cargo-near/pull/192))
+
+### Fixed
+
+- Addressed warnings in `cargo build -p cargo-near-build` cmd in releaze-plz flow ([#212](https://github.com/near/cargo-near/pull/212))
+
+### Other
+
+- Updated near-* dependencies to 0.26 release ([#220](https://github.com/near/cargo-near/pull/220))
+- Use "tracing" for logging and loading indicators ([#216](https://github.com/near/cargo-near/pull/216))
+- update docker image and sdk version in `cargo near new` template ([#218](https://github.com/near/cargo-near/pull/218))
+- [**breaking**] updates near-* packages to 0.25 version. Updates near-sdk to 5.4 ([#215](https://github.com/near/cargo-near/pull/215))
+
## [0.8.2](https://github.com/near/cargo-near/compare/cargo-near-v0.8.1...cargo-near-v0.8.2) - 2024-08-16
### Other
diff --git a/Cargo.lock b/Cargo.lock
index fa4c8955..9fcd38f3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -450,9 +450,9 @@ dependencies = [
[[package]]
name = "cargo-near"
-version = "0.8.2"
+version = "0.9.0"
dependencies = [
- "cargo-near-build 0.1.0",
+ "cargo-near-build 0.1.1",
"clap",
"color-eyre",
"colored",
@@ -482,6 +482,8 @@ dependencies = [
[[package]]
name = "cargo-near-build"
version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "110e4e3b4dc5187c77581a49866018db00c1f4b1b108762aea203e1f35b14445"
dependencies = [
"bs58 0.5.1",
"camino",
@@ -489,31 +491,21 @@ dependencies = [
"colored",
"dunce",
"eyre",
- "git2",
"hex",
- "home",
"libloading",
+ "log",
"near-abi",
- "nix",
- "pathdiff",
"rustc_version",
"schemars",
- "serde",
"serde_json",
"sha2 0.10.8",
"symbolic-debuginfo",
- "tempfile",
- "tracing",
- "unix_path",
- "url",
"zstd 0.13.2",
]
[[package]]
name = "cargo-near-build"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "110e4e3b4dc5187c77581a49866018db00c1f4b1b108762aea203e1f35b14445"
+version = "0.1.1"
dependencies = [
"bs58 0.5.1",
"camino",
@@ -521,15 +513,23 @@ dependencies = [
"colored",
"dunce",
"eyre",
+ "git2",
"hex",
+ "home",
"libloading",
- "log",
"near-abi",
+ "nix",
+ "pathdiff",
"rustc_version",
"schemars",
+ "serde",
"serde_json",
"sha2 0.10.8",
"symbolic-debuginfo",
+ "tempfile",
+ "tracing",
+ "unix_path",
+ "url",
"zstd 0.13.2",
]
@@ -540,7 +540,7 @@ dependencies = [
"borsh",
"camino",
"cargo-near",
- "cargo-near-build 0.1.0",
+ "cargo-near-build 0.1.1",
"color-eyre",
"const_format",
"env_logger",
@@ -2833,7 +2833,7 @@ dependencies = [
"async-trait",
"base64 0.22.1",
"bs58 0.5.1",
- "cargo-near-build 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cargo-near-build 0.1.0",
"chrono",
"fs2",
"json-patch",
diff --git a/cargo-near-build/CHANGELOG.md b/cargo-near-build/CHANGELOG.md
new file mode 100644
index 00000000..6c3bf1cd
--- /dev/null
+++ b/cargo-near-build/CHANGELOG.md
@@ -0,0 +1,19 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+
+## [0.1.1](https://github.com/near/cargo-near/compare/cargo-near-build-v0.1.0...cargo-near-build-v0.1.1) - 2024-09-12
+
+### Added
+
+- Fixed GitHub CI staging workflow generated by `cargo near new` command to work correctly with docker case ([#193](https://github.com/near/cargo-near/pull/193))
+
+### Other
+
+- Use "tracing" for logging and loading indicators ([#216](https://github.com/near/cargo-near/pull/216))
+- fix clippy ([#219](https://github.com/near/cargo-near/pull/219))
diff --git a/cargo-near-build/Cargo.toml b/cargo-near-build/Cargo.toml
index 1f4df455..ba4fa223 100644
--- a/cargo-near-build/Cargo.toml
+++ b/cargo-near-build/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "cargo-near-build"
edition = "2021"
-version = "0.1.0"
+version = "0.1.1"
description = "Library for building Rust smart contracts on NEAR, basis of `cargo-near` crate/CLI"
repository = "https://github.com/near/cargo-near"
license = "MIT OR Apache-2.0"
diff --git a/cargo-near/Cargo.toml b/cargo-near/Cargo.toml
index 869851f6..2fb82ff3 100644
--- a/cargo-near/Cargo.toml
+++ b/cargo-near/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "cargo-near"
-version = "0.8.2"
+version = "0.9.0"
authors = ["Near Inc "]
edition = "2021"
rust-version = "1.78.0"
@@ -23,7 +23,7 @@ license = false
eula = false
[dependencies]
-cargo-near-build = { version = "0.1.0", path = "../cargo-near-build", features = [
+cargo-near-build = { version = "0.1.1", path = "../cargo-near-build", features = [
"abi_build",
"docker",
] }
diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml
index 46805509..99a10fb8 100644
--- a/integration-tests/Cargo.toml
+++ b/integration-tests/Cargo.toml
@@ -6,13 +6,13 @@ publish = false
[dependencies]
const_format = "0.2"
-cargo-near-build = { version = "0.1.0", path = "../cargo-near-build" }
+cargo-near-build = { version = "0.1.1", path = "../cargo-near-build" }
[dev-dependencies]
borsh = { version = "1.0.0", features = ["derive", "unstable__schema"] }
camino = "1.1.1"
cargo-near = { path = "../cargo-near" }
-cargo-near-build = { version = "0.1.0", path = "../cargo-near-build" }
+cargo-near-build = { version = "0.1.1", path = "../cargo-near-build" }
color-eyre = "0.6"
function_name = "0.3"
git2 = "0.19"