Skip to content

Commit

Permalink
Release 2.0.0-alpha.1 (#708)
Browse files Browse the repository at this point in the history
* 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: ascjones <[email protected]>
  • Loading branch information
HCastano and ascjones authored Aug 25, 2022
1 parent f903c03 commit 90c08b4
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 18 deletions.
38 changes: 29 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [`[email protected]`](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)
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [".", "metadata", "transcode"]

[package]
name = "cargo-contract"
version = "1.5.0"
version = "2.0.0-alpha.1"
authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-metadata"
version = "1.5.0"
version = "2.0.0-alpha.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

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

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

0 comments on commit 90c08b4

Please sign in to comment.