Skip to content

Commit c131bf1

Browse files
HCastanoathei
andauthored
Release v3.3.1 (#1350)
* Bump secp256k1 (#1348) * Bump versions to `v3.3.1` * Use Docker image from closer to the `v3.3.0` release date There's been a lot of changes related to the nightly compiler version and I don't think it's worth pulling them into this release. * Add release notes for `v3.3.1` Co-authored-by: Alexander Theißen <[email protected]>
1 parent a5bdabd commit c131bf1

File tree

38 files changed

+85
-75
lines changed

38 files changed

+85
-75
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ variables:
2626
GIT_DEPTH: 100
2727
CARGO_INCREMENTAL: 0
2828
CARGO_TARGET_DIR: "/ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
29-
CI_IMAGE: "paritytech/ink-ci-linux:production"
29+
CI_IMAGE: "paritytech/ink-ci-linux:48197a67-20220610"
3030
PURELY_STD_CRATES: "lang/codegen metadata engine"
3131
ALSO_WASM_CRATES: "env storage storage/derive allocator prelude primitives lang lang/macro lang/ir"
3232
# this var is changed to "-:staging" when the CI image gets rebuilt

RELEASES.md

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

3+
# Version 3.3.1
4+
5+
At the moment teams which use both Substrate and ink! in the same codebase are
6+
[experiencing some issues](https://github.com/paritytech/ink/pull/1348#issuecomment-1207477615)
7+
with updating to Substrate's [`polkadot-0.9.27` branch](https://github.com/paritytech/substrate/tree/polkadot-v0.9.27).
8+
This is because that branch uses the `[email protected]`, which is incompatible with
9+
10+
11+
This release bumps the `secp256k1` version from `v0.22` to `v0.24`.
12+
313
# Version 3.3.0
414

515
This release restores SemVer compatibility in the `v3.x` series of releases, as well as

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.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/engine/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_engine"
3-
version = "3.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
55
edition = "2021"
66

@@ -25,7 +25,7 @@ blake2 = { version = "0.10" }
2525
rand = { version = "0.8" }
2626

2727
# ECDSA for the off-chain environment.
28-
secp256k1 = { version = "0.22.0", features = ["recovery", "global-context"], optional = true }
28+
secp256k1 = { version = "0.24", features = ["recovery", "global-context"], optional = true }
2929

3030
[features]
3131
default = ["std"]

crates/env/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_env"
3-
version = "3.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
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.3.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
19-
ink_allocator = { version = "3.3.0", path = "../allocator/", default-features = false }
20-
ink_primitives = { version = "3.3.0", path = "../primitives/", default-features = false }
21-
ink_prelude = { version = "3.3.0", path = "../prelude/", default-features = false }
18+
ink_metadata = { version = "3.3.1", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
19+
ink_allocator = { version = "3.3.1", path = "../allocator/", default-features = false }
20+
ink_primitives = { version = "3.3.1", path = "../primitives/", default-features = false }
21+
ink_prelude = { version = "3.3.1", 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,15 +32,15 @@ static_assertions = "1.1"
3232
rlibc = "1"
3333

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

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

4242
# ECDSA for the off-chain environment.
43-
secp256k1 = { version = "0.22.0", features = ["recovery", "global-context"], optional = true }
43+
secp256k1 = { version = "0.24", features = ["recovery", "global-context"], optional = true }
4444

4545
# Only used in the off-chain environment.
4646
#

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.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
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.3.0", path = "../env", default-features = false }
18+
ink_env = { version = "3.3.1", path = "../env", default-features = false }
1919

2020
[target.'cfg(not(target_os = "windows"))'.dependencies]
2121
# We do not include `libsecp256k1` on Windows, since it's incompatible.

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.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
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.3.0", path = "../env", default-features = false }
19-
ink_storage = { version = "3.3.0", path = "../storage", default-features = false }
20-
ink_primitives = { version = "3.3.0", path = "../primitives", default-features = false }
21-
ink_metadata = { version = "3.3.0", path = "../metadata", default-features = false, optional = true }
22-
ink_prelude = { version = "3.3.0", path = "../prelude", default-features = false }
23-
ink_lang_macro = { version = "3.3.0", path = "macro", default-features = false }
18+
ink_env = { version = "3.3.1", path = "../env", default-features = false }
19+
ink_storage = { version = "3.3.1", path = "../storage", default-features = false }
20+
ink_primitives = { version = "3.3.1", path = "../primitives", default-features = false }
21+
ink_metadata = { version = "3.3.1", path = "../metadata", default-features = false, optional = true }
22+
ink_prelude = { version = "3.3.1", path = "../prelude", default-features = false }
23+
ink_lang_macro = { version = "3.3.1", 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.3.0", path = "ir" }
30-
ink_metadata = { version = "3.3.0", default-features = false, path = "../metadata" }
29+
ink_lang_ir = { version = "3.3.1", path = "ir" }
30+
ink_metadata = { version = "3.3.1", 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.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
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.3.0", package = "ink_lang_ir", path = "../ir", default-features = false }
21+
ir = { version = "3.3.1", 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.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
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.3.0"
3+
version = "3.3.1"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
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.3.0", path = "../ir", default-features = false }
19-
ink_lang_codegen = { version = "3.3.0", path = "../codegen", default-features = false }
20-
ink_primitives = { version = "3.3.0", path = "../../primitives/", default-features = false }
18+
ink_lang_ir = { version = "3.3.1", path = "../ir", default-features = false }
19+
ink_lang_codegen = { version = "3.3.1", path = "../codegen", default-features = false }
20+
ink_primitives = { version = "3.3.1", 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.3.0", path = "../../metadata/" }
28-
ink_env = { version = "3.3.0", path = "../../env/" }
29-
ink_storage = { version = "3.3.0", path = "../../storage/" }
30-
ink_lang = { version = "3.3.0", path = ".." }
27+
ink_metadata = { version = "3.3.1", path = "../../metadata/" }
28+
ink_env = { version = "3.3.1", path = "../../env/" }
29+
ink_storage = { version = "3.3.1", path = "../../storage/" }
30+
ink_lang = { version = "3.3.1", path = ".." }
3131
scale-info = { version = "2", default-features = false, features = ["derive"] }
3232

3333
[lib]

0 commit comments

Comments
 (0)