Skip to content

Commit

Permalink
Release cargo-contract v0.18.0 and contract-metadata v0.6.0 (#461)
Browse files Browse the repository at this point in the history
* Bump versions

* Update release notes

* Update CHANGELOG.md

Co-authored-by: Andrew Jones <[email protected]>

Co-authored-by: Andrew Jones <[email protected]>
  • Loading branch information
cmichi and ascjones authored Mar 15, 2022
1 parent 63b870d commit e6aff71
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.18.0] - 2022-03-14

### Interact with contracts: upload, instantiate and call commands

We added commands to upload, instantiate and call contracts!
This allows interacting with contracts on live chains with a compatible
[`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts).

For command-line examples on how to use these commands see [#79](https://github.com/paritytech/cargo-contract/pull/79).

### Linting rules for smart contracts

We are introducing a linter for ink! smart contracts in this release!
Expand All @@ -20,10 +30,12 @@ In order for the linting to work with your smart contract, the contract has to b
written in at least ink! 3.0.0-rc9. If it's older the linting will just always succeed.

### Added
- Interact with contracts: upload, instantiate and call commands - [#79](https://github.com/paritytech/cargo-contract/pull/79)
- Add linting to assert correct initialization of [`ink_storage::Mapping`](https://paritytech.github.io/ink/ink_storage/struct.Mapping.html) - [#431](https://github.com/paritytech/cargo-contract/pull/431)

### Changed
- Upgrade `subxt`, SCALE crates, and substrate primitive `sp-*` crates [#451](https://github.com/paritytech/cargo-contract/pull/451).
- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc9` - [#443](https://github.com/paritytech/cargo-contract/pull/443)

## [0.17.0] - 2022-01-19

Expand Down
4 changes: 2 additions & 2 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [".", "metadata"]

[package]
name = "cargo-contract"
version = "0.17.0"
version = "0.18.0"
authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand Down Expand Up @@ -38,7 +38,7 @@ colored = "2.0.0"
toml = "0.5.8"
rustc_version = "0.4.0"
blake2 = "0.10.4"
contract-metadata = { version = "0.5.0", path = "./metadata" }
contract-metadata = { version = "0.6.0", path = "./metadata" }
semver = { version = "1.0.6", features = ["serde"] }
serde = { version = "1.0.136", default-features = false, features = ["derive"] }
serde_json = "1.0.79"
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 = "0.5.1"
version = "0.6.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down

0 comments on commit e6aff71

Please sign in to comment.