Skip to content

Commit eb07986

Browse files
author
Michael Müller
authored
Release ink! 3.0.0-rc6 (#965)
* Bump `rc5` ➔ `rc6` * Update release notes
1 parent 44951c9 commit eb07986

File tree

29 files changed

+156
-150
lines changed

29 files changed

+156
-150
lines changed

RELEASES.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
# Version 3.0-rc6 (UNRELEASED)
1+
# Version 3.0-rc6
22

33
This is the 6th release candidate for ink! 3.0.
44

5-
## Changed
5+
## Added
6+
- 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)).
67

8+
## Changed
79
- Update to `scale-info` 1.0 - [#845](https://github.com/paritytech/ink/pull/845).
8-
- Message and constructor selectors no longer take their inputs as string but as `u32` decodable integer. For example:
9-
10+
- 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/>
11+
For example:
1012
- It is no longer possible to specify a selector as `#[ink(selector = "0xC0DECAFE")]`.
1113
- The newly allowed formats are `#[ink(selector = 0xC0DECAFE)]` and `#[ink(selector = 42)]`.
1214
- Smart contract authors are required to update their smart contracts for this change.
15+
- Improved the `multisig` example - [#962](https://github.com/paritytech/ink/pull/962).
16+
- Changed the link to our beginner's workshop to the migrated workshop on `substrate.io` - [#957](https://github.com/paritytech/ink/pull/957).
17+
18+
## Fixed
19+
- Fixed a mistake in the `ink_env::block_timestamp()` documentation - [#937](https://github.com/paritytech/ink/pull/937).
1320

1421
# Version 3.0-rc5 (2021-09-08)
1522

@@ -19,8 +26,7 @@ The list below shows the additions, changes and fixes that are visible to users
1926

2027
## Compatibility
2128

22-
Make sure to use a recent Rust nightly and `cargo-contract` with the current
23-
release:
29+
Make sure to use a recent Rust nightly and `cargo-contract` with the current release:
2430
```
2531
cargo install cargo-contract --vers ^0.14 --force --locked && rustup update
2632
```

crates/allocator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_allocator"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

crates/engine/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_engine"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Michael Müller <michi@parity.io>"]
55
edition = "2018"
66

crates/env/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_env"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_engine = { version = "3.0.0-rc5", path = "../engine/", default-features = false, optional = true }
19-
ink_metadata = { version = "3.0.0-rc5", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
20-
ink_allocator = { version = "3.0.0-rc5", path = "../allocator/", default-features = false }
21-
ink_primitives = { version = "3.0.0-rc5", path = "../primitives/", default-features = false }
22-
ink_prelude = { version = "3.0.0-rc5", path = "../prelude/", default-features = false }
18+
ink_engine = { version = "3.0.0-rc6", path = "../engine/", default-features = false, optional = true }
19+
ink_metadata = { version = "3.0.0-rc6", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
20+
ink_allocator = { version = "3.0.0-rc6", path = "../allocator/", default-features = false }
21+
ink_primitives = { version = "3.0.0-rc6", path = "../primitives/", default-features = false }
22+
ink_prelude = { version = "3.0.0-rc6", path = "../prelude/", default-features = false }
2323

2424
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
2525
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }

crates/eth_compatibility/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_eth_compatibility"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>"]
55
edition = "2018"
66

@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
1616

1717
[dependencies]
18-
ink_env = { version = "3.0.0-rc5", path = "../env", default-features = false }
18+
ink_env = { version = "3.0.0-rc6", path = "../env", default-features = false }
1919
libsecp256k1 = { version = "0.3.5", default-features = false }
2020

2121
[features]

crates/lang/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_lang"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

@@ -15,13 +15,13 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_env = { version = "3.0.0-rc5", path = "../env", default-features = false }
19-
ink_storage = { version = "3.0.0-rc5", path = "../storage", default-features = false }
20-
ink_primitives = { version = "3.0.0-rc5", path = "../primitives", default-features = false }
21-
ink_metadata = { version = "3.0.0-rc5", path = "../metadata", default-features = false, optional = true }
22-
ink_prelude = { version = "3.0.0-rc5", path = "../prelude", default-features = false }
23-
ink_eth_compatibility = { version = "3.0.0-rc5", path = "../eth_compatibility", default-features = false }
24-
ink_lang_macro = { version = "3.0.0-rc5", path = "macro", default-features = false }
18+
ink_env = { version = "3.0.0-rc6", path = "../env", default-features = false }
19+
ink_storage = { version = "3.0.0-rc6", path = "../storage", default-features = false }
20+
ink_primitives = { version = "3.0.0-rc6", path = "../primitives", default-features = false }
21+
ink_metadata = { version = "3.0.0-rc6", path = "../metadata", default-features = false, optional = true }
22+
ink_prelude = { version = "3.0.0-rc6", path = "../prelude", default-features = false }
23+
ink_eth_compatibility = { version = "3.0.0-rc6", path = "../eth_compatibility", default-features = false }
24+
ink_lang_macro = { version = "3.0.0-rc6", path = "macro", default-features = false }
2525

2626
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive", "full"] }
2727
derive_more = { version = "0.99", default-features = false, features = ["from"] }

crates/lang/codegen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_lang_codegen"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

@@ -18,7 +18,7 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1818
name = "ink_lang_codegen"
1919

2020
[dependencies]
21-
ir = { version = "3.0.0-rc5", package = "ink_lang_ir", path = "../ir", default-features = false }
21+
ir = { version = "3.0.0-rc6", package = "ink_lang_ir", path = "../ir", default-features = false }
2222
quote = "1"
2323
syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] }
2424
proc-macro2 = "1.0"

crates/lang/ir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_lang_ir"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

crates/lang/macro/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_lang_macro"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

@@ -15,20 +15,20 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_lang_ir = { version = "3.0.0-rc5", path = "../ir", default-features = false }
19-
ink_lang_codegen = { version = "3.0.0-rc5", path = "../codegen", default-features = false }
20-
ink_primitives = { version = "3.0.0-rc5", path = "../../primitives/", default-features = false }
18+
ink_lang_ir = { version = "3.0.0-rc6", path = "../ir", default-features = false }
19+
ink_lang_codegen = { version = "3.0.0-rc6", path = "../codegen", default-features = false }
20+
ink_primitives = { version = "3.0.0-rc6", path = "../../primitives/", default-features = false }
2121

2222
scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] }
2323
syn = "1"
2424
proc-macro2 = "1"
2525

2626
[dev-dependencies]
27-
ink_metadata = { version = "3.0.0-rc5", path = "../../metadata/" }
28-
ink_env = { version = "3.0.0-rc5", path = "../../env/" }
29-
ink_storage = { version = "3.0.0-rc5", path = "../../storage/" }
30-
ink_lang = { version = "3.0.0-rc5", path = ".." }
31-
ink_prelude = { version = "3.0.0-rc5", path = "../../prelude/" }
27+
ink_metadata = { version = "3.0.0-rc6", path = "../../metadata/" }
28+
ink_env = { version = "3.0.0-rc6", path = "../../env/" }
29+
ink_storage = { version = "3.0.0-rc6", path = "../../storage/" }
30+
ink_lang = { version = "3.0.0-rc6", path = ".." }
31+
ink_prelude = { version = "3.0.0-rc6", path = "../../prelude/" }
3232

3333
trybuild = "1.0.24"
3434
scale-info = { version = "1.0", default-features = false, features = ["derive"] }

crates/metadata/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_metadata"
3-
version = "3.0.0-rc5"
3+
version = "3.0.0-rc6"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2018"
66

@@ -15,8 +15,8 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_prelude = { version = "3.0.0-rc5", path = "../prelude/", default-features = false }
19-
ink_primitives = { version = "3.0.0-rc5", path = "../primitives/", default-features = false }
18+
ink_prelude = { version = "3.0.0-rc6", path = "../prelude/", default-features = false }
19+
ink_primitives = { version = "3.0.0-rc6", path = "../primitives/", default-features = false }
2020

2121
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
2222
impl-serde = "0.3.1"

0 commit comments

Comments
 (0)