Skip to content

Commit

Permalink
Release ink! 3.0.0-rc6 (#965)
Browse files Browse the repository at this point in the history
* Bump `rc5` ➔ `rc6`

* Update release notes
  • Loading branch information
Michael Müller authored Oct 18, 2021
1 parent 44951c9 commit eb07986
Show file tree
Hide file tree
Showing 29 changed files with 156 additions and 150 deletions.
18 changes: 12 additions & 6 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# 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)

Expand All @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion crates/allocator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_allocator"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion crates/engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_engine"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
edition = "2018"

Expand Down
12 changes: 6 additions & 6 deletions crates/env/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_env"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/eth_compatibility/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_eth_compatibility"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

Expand All @@ -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]
Expand Down
16 changes: 8 additions & 8 deletions crates/lang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_lang"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/lang/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_lang_codegen"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/lang/ir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_lang_ir"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand Down
18 changes: 9 additions & 9 deletions crates/lang/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_lang_macro"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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"] }
Expand Down
6 changes: 3 additions & 3 deletions crates/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_metadata"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/prelude/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_prelude"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_primitives"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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 }

Expand Down
12 changes: 6 additions & 6 deletions crates/storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_storage"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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"] }
Expand Down
10 changes: 5 additions & 5 deletions crates/storage/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_storage_derive"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand All @@ -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 = ".." }
12 changes: 6 additions & 6 deletions examples/contract-terminate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "contract_terminate"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>"]
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 }
Expand Down
14 changes: 7 additions & 7 deletions examples/contract-transfer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "contract_transfer"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>"]
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 }
Expand Down
18 changes: 9 additions & 9 deletions examples/delegator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[package]
name = "delegator"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>"]
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]
Expand Down
12 changes: 6 additions & 6 deletions examples/delegator/accumulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "accumulator"
version = "3.0.0-rc5"
version = "3.0.0-rc6"
authors = ["Parity Technologies <[email protected]>"]
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 }
Expand Down
Loading

0 comments on commit eb07986

Please sign in to comment.