Unverified Commit eb07986f authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

Release ink! 3.0.0-rc6 (#965)

* Bump `rc5` ➔ `rc6`

* Update release notes
parent 44951c9d
Pipeline #162593 passed with stages
in 48 minutes and 52 seconds
# Version 3.0-rc6 (UNRELEASED)
# Version 3.0-rc6
This is the 6th release candidate for ink! 3.0.
## Changed
## Added
- Added an Ethereum-compatibility function to recover a public key from an ECDSA signature and message hash - [#914](https://github.com/paritytech/ink/pull/914) (thanks [@xgreenx](https://github.com/xgreenx)).
## Changed
- Update to `scale-info` 1.0 - [#845](https://github.com/paritytech/ink/pull/845).
- Message and constructor selectors no longer take their inputs as string but as `u32` decodable integer. For example:
- Message and constructor selectors no longer take their inputs as string, but as `u32` decodable integer - [#928](https://github.com/paritytech/ink/pull/928).<br/>
For example:
- It is no longer possible to specify a selector as `#[ink(selector = "0xC0DECAFE")]`.
- The newly allowed formats are `#[ink(selector = 0xC0DECAFE)]` and `#[ink(selector = 42)]`.
- Smart contract authors are required to update their smart contracts for this change.
- Improved the `multisig` example - [#962](https://github.com/paritytech/ink/pull/962).
- Changed the link to our beginner's workshop to the migrated workshop on `substrate.io` - [#957](https://github.com/paritytech/ink/pull/957).
## Fixed
- Fixed a mistake in the `ink_env::block_timestamp()` documentation - [#937](https://github.com/paritytech/ink/pull/937).
# Version 3.0-rc5 (2021-09-08)
......@@ -19,8 +26,7 @@ The list below shows the additions, changes and fixes that are visible to users
## Compatibility
Make sure to use a recent Rust nightly and `cargo-contract` with the current
release:
Make sure to use a recent Rust nightly and `cargo-contract` with the current release:
```
cargo install cargo-contract --vers ^0.14 --force --locked && rustup update
```
......
[package]
name = "ink_allocator"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......
[package]
name = "ink_engine"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Michael Müller <michi@parity.io>"]
edition = "2018"
......
[package]
name = "ink_env"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_engine = { version = "3.0.0-rc5", path = "../engine/", default-features = false, optional = true }
ink_metadata = { version = "3.0.0-rc5", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_allocator = { version = "3.0.0-rc5", path = "../allocator/", default-features = false }
ink_primitives = { version = "3.0.0-rc5", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.0.0-rc5", path = "../prelude/", default-features = false }
ink_engine = { version = "3.0.0-rc6", path = "../engine/", default-features = false, optional = true }
ink_metadata = { version = "3.0.0-rc6", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_allocator = { version = "3.0.0-rc6", path = "../allocator/", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.0.0-rc6", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
......
[package]
name = "ink_eth_compatibility"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
[dependencies]
ink_env = { version = "3.0.0-rc5", path = "../env", default-features = false }
ink_env = { version = "3.0.0-rc6", path = "../env", default-features = false }
libsecp256k1 = { version = "0.3.5", default-features = false }
[features]
......
[package]
name = "ink_lang"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -15,13 +15,13 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_env = { version = "3.0.0-rc5", path = "../env", default-features = false }
ink_storage = { version = "3.0.0-rc5", path = "../storage", default-features = false }
ink_primitives = { version = "3.0.0-rc5", path = "../primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../metadata", default-features = false, optional = true }
ink_prelude = { version = "3.0.0-rc5", path = "../prelude", default-features = false }
ink_eth_compatibility = { version = "3.0.0-rc5", path = "../eth_compatibility", default-features = false }
ink_lang_macro = { version = "3.0.0-rc5", path = "macro", default-features = false }
ink_env = { version = "3.0.0-rc6", path = "../env", default-features = false }
ink_storage = { version = "3.0.0-rc6", path = "../storage", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../metadata", default-features = false, optional = true }
ink_prelude = { version = "3.0.0-rc6", path = "../prelude", default-features = false }
ink_eth_compatibility = { version = "3.0.0-rc6", path = "../eth_compatibility", default-features = false }
ink_lang_macro = { version = "3.0.0-rc6", path = "macro", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from"] }
......
[package]
name = "ink_lang_codegen"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -18,7 +18,7 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
name = "ink_lang_codegen"
[dependencies]
ir = { version = "3.0.0-rc5", package = "ink_lang_ir", path = "../ir", default-features = false }
ir = { version = "3.0.0-rc6", package = "ink_lang_ir", path = "../ir", default-features = false }
quote = "1"
syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] }
proc-macro2 = "1.0"
......
[package]
name = "ink_lang_ir"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......
[package]
name = "ink_lang_macro"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -15,20 +15,20 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_lang_ir = { version = "3.0.0-rc5", path = "../ir", default-features = false }
ink_lang_codegen = { version = "3.0.0-rc5", path = "../codegen", default-features = false }
ink_primitives = { version = "3.0.0-rc5", path = "../../primitives/", default-features = false }
ink_lang_ir = { version = "3.0.0-rc6", path = "../ir", default-features = false }
ink_lang_codegen = { version = "3.0.0-rc6", path = "../codegen", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../primitives/", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
syn = "1"
proc-macro2 = "1"
[dev-dependencies]
ink_metadata = { version = "3.0.0-rc5", path = "../../metadata/" }
ink_env = { version = "3.0.0-rc5", path = "../../env/" }
ink_storage = { version = "3.0.0-rc5", path = "../../storage/" }
ink_lang = { version = "3.0.0-rc5", path = ".." }
ink_prelude = { version = "3.0.0-rc5", path = "../../prelude/" }
ink_metadata = { version = "3.0.0-rc6", path = "../../metadata/" }
ink_env = { version = "3.0.0-rc6", path = "../../env/" }
ink_storage = { version = "3.0.0-rc6", path = "../../storage/" }
ink_lang = { version = "3.0.0-rc6", path = ".." }
ink_prelude = { version = "3.0.0-rc6", path = "../../prelude/" }
trybuild = "1.0.24"
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
......
[package]
name = "ink_metadata"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -15,8 +15,8 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_prelude = { version = "3.0.0-rc5", path = "../prelude/", default-features = false }
ink_primitives = { version = "3.0.0-rc5", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.0.0-rc6", path = "../prelude/", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../primitives/", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
impl-serde = "0.3.1"
......
[package]
name = "ink_prelude"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......
[package]
name = "ink_primitives"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
[dependencies]
ink_prelude = { version = "3.0.0-rc5", path = "../prelude/", default-features = false }
ink_prelude = { version = "3.0.0-rc6", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
......
[package]
name = "ink_storage"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_env = { version = "3.0.0-rc5", path = "../env/", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "3.0.0-rc5", path = "../primitives/", default-features = false }
ink_storage_derive = { version = "3.0.0-rc5", path = "derive", default-features = false }
ink_prelude = { version = "3.0.0-rc5", path = "../prelude/", default-features = false }
ink_env = { version = "3.0.0-rc6", path = "../env/", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "3.0.0-rc6", path = "../primitives/", default-features = false }
ink_storage_derive = { version = "3.0.0-rc6", path = "derive", default-features = false }
ink_prelude = { version = "3.0.0-rc6", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
......
[package]
name = "ink_storage_derive"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
edition = "2018"
......@@ -25,7 +25,7 @@ synstructure = "0.12.4"
[dev-dependencies]
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
ink_env = { version = "3.0.0-rc5", path = "../../env" }
ink_primitives = { version = "3.0.0-rc5", path = "../../primitives" }
ink_metadata = { version = "3.0.0-rc5", path = "../../metadata" }
ink_storage = { version = "3.0.0-rc5", path = ".." }
ink_env = { version = "3.0.0-rc6", path = "../../env" }
ink_primitives = { version = "3.0.0-rc6", path = "../../primitives" }
ink_metadata = { version = "3.0.0-rc6", path = "../../metadata" }
ink_storage = { version = "3.0.0-rc6", path = ".." }
[package]
name = "contract_terminate"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { version = "3.0.0-rc5", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc5", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc5", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc5", path = "../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc6", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc6", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc6", path = "../../crates/lang", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
......
[package]
name = "contract_transfer"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { version = "3.0.0-rc5", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc5", path = "../../crates/env", default-features = false, features = [ "ink-debug" ] }
ink_storage = { version = "3.0.0-rc5", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc5", path = "../../crates/lang", default-features = false }
ink_prelude = { version = "3.0.0-rc5", path = "../../crates/prelude", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc6", path = "../../crates/env", default-features = false, features = [ "ink-debug" ] }
ink_storage = { version = "3.0.0-rc6", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc6", path = "../../crates/lang", default-features = false }
ink_prelude = { version = "3.0.0-rc6", path = "../../crates/prelude", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
......
[package]
name = "delegator"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { version = "3.0.0-rc5", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc5", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc5", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc5", path = "../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc6", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc6", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc6", path = "../../crates/lang", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
adder = { version = "3.0.0-rc5", path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { version = "3.0.0-rc5", path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc5", path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
adder = { version = "3.0.0-rc6", path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { version = "3.0.0-rc6", path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc6", path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
[lib]
......
[package]
name = "accumulator"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { version = "3.0.0-rc5", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc5", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc5", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc5", path = "../../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc6", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc6", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc6", path = "../../../crates/lang", default-features = false }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
......
[package]
name = "adder"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { version = "3.0.0-rc5", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc5", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc5", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc5", path = "../../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc6", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc6", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc6", path = "../../../crates/lang", default-features = false }
accumulator = { version = "3.0.0-rc5", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc6", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
......
[package]
name = "subber"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { version = "3.0.0-rc5", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc5", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc5", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc5", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc5", path = "../../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc6", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc6", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc6", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc6", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc6", path = "../../../crates/lang", default-features = false }
accumulator = { version = "3.0.0-rc5", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc6", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true }
......
Markdown is supported
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