Skip to content

Commit

Permalink
Release 4.0.2 (#1547)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Michael Müller authored Mar 14, 2024
1 parent c186aed commit ed68dba
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 27 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions crates/analyze/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-analyze"
version = "4.0.1"
version = "4.0.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand All @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions crates/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-build"
version = "4.0.1"
version = "4.0.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions crates/cargo-contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-contract"
version = "4.0.1"
version = "4.0.2"
authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand All @@ -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"] }
Expand Down
8 changes: 4 additions & 4 deletions crates/extrinsics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-extrinsics"
version = "4.0.1"
version = "4.0.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
rust-version = "1.70"
Expand All @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion crates/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-metadata"
version = "4.0.1"
version = "4.0.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion crates/metadata/compatibility_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"=5.0.0-rc.1"
]
},
"4.0.1": {
"4.0.2": {
"ink": [
">=5.0.0-rc.2",
"5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/transcode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-transcode"
version = "4.0.1"
version = "4.0.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand All @@ -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"
Expand Down

0 comments on commit ed68dba

Please sign in to comment.