diff --git a/CHANGELOG.md b/CHANGELOG.md index f6153e9f9673caee46985dab65fb5f9ead3839fa..053acc905c8c512f940a86f83854f6de4ea275cd 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 contracts! +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 diff --git a/Cargo.lock b/Cargo.lock index a9b5b2476e98a6b9c2596fd6af594e71f2293884..eff74dc8b834ce6301e8b900a0441e8f0a7e8d21 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 b200d895b30c2fd482ab0272334b147d756c6c60..8b40f19c3badc27633da9f877b6c5aafcfb2fd28 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" @@ -38,7 +38,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 b7d79e7a27637d6ada9bed4647ee1f2224337a8a..80bb920bfdefe1dfcea4327333f1ce6afc298bea 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"