From ed68dbade352ee40973ec2c11eea1f1a74dcd20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Thu, 14 Mar 2024 17:28:49 +0100 Subject: [PATCH] Release 4.0.2 (#1547) * Bump all versions to `4.0.2` * Update changelog * Update compatibility list * Update compatibility list * Execute `cargo update` * Replace `4.0.1` with `4.0.2` in compatibility list * Update publishing checklist --- CHANGELOG.md | 2 ++ Cargo.lock | 16 ++++++++-------- README.md | 3 ++- crates/analyze/Cargo.toml | 4 ++-- crates/build/Cargo.toml | 4 ++-- crates/cargo-contract/Cargo.toml | 12 ++++++------ crates/extrinsics/Cargo.toml | 8 ++++---- crates/metadata/Cargo.toml | 2 +- crates/metadata/compatibility_list.json | 2 +- crates/transcode/Cargo.toml | 4 ++-- 10 files changed, 30 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 550af78f1..8d564e894 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.2] + ### Fixed - Fix installation instructions for `ink_linting` - [#1546](https://github.com/paritytech/cargo-contract/pull/1546) diff --git a/Cargo.lock b/Cargo.lock index f4511f5d8..dd5a27143 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -857,7 +857,7 @@ dependencies = [ [[package]] name = "cargo-contract" -version = "4.0.1" +version = "4.0.2" dependencies = [ "anyhow", "assert_cmd", @@ -1121,7 +1121,7 @@ checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" [[package]] name = "contract-analyze" -version = "4.0.1" +version = "4.0.2" dependencies = [ "anyhow", "contract-metadata", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "contract-build" -version = "4.0.1" +version = "4.0.2" dependencies = [ "anyhow", "blake2", @@ -1171,7 +1171,7 @@ dependencies = [ [[package]] name = "contract-extrinsics" -version = "4.0.1" +version = "4.0.2" dependencies = [ "anyhow", "assert_cmd", @@ -1210,7 +1210,7 @@ dependencies = [ [[package]] name = "contract-metadata" -version = "4.0.1" +version = "4.0.2" dependencies = [ "anyhow", "impl-serde", @@ -1223,7 +1223,7 @@ dependencies = [ [[package]] name = "contract-transcode" -version = "4.0.1" +version = "4.0.2" dependencies = [ "anyhow", "assert_matches", @@ -5309,9 +5309,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.46.0" +version = "1.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1114ee5900b8569bbc8b1a014a942f937b752af4b44f4607430b5f86cedaac0" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" dependencies = [ "Inflector", "num-format", diff --git a/README.md b/README.md index 0fcfdd9c2..dc0db7ec6 100644 --- a/README.md +++ b/README.md @@ -181,9 +181,10 @@ Invoke an RPC call to the node. See [rpc](docs/rpc.md). In order to publish a new version of `cargo-contract`: - Bump all crate versions, we move them in lockstep. +- Execute `cargo update` to update `Cargo.lock`. - Make sure your PR is approved by one or more core developers. - Publish `metadata` ➜ `analyze` ➜ `transcode` ➜ `build` ➜ `extrinsics` ➜ `cargo-contract`. -- Merge you PR and push a tag `vX.X` with your version number. +- Merge you PR and push a tag `vX.X` with your version number: `git tag -s vX.X.X && git push origin vX.X.X`. - Create a GitHub release with the changelog entries. ## License diff --git a/crates/analyze/Cargo.toml b/crates/analyze/Cargo.toml index 71160b549..3d4cef6ab 100644 --- a/crates/analyze/Cargo.toml +++ b/crates/analyze/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-analyze" -version = "4.0.1" +version = "4.0.2" authors = ["Parity Technologies "] edition = "2021" @@ -14,7 +14,7 @@ keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE"] [dependencies] -contract-metadata = { version = "4.0.1", path = "../metadata" } +contract-metadata = { version = "4.0.2", path = "../metadata" } parity-wasm = { version = "0.45.0" } anyhow = "1.0.81" diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index 3a7663167..b56fbaba8 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-build" -version = "4.0.1" +version = "4.0.2" authors = ["Parity Technologies "] edition = "2021" @@ -44,7 +44,7 @@ tokio-stream = "0.1" bollard = "0.16" crossterm = "0.27.0" -contract-metadata = { version = "4.0.1", path = "../metadata" } +contract-metadata = { version = "4.0.2", path = "../metadata" } [target.'cfg(unix)'.dependencies] uzers = "0.11" diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index 7e6390607..3ccc1be2b 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-contract" -version = "4.0.1" +version = "4.0.2" authors = ["Parity Technologies "] build = "build.rs" edition = "2021" @@ -18,11 +18,11 @@ include = [ ] [dependencies] -contract-build = { version = "4.0.1", path = "../build" } -contract-extrinsics = { version = "4.0.1", path = "../extrinsics" } -contract-transcode = { version = "4.0.1", path = "../transcode" } -contract-metadata = { version = "4.0.1", path = "../metadata" } -contract-analyze = { version = "4.0.1", path = "../analyze" } +contract-build = { version = "4.0.2", path = "../build" } +contract-extrinsics = { version = "4.0.2", path = "../extrinsics" } +contract-transcode = { version = "4.0.2", path = "../transcode" } +contract-metadata = { version = "4.0.2", path = "../metadata" } +contract-analyze = { version = "4.0.2", path = "../analyze" } anyhow = "1.0.81" clap = { version = "4.5.2", features = ["derive", "env"] } diff --git a/crates/extrinsics/Cargo.toml b/crates/extrinsics/Cargo.toml index 0d7edfa95..e37314b95 100644 --- a/crates/extrinsics/Cargo.toml +++ b/crates/extrinsics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-extrinsics" -version = "4.0.1" +version = "4.0.2" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.70" @@ -15,9 +15,9 @@ keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE",] [dependencies] -contract-build = { version = "4.0.1", path = "../build" } -contract-metadata = { version = "4.0.1", path = "../metadata" } -contract-transcode = { version = "4.0.1", path = "../transcode" } +contract-build = { version = "4.0.2", path = "../build" } +contract-metadata = { version = "4.0.2", path = "../metadata" } +contract-transcode = { version = "4.0.2", path = "../transcode" } anyhow = "1.0.81" blake2 = { version = "0.10.6", default-features = false } diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index 351f89635..cd840c9c3 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-metadata" -version = "4.0.1" +version = "4.0.2" authors = ["Parity Technologies "] edition = "2021" diff --git a/crates/metadata/compatibility_list.json b/crates/metadata/compatibility_list.json index 8cf01fce7..cf6ed79b1 100644 --- a/crates/metadata/compatibility_list.json +++ b/crates/metadata/compatibility_list.json @@ -22,7 +22,7 @@ "=5.0.0-rc.1" ] }, - "4.0.1": { + "4.0.2": { "ink": [ ">=5.0.0-rc.2", "5.0.0" diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index 08b45308c..14172d872 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-transcode" -version = "4.0.1" +version = "4.0.2" authors = ["Parity Technologies "] edition = "2021" @@ -20,7 +20,7 @@ path = "src/lib.rs" anyhow = "1.0.81" base58 = { version = "0.2.0" } blake2 = { version = "0.10.6", default-features = false } -contract-metadata = { version = "4.0.1", path = "../metadata" } +contract-metadata = { version = "4.0.2", path = "../metadata" } escape8259 = "0.5.2" hex = "0.4.3" indexmap = "2.2.5"