From aa6d50a1fc90569d43296826aabc7c930166d4c5 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Mon, 14 Mar 2022 12:24:42 +0100 Subject: [PATCH 1/3] Bump versions --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- metadata/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a9b5b247..eff74dc8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -474,7 +474,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "assert_cmd", @@ -657,7 +657,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "contract-metadata" -version = "0.5.1" +version = "0.6.0" dependencies = [ "impl-serde", "pretty_assertions", diff --git a/Cargo.toml b/Cargo.toml index e8911979..4b4b4f65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "metadata"] [package] name = "cargo-contract" -version = "0.17.0" +version = "0.18.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" @@ -33,7 +33,7 @@ colored = "2.0.0" toml = "0.5.8" rustc_version = "0.4.0" blake2 = "0.10.4" -contract-metadata = { version = "0.5.0", path = "./metadata" } +contract-metadata = { version = "0.6.0", path = "./metadata" } semver = { version = "1.0.6", features = ["serde"] } serde = { version = "1.0.136", default-features = false, features = ["derive"] } serde_json = "1.0.79" diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index b7d79e7a..80bb920b 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "0.5.1" +version = "0.6.0" authors = ["Parity Technologies "] edition = "2021" -- GitLab From 2504a8f9dc7425c2b004d41cd83fdf61119fe3c9 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Mon, 14 Mar 2022 12:29:13 +0100 Subject: [PATCH 2/3] Update release notes --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6153e9f..0f9e02df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.18.0] - 2022-03-14 + +### Interact with contracts: upload, instantiate and call commands + +We added commands to upload, instantiate and call commands! +This allows interacting with contracts on live chains with a compatible +[`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts). + +For command-line examples on how to use these commands see [#79](https://github.com/paritytech/cargo-contract/pull/79). + ### Linting rules for smart contracts We are introducing a linter for ink! smart contracts in this release! @@ -20,10 +30,12 @@ In order for the linting to work with your smart contract, the contract has to b written in at least ink! 3.0.0-rc9. If it's older the linting will just always succeed. ### Added +- Interact with contracts: upload, instantiate and call commands - [#79](https://github.com/paritytech/cargo-contract/pull/79) - Add linting to assert correct initialization of [`ink_storage::Mapping`](https://paritytech.github.io/ink/ink_storage/struct.Mapping.html) - [#431](https://github.com/paritytech/cargo-contract/pull/431) ### Changed - Upgrade `subxt`, SCALE crates, and substrate primitive `sp-*` crates [#451](https://github.com/paritytech/cargo-contract/pull/451). +- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc9` - [#443](https://github.com/paritytech/cargo-contract/pull/443) ## [0.17.0] - 2022-01-19 -- GitLab From 8b181b0290cebec932f79a5abdb210708bc301b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Mon, 14 Mar 2022 12:53:29 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md Co-authored-by: Andrew Jones --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f9e02df..053acc90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Interact with contracts: upload, instantiate and call commands -We added commands to upload, instantiate and call commands! +We added commands to upload, instantiate and call contracts! This allows interacting with contracts on live chains with a compatible [`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts). -- GitLab