Skip to content

Commit 809a113

Browse files
authored
Release ink! 3.2.0 (#1274)
* Bump version number to `3.2.0` * Update release notes * Remove reverted fix from changelog
1 parent b25d6b8 commit 809a113

File tree

36 files changed

+89
-70
lines changed

36 files changed

+89
-70
lines changed

RELEASES.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# [Unreleased]
22

3+
# Version 3.2.0
4+
5+
## Compatibility
6+
We recommend using a version of the [`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts)
7+
later than [c0ee2ad](https://github.com/paritytech/substrate/tree/c0ee2adaa54b22ee0df5d1592cd0430961afd95c)
8+
(May 23, 2022) in your node.
9+
10+
This is the case in the latest release of the [`substrate-contracts-node`](https://github.com/paritytech/substrate-contracts-node)
11+
[v0.16.0](https://github.com/paritytech/substrate-contracts-node/releases/tag/v0.16.0).
12+
13+
## Added
14+
- Contract size optimization in case contract doesn't accept payment ‒ [#1267](https://github.com/paritytech/ink/pull/1270) [#1273](https://github.com/paritytech/ink/pull/1267) (thanks [@xgreenx](https://github.com/xgreenx)).
15+
16+
## Changed
17+
- Two functions have been stabilized: [`ink_env::ecdsa_recover`](https://paritytech.github.io/ink/ink_env/fn.ecdsa_recover.html) and [`ink_env::ecdsa_to_eth_address`](https://paritytech.github.io/ink/ink_env/fn.ecdsa_to_eth_address.html)[#1270](https://github.com/paritytech/ink/pull/1270) [#1273](https://github.com/paritytech/ink/pull/1273)
18+
19+
## Fixed
20+
- Fixed bug with recent Rust and `cargo test`[#1272](https://github.com/paritytech/ink/pull/1270) [#1273](https://github.com/paritytech/ink/pull/1272) (thanks [@xgreenx](https://github.com/xgreenx)).
21+
322
# Version 3.1.0
423

524
## Compatibility

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.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
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.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Michael Müller <michi@parity.io>"]
55
edition = "2021"
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.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
66

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

1717
[dependencies]
18-
ink_metadata = { version = "3.1.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
19-
ink_allocator = { version = "3.1.0", path = "../allocator/", default-features = false }
20-
ink_primitives = { version = "3.1.0", path = "../primitives/", default-features = false }
21-
ink_prelude = { version = "3.1.0", path = "../prelude/", default-features = false }
18+
ink_metadata = { version = "3.2.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
19+
ink_allocator = { version = "3.2.0", path = "../allocator/", default-features = false }
20+
ink_primitives = { version = "3.2.0", path = "../primitives/", default-features = false }
21+
ink_prelude = { version = "3.2.0", path = "../prelude/", default-features = false }
2222

2323
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2424
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
@@ -32,7 +32,7 @@ static_assertions = "1.1"
3232
rlibc = "1"
3333

3434
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
35-
ink_engine = { version = "3.1.0", path = "../engine/", optional = true }
35+
ink_engine = { version = "3.2.0", path = "../engine/", optional = true }
3636

3737
# Hashes for the off-chain environment.
3838
sha2 = { version = "0.10", optional = true }

crates/lang/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"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
66

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

1717
[dependencies]
18-
ink_env = { version = "3.1.0", path = "../env", default-features = false }
19-
ink_storage = { version = "3.1.0", path = "../storage", default-features = false }
20-
ink_primitives = { version = "3.1.0", path = "../primitives", default-features = false }
21-
ink_metadata = { version = "3.1.0", path = "../metadata", default-features = false, optional = true }
22-
ink_prelude = { version = "3.1.0", path = "../prelude", default-features = false }
23-
ink_lang_macro = { version = "3.1.0", path = "macro", default-features = false }
18+
ink_env = { version = "3.2.0", path = "../env", default-features = false }
19+
ink_storage = { version = "3.2.0", path = "../storage", default-features = false }
20+
ink_primitives = { version = "3.2.0", path = "../primitives", default-features = false }
21+
ink_metadata = { version = "3.2.0", path = "../metadata", default-features = false, optional = true }
22+
ink_prelude = { version = "3.2.0", path = "../prelude", default-features = false }
23+
ink_lang_macro = { version = "3.2.0", path = "macro", default-features = false }
2424

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

2828
[dev-dependencies]
29-
ink_lang_ir = { version = "3.1.0", path = "ir" }
30-
ink_metadata = { version = "3.1.0", default-features = false, path = "../metadata" }
29+
ink_lang_ir = { version = "3.2.0", path = "ir" }
30+
ink_metadata = { version = "3.2.0", default-features = false, path = "../metadata" }
3131

3232
trybuild = { version = "1.0.60", features = ["diff"] }
3333
# Required for the doctest of `env_access::EnvAccess::instantiate_contract`

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.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
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.1.0", package = "ink_lang_ir", path = "../ir", default-features = false }
21+
ir = { version = "3.2.0", 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.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
66

crates/lang/macro/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_macro"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
66

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

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

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

2626
[dev-dependencies]
27-
ink_metadata = { version = "3.1.0", path = "../../metadata/" }
28-
ink_env = { version = "3.1.0", path = "../../env/" }
29-
ink_storage = { version = "3.1.0", path = "../../storage/" }
30-
ink_lang = { version = "3.1.0", path = ".." }
27+
ink_metadata = { version = "3.2.0", path = "../../metadata/" }
28+
ink_env = { version = "3.2.0", path = "../../env/" }
29+
ink_storage = { version = "3.2.0", path = "../../storage/" }
30+
ink_lang = { version = "3.2.0", path = ".." }
3131
scale-info = { version = "2", default-features = false, features = ["derive"] }
3232

3333
[lib]

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.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
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.1.0", path = "../prelude/", default-features = false }
19-
ink_primitives = { version = "3.1.0", path = "../primitives/", default-features = false }
18+
ink_prelude = { version = "3.2.0", path = "../prelude/", default-features = false }
19+
ink_primitives = { version = "3.2.0", path = "../primitives/", default-features = false }
2020

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

crates/prelude/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_prelude"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"]
55
edition = "2021"
66

0 commit comments

Comments
 (0)