From 6eb1ad8c2a5c9dc068917d2ade540025a8af57a4 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 19 Jan 2022 16:30:58 +0100 Subject: [PATCH 1/4] Bump new project template to ink! 3.0.0-rc8 --- 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 97bdd05cd..6493bf4f4 100644 --- a/templates/new/_Cargo.toml +++ b/templates/new/_Cargo.toml @@ -6,11 +6,11 @@ edition = "2021" rust-version = "1.56.1" [dependencies] -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 } +ink_primitives = { version = "3.0.0-rc8", default-features = false } +ink_metadata = { version = "3.0.0-rc8", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.0.0-rc8", default-features = false } +ink_storage = { version = "3.0.0-rc8", default-features = false } +ink_lang = { version = "3.0.0-rc8", 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 } From 4fe8b91955a288245373a26e28970f170ef63f9e Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 19 Jan 2022 16:31:33 +0100 Subject: [PATCH 2/4] Bump `cargo-contract` version to 0.17.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7c07e8da0..fa032548c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -489,7 +489,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "0.16.0" +version = "0.17.0" dependencies = [ "anyhow", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index 0c7c173b7..7574d47ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "metadata"] [package] name = "cargo-contract" -version = "0.16.0" +version = "0.17.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" From 6771c9a9bbe535ce012f379b0502b1a1e7b42418 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 19 Jan 2022 16:32:02 +0100 Subject: [PATCH 3/4] Update changelog --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d581ea0d..cf69a6d81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,15 @@ 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] -- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#360](https://github.com/paritytech/cargo-contract/pull/360) + +## [0.17.0] - 2022-01-19 + +### Changed +- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc8` - [#402](https://github.com/paritytech/cargo-contract/pull/402) +- Migrated to 2021 edition, enforcing MSRV of `1.56.1` - [#360](https://github.com/paritytech/cargo-contract/pull/360) + +### Added +- For contract size optimization added `workspace` section to override parent `workspace` - [#378](https://github.com/paritytech/cargo-contract/pull/378) ## [0.16.0] - 2021-11-25 From a85e1681adf4726d10693c982d41d8b2f5d91a94 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 20 Jan 2022 07:41:13 +0100 Subject: [PATCH 4/4] Clean up sections after merge --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d9d066c2..d2934edce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,14 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Updated `cargo contract new` template dependencies to ink! `3.0.0-rc8` - [#402](https://github.com/paritytech/cargo-contract/pull/402) +- Reverted the disabled overflow checks in the `cargo contract new` template - [#376](https://github.com/paritytech/cargo-contract/pull/376) - Migrated to 2021 edition, enforcing MSRV of `1.56.1` - [#360](https://github.com/paritytech/cargo-contract/pull/360) ### Added - For contract size optimization added `workspace` section to override parent `workspace` - [#378](https://github.com/paritytech/cargo-contract/pull/378) -### Changed -- Reverted the disabled overflow checks in the `cargo contract new` template - [#376](https://github.com/paritytech/cargo-contract/pull/376) - ## [0.16.0] - 2021-11-25 ### Changed