Unverified Commit 90c08b40 authored by Hernando Castano's avatar Hernando Castano Committed by GitHub
Browse files

Release `2.0.0-alpha.1` (#708)



* Add release notes for `2.0.0-alpha.1`

* Clean up the `v1.5.0` release notes a bit

* Bump versions to `2.0.0-alpha.1`

* Alpha version for transcode

* Cargo.lock

Co-authored-by: Andrew Jones's avatarascjones <ascjones@gmail.com>
parent f903c034
Pipeline #210227 failed with stages
in 2 minutes and 35 seconds
......@@ -6,20 +6,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.5.0] - 2022-08-15
## [2.0.0-alpha.1] - 2022-08-24
This release brings two exciting updates! First, contracts can now be built using the
`stable` Rust toolchain! Don't ask us how we managed to do this 👻.
Secondly, it allows you to build ink! `v4.0.0-alpha.1`, which introduced a small - but
breaking - change to the ink! ABI as part of [paritytech/ink#1313](https://github.com/paritytech/ink/pull/1313).
### Added
- Add support for ink!'s `version` metadata field - [#641](https://github.com/paritytech/cargo-contract/pull/641)
- Fix windows dylint build (#690)
### Changed
- Build contracts and dylint driver with stable - [#698](https://github.com/paritytech/cargo-contract/pull/698)
- Compile dylints when compiling the contract - [#703](https://github.com/paritytech/cargo-contract/pull/703)
- Move transcode example to doc test, add helper method - [#705](https://github.com/paritytech/cargo-contract/pull/705)
- Note that alongside this PR we released [`contract-transcode@0.2.0`](https://crates.io/crates/contract-transcode/0.2.0)
- Replace custom RPCs by `state_call` - [#701](https://github.com/paritytech/cargo-contract/pull/701)
### Fixed
- Fix `tracing_subscriber` filtering - [#702](https://github.com/paritytech/cargo-contract/pull/702)
## [1.5.0] - 2022-08-15
### Added
- Dry run gas limit estimation [#484](https://github.com/paritytech/cargo-contract/pull/484)
- Dry run gas limit estimation - [#484](https://github.com/paritytech/cargo-contract/pull/484)
### Changed
- Bump `ink_*` crates to `v3.3.1` [#686](https://github.com/paritytech/cargo-contract/pull/686)
- Refactor out transcode as a separate library [#597](https://github.com/paritytech/cargo-contract/pull/597)
- Sync `metadata` version with `cargo-contract` [#611](https://github.com/paritytech/cargo-contract/pull/611)
- Adapt to new subxt API [#678](https://github.com/paritytech/cargo-contract/pull/678)
- Replace log/env_logger with tracing/tracing_subscriber [#689](https://github.com/paritytech/cargo-contract/pull/689)
- Contract upload: emitting a warning instead of an error when the contract already existed is more user friendly [#644](https://github.com/paritytech/cargo-contract/pull/644)
- Bump `ink_*` crates to `v3.3.1` - [#686](https://github.com/paritytech/cargo-contract/pull/686)
- Refactor out transcode as a separate library - [#597](https://github.com/paritytech/cargo-contract/pull/597)
- Sync `metadata` version with `cargo-contract` - [#611](https://github.com/paritytech/cargo-contract/pull/611)
- Adapt to new subxt API - [#678](https://github.com/paritytech/cargo-contract/pull/678)
- Replace log/env_logger with tracing/tracing_subscriber - [#689](https://github.com/paritytech/cargo-contract/pull/689)
- Contract upload: emitting a warning instead of an error when the contract already
existed is more user friendly - [#644](https://github.com/paritytech/cargo-contract/pull/644)
### Fixed
- Fix windows dylint build [#690](https://github.com/paritytech/cargo-contract/pull/690)
......
......@@ -464,7 +464,7 @@ dependencies = [
[[package]]
name = "cargo-contract"
version = "1.5.0"
version = "2.0.0-alpha.1"
dependencies = [
"anyhow",
"assert_cmd",
......@@ -627,7 +627,7 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
[[package]]
name = "contract-metadata"
version = "1.5.0"
version = "2.0.0-alpha.1"
dependencies = [
"impl-serde",
"pretty_assertions",
......@@ -639,7 +639,7 @@ dependencies = [
[[package]]
name = "contract-transcode"
version = "0.2.0"
version = "0.2.0-alpha.1"
dependencies = [
"anyhow",
"assert_matches",
......
......@@ -3,7 +3,7 @@ members = [".", "metadata", "transcode"]
[package]
name = "cargo-contract"
version = "1.5.0"
version = "2.0.0-alpha.1"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
edition = "2021"
......@@ -35,8 +35,8 @@ colored = "2.0.0"
toml = "0.5.9"
rustc_version = "0.4.0"
blake2 = "0.10.4"
contract-metadata = { version = "1", path = "./metadata" }
transcode = { package = "contract-transcode", version = "0.2.0", path = "./transcode" }
contract-metadata = { version = "2.0.0-alpha.1", path = "./metadata" }
transcode = { package = "contract-transcode", version = "0.2.0-alpha.1", path = "./transcode" }
semver = { version = "1.0.13", features = ["serde"] }
serde = { version = "1.0.144", default-features = false, features = ["derive"] }
serde_json = "1.0.85"
......
[package]
name = "contract-metadata"
version = "1.5.0"
version = "2.0.0-alpha.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
......
[package]
name = "contract-transcode"
version = "0.2.0"
version = "0.2.0-alpha.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
......@@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies]
anyhow = "1.0.62"
contract-metadata = { version = "1", path = "../metadata" }
contract-metadata = { version = "2.0.0-alpha.1", path = "../metadata" }
env_logger = "0.9.0"
escape8259 = "0.5.2"
hex = "0.4.3"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment