Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0.0-rc.1 #937

Merged
merged 19 commits into from
Feb 2, 2023
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ 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.1] - 2023-02-01
Second release candidate compatible with `ink! 4.0.0-rc`.

### Changed
- Upgrade `subxt` to `0.26` [#924](https://github.com/paritytech/cargo-contract/pull/924)
- Display detailed cause of an error [#931](https://github.com/paritytech/cargo-contract/pull/931)
- Use package name instead of lib name, default to "rlib" [#929](https://github.com/paritytech/cargo-contract/pull/929)

### Fixed
- Miscellaneous extrinsics display improvements [#916](https://github.com/paritytech/cargo-contract/pull/916)
- Fix decoding of `LangError` [#919](https://github.com/paritytech/cargo-contract/pull/919)

## [2.0.0-rc] - 2023-01-12

First release candidate for compatibility with `ink! 4.0-rc`.
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

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

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 = "2.0.0-rc"
version = "2.0.0-rc.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand Down Expand Up @@ -36,7 +36,7 @@ wasm-opt = "0.111.0"
which = "4.4.0"
zip = { version = "0.6.3", default-features = false }

contract-metadata = { version = "2.0.0-rc", path = "../metadata" }
contract-metadata = { version = "2.0.0-rc.1", path = "../metadata" }

[build-dependencies]
anyhow = "1.0.68"
Expand Down
2 changes: 1 addition & 1 deletion crates/build/templates/new/_Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["[your_name] <[your_email]>"]
edition = "2021"

[dependencies]
ink = { version = "4.0.0-beta.1", default-features = false }
ink = { version = "4.0.0-rc", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
Expand Down
8 changes: 4 additions & 4 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 = "2.0.0-rc"
version = "2.0.0-rc.1"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
edition = "2021"
Expand All @@ -18,9 +18,9 @@ include = [
]

[dependencies]
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" }
contract-build = { version = "2.0.0-rc.1", path = "../build" }
contract-metadata = { version = "2.0.0-rc.1", path = "../metadata" }
contract-transcode = { version = "2.0.0-rc.1", path = "../transcode" }

anyhow = "1.0.68"
clap = { version = "4.1.4", features = ["derive", "env"] }
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 = "2.0.0-rc"
version = "2.0.0-rc.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand Down
10 changes: 5 additions & 5 deletions crates/transcode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-transcode"
version = "2.0.0-rc"
version = "2.0.0-rc.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

Expand All @@ -18,12 +18,12 @@ path = "src/lib.rs"

[dependencies]
anyhow = "1.0.68"
contract-metadata = { version = "2.0.0-rc", path = "../metadata" }
contract-metadata = { version = "2.0.0-rc.1", path = "../metadata" }
escape8259 = "0.5.2"
hex = "0.4.3"
indexmap = "1.9.2"
ink_env = "4.0.0-beta.1"
ink_metadata = "4.0.0-beta.1"
ink_env = "4.0.0-rc"
ink_metadata = "4.0.0-rc"
itertools = "0.10.5"
tracing = "0.1.37"
nom = "7.1.3"
Expand All @@ -37,7 +37,7 @@ sp-runtime = "12.0.0"

[dev-dependencies]
assert_matches = "1.5.0"
ink = "4.0.0-beta.1"
ink = "4.0.0-rc"

[features]
# This `std` feature is required for testing using an inline contract's metadata, because `ink!` annotates the metadata
Expand Down