From 3c084d22d61fce5968d4656550bc176a92dba1e3 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Thu, 12 Jan 2023 15:17:47 +0000 Subject: [PATCH] Release `v2.0.0-rc` (#903) * Bump versions * Cargo.lock * Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ Cargo.lock | 8 ++++---- crates/build/Cargo.toml | 4 ++-- crates/cargo-contract/Cargo.toml | 8 ++++---- crates/metadata/Cargo.toml | 2 +- crates/transcode/Cargo.toml | 4 ++-- 6 files changed, 20 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67b2e5702..8979fe575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ 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). +## [2.0.0-rc] - 2023-01-12 + +First release candidate for compatibility with `ink! 4.0-rc`. + +### Changed +- Extrinsics: allow specifying contract artifact directly [#893](https://github.com/paritytech/cargo-contract/pull/893) + ## [2.0.0-beta.2] - 2023-01-09 ### Changed diff --git a/Cargo.lock b/Cargo.lock index 041955527..8ff2dcbcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "2.0.0-beta.2" +version = "2.0.0-rc" dependencies = [ "anyhow", "assert_cmd", @@ -687,7 +687,7 @@ dependencies = [ [[package]] name = "contract-build" -version = "2.0.0-beta.2" +version = "2.0.0-rc" dependencies = [ "anyhow", "blake2", @@ -718,7 +718,7 @@ dependencies = [ [[package]] name = "contract-metadata" -version = "2.0.0-beta.2" +version = "2.0.0-rc" dependencies = [ "anyhow", "impl-serde", @@ -731,7 +731,7 @@ dependencies = [ [[package]] name = "contract-transcode" -version = "2.0.0-beta.2" +version = "2.0.0-rc" dependencies = [ "anyhow", "assert_matches", diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index 2f63feb5c..799c0213f 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-build" -version = "2.0.0-beta.2" +version = "2.0.0-rc" authors = ["Parity Technologies "] edition = "2021" @@ -36,7 +36,7 @@ wasm-opt = "0.111.0" which = "4.3.0" zip = { version = "0.6.3", default-features = false } -contract-metadata = { version = "2.0.0-beta.2", path = "../metadata" } +contract-metadata = { version = "2.0.0-rc", path = "../metadata" } [build-dependencies] anyhow = "1.0.68" diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index 7ddd10a66..3bb761258 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-contract" -version = "2.0.0-beta.2" +version = "2.0.0-rc" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" @@ -18,9 +18,9 @@ include = [ ] [dependencies] -contract-build = { version = "2.0.0-beta.2", path = "../build" } -contract-metadata = { version = "2.0.0-beta.2", path = "../metadata" } -contract-transcode = { version = "2.0.0-beta.2", path = "../transcode" } +contract-build = { version = "2.0.0-rc", path = "../build" } +contract-metadata = { version = "2.0.0-rc", path = "../metadata" } +contract-transcode = { version = "2.0.0-rc", path = "../transcode" } anyhow = "1.0.68" clap = { version = "4.0.32", features = ["derive", "env"] } diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index 7e6c2e691..04f170b80 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "2.0.0-beta.2" +version = "2.0.0-rc" authors = ["Parity Technologies "] edition = "2021" diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index 74afe05b6..9002e7c07 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-transcode" -version = "2.0.0-beta.2" +version = "2.0.0-rc" authors = ["Parity Technologies "] edition = "2021" @@ -18,7 +18,7 @@ path = "src/lib.rs" [dependencies] anyhow = "1.0.68" -contract-metadata = { version = "2.0.0-beta.2", path = "../metadata" } +contract-metadata = { version = "2.0.0-rc", path = "../metadata" } escape8259 = "0.5.2" hex = "0.4.3" indexmap = "1.9.2"