From 4bc60d6d25c3cb025eac5f36af93e167cf306079 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 25 Nov 2021 08:30:26 +0100 Subject: [PATCH 1/5] Bump ink! deps to rc7 --- templates/new/_Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/new/_Cargo.toml b/templates/new/_Cargo.toml index 409aa44c..a396afa5 100644 --- a/templates/new/_Cargo.toml +++ b/templates/new/_Cargo.toml @@ -6,11 +6,11 @@ edition = "2018" resolver = "2" [dependencies] -ink_primitives = { version = "3.0.0-rc6", default-features = false } -ink_metadata = { version = "3.0.0-rc6", default-features = false, features = ["derive"], optional = true } -ink_env = { version = "3.0.0-rc6", default-features = false } -ink_storage = { version = "3.0.0-rc6", default-features = false } -ink_lang = { version = "3.0.0-rc6", default-features = false } +ink_primitives = { version = "3.0.0-rc7", default-features = false } +ink_metadata = { version = "3.0.0-rc7", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.0.0-rc7", default-features = false } +ink_storage = { version = "3.0.0-rc7", default-features = false } +ink_lang = { version = "3.0.0-rc7", default-features = false } scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0.0", default-features = false, features = ["derive"], optional = true } -- GitLab From 6dcb2a647a549927461fe8e82262f3c9503a5688 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 25 Nov 2021 08:28:28 +0100 Subject: [PATCH 2/5] Update changelog --- CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8928c245..1b6e1e73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.16.0] - 2021-11-25 + ### Changed -- Use of `-Clinker-plugin-lto` flag(reduces the size of the contract) if `lto` is enabled - [#358](https://github.com/paritytech/cargo-contract/pull/358) +- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc7` - [#374](https://github.com/paritytech/cargo-contract/pull/374) +- Disabled overflow checks in the `cargo contract new` template - [#372](https://github.com/paritytech/cargo-contract/pull/372) +- Use `-Clinker-plugin-lto` if `lto` is enabled (reduces the size of a contract) - [#358](https://github.com/paritytech/cargo-contract/pull/358) ### Added -- Disabled overflow checks in the `cargo contract new` template - [#372](https://github.com/paritytech/cargo-contract/pull/372) +- Added a `--offline` flag to build contracts without network access - [#356](https://github.com/paritytech/cargo-contract/pull/356) ## [0.15.0] - 2021-10-18 -- GitLab From 621bdd7b3ca66e476bcba512c3b293ac8b8ed2de Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 25 Nov 2021 08:32:06 +0100 Subject: [PATCH 3/5] Bump version to `0.16.0` --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd307a83..4b00d69b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -487,7 +487,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index 06bbeac0..439ff4c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "metadata"] [package] name = "cargo-contract" -version = "0.15.0" +version = "0.16.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2018" -- GitLab From e8846a62d19041144f8ccc7d5f39188b554bcf47 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 25 Nov 2021 12:01:56 +0100 Subject: [PATCH 4/5] Bump `metadata` version to `0.5.0` --- metadata/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index f5c7e486..7da56699 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "0.4.0" +version = "0.5.0" authors = ["Parity Technologies "] edition = "2018" -- GitLab From f1ab7df27264160d06f4acfd72a80ff94eb44df0 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 25 Nov 2021 12:04:58 +0100 Subject: [PATCH 5/5] Reference new `metadata` version --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e501d6d..0e462a34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -638,7 +638,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "contract-metadata" -version = "0.4.0" +version = "0.5.0" dependencies = [ "impl-serde", "pretty_assertions", diff --git a/Cargo.toml b/Cargo.toml index 439ff4c6..cd6728fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ colored = "2.0.0" toml = "0.5.8" rustc_version = "0.4.0" blake2 = "0.9.2" -contract-metadata = { version = "0.4.0", path = "./metadata" } +contract-metadata = { version = "0.5.0", path = "./metadata" } semver = { version = "1.0.4", features = ["serde"] } serde = { version = "1.0.130", default-features = false, features = ["derive"] } serde_json = "1.0.71" -- GitLab