From d11341f1f31d7a5dd7f8a6718f061790d3136eba Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Wed, 11 Sep 2024 22:00:38 +0100 Subject: [PATCH] chore: release --- CHANGELOG.md | 18 ++++++++++++++++++ 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, 59 insertions(+), 22 deletions(-) create mode 100644 cargo-near-build/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ed14dc8..c3368b63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ 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-11 + +### 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 + +- 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 6ba33aff..22eeb45b 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..9e31f0a3 --- /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-11 + +### 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 2434c5d7..43613d17 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"