Skip to content

Commit

Permalink
Release v3.0.0 (#1111)
Browse files Browse the repository at this point in the history
* Bump version to 2.3.0

* RELEASE NOTES

* BUMP to 3.0

* Cargo.lock

* Include riscv file

* CHANGELOG.md

* CHANGELOG.md
  • Loading branch information
ascjones authored May 17, 2023
1 parent f3bbe0a commit 141434a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.0]

### Added
- Experimental support for RISC-V contracts - [#1076](https://github.com/paritytech/cargo-contract/pull/1076)

### Changed
- Contracts are build as `bin` crate now (we used `cdylib` before) - [#1076](https://github.com/paritytech/cargo-contract/pull/1076)
- BREAKING CHANGE: Make sure that your contract is `no_main` by having this on top of your contract:
- `#![cfg_attr(not(feature = "std"), no_std, no_main)]`
- This will be detected and suggested for `error[E0601]` [#1113](https://github.com/paritytech/cargo-contract/pull/1113)
- Update contracts node metadata (#1105)
- Compatible with `substrate-contracts-node 0.25.0-a2b09462c7c`

### Fixed
- Fix original Wasm artifact path [#1116](https://github.com/paritytech/cargo-contract/pull/1116)

## [2.2.1]

Expand Down
8 changes: 4 additions & 4 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 crates/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-build"
version = "2.2.1"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand All @@ -11,7 +11,7 @@ documentation = "https://docs.rs/contract-metadata"
homepage = "https://www.substrate.io/"
description = "Library for building ink! smart contracts"
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates",]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates", "riscv_memory_layout.ld"]

[dependencies]
anyhow = "1.0.71"
Expand Down Expand Up @@ -39,7 +39,7 @@ which = "4.4.0"
zip = { version = "0.6.6", default-features = false }
strum = { version = "0.24", features = ["derive"] }

contract-metadata = { version = "2.2.1", path = "../metadata" }
contract-metadata = { version = "3.0.0", path = "../metadata" }

[build-dependencies]
anyhow = "1.0.71"
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.2.1"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand All @@ -18,9 +18,9 @@ include = [
]

[dependencies]
contract-build = { version = "2.2.1", path = "../build" }
contract-metadata = { version = "2.2.1", path = "../metadata" }
contract-transcode = { version = "2.2.1", path = "../transcode" }
contract-build = { version = "3.0.0", path = "../build" }
contract-metadata = { version = "3.0.0", path = "../metadata" }
contract-transcode = { version = "3.0.0", path = "../transcode" }

anyhow = "1.0.71"
clap = { version = "4.2.7", 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.2.1"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

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 = "2.2.1"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand All @@ -20,7 +20,7 @@ path = "src/lib.rs"
anyhow = "1.0.71"
base58 = { version = "0.2.0" }
blake2 = { version = "0.10.4", default-features = false }
contract-metadata = { version = "2.2.1", path = "../metadata" }
contract-metadata = { version = "3.0.0", path = "../metadata" }
escape8259 = "0.5.2"
hex = "0.4.3"
indexmap = "1.9.3"
Expand Down

0 comments on commit 141434a

Please sign in to comment.