Skip to content

Commit

Permalink
Release v3.3.1 (#1350)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
HCastano and athei authored Aug 9, 2022
1 parent a5bdabd commit c131bf1
Show file tree
Hide file tree
Showing 38 changed files with 85 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ variables:
GIT_DEPTH: 100
CARGO_INCREMENTAL: 0
CARGO_TARGET_DIR: "/ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
CI_IMAGE: "paritytech/ink-ci-linux:production"
CI_IMAGE: "paritytech/ink-ci-linux:48197a67-20220610"
PURELY_STD_CRATES: "lang/codegen metadata engine"
ALSO_WASM_CRATES: "env storage storage/derive allocator prelude primitives lang lang/macro lang/ir"
# this var is changed to "-:staging" when the CI image gets rebuilt
Expand Down
10 changes: 10 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# [Unreleased]

# Version 3.3.1

At the moment teams which use both Substrate and ink! in the same codebase are
[experiencing some issues](https://github.com/paritytech/ink/pull/1348#issuecomment-1207477615)
with updating to Substrate's [`polkadot-0.9.27` branch](https://github.com/paritytech/substrate/tree/polkadot-v0.9.27).
This is because that branch uses the `[email protected]`, which is incompatible with
`[email protected]`

This release bumps the `secp256k1` version from `v0.22` to `v0.24`.

# Version 3.3.0

This release restores SemVer compatibility in the `v3.x` series of releases, as well as
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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions crates/engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_engine"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
edition = "2021"

Expand All @@ -25,7 +25,7 @@ blake2 = { version = "0.10" }
rand = { version = "0.8" }

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

[features]
default = ["std"]
Expand Down
14 changes: 7 additions & 7 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_metadata = { version = "3.3.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_allocator = { version = "3.3.0", path = "../allocator/", default-features = false }
ink_primitives = { version = "3.3.0", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.3.0", path = "../prelude/", default-features = false }
ink_metadata = { version = "3.3.1", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_allocator = { version = "3.3.1", path = "../allocator/", default-features = false }
ink_primitives = { version = "3.3.1", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.3.1", path = "../prelude/", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
Expand All @@ -32,15 +32,15 @@ static_assertions = "1.1"
rlibc = "1"

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

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

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

# Only used in the off-chain environment.
#
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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_env = { version = "3.3.0", path = "../env", default-features = false }
ink_env = { version = "3.3.1", path = "../env", default-features = false }

[target.'cfg(not(target_os = "windows"))'.dependencies]
# We do not include `libsecp256k1` on Windows, since it's incompatible.
Expand Down
18 changes: 9 additions & 9 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_env = { version = "3.3.0", path = "../env", default-features = false }
ink_storage = { version = "3.3.0", path = "../storage", default-features = false }
ink_primitives = { version = "3.3.0", path = "../primitives", default-features = false }
ink_metadata = { version = "3.3.0", path = "../metadata", default-features = false, optional = true }
ink_prelude = { version = "3.3.0", path = "../prelude", default-features = false }
ink_lang_macro = { version = "3.3.0", path = "macro", default-features = false }
ink_env = { version = "3.3.1", path = "../env", default-features = false }
ink_storage = { version = "3.3.1", path = "../storage", default-features = false }
ink_primitives = { version = "3.3.1", path = "../primitives", default-features = false }
ink_metadata = { version = "3.3.1", path = "../metadata", default-features = false, optional = true }
ink_prelude = { version = "3.3.1", path = "../prelude", default-features = false }
ink_lang_macro = { version = "3.3.1", path = "macro", default-features = false }

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

[dev-dependencies]
ink_lang_ir = { version = "3.3.0", path = "ir" }
ink_metadata = { version = "3.3.0", default-features = false, path = "../metadata" }
ink_lang_ir = { version = "3.3.1", path = "ir" }
ink_metadata = { version = "3.3.1", default-features = false, path = "../metadata" }

trybuild = { version = "1.0.60", features = ["diff"] }
# Required for the doctest of `env_access::EnvAccess::instantiate_contract`
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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ir = { version = "3.3.0", package = "ink_lang_ir", path = "../ir", default-features = false }
ir = { version = "3.3.1", 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

Expand Down
16 changes: 8 additions & 8 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_lang_ir = { version = "3.3.0", path = "../ir", default-features = false }
ink_lang_codegen = { version = "3.3.0", path = "../codegen", default-features = false }
ink_primitives = { version = "3.3.0", path = "../../primitives/", default-features = false }
ink_lang_ir = { version = "3.3.1", path = "../ir", default-features = false }
ink_lang_codegen = { version = "3.3.1", path = "../codegen", default-features = false }
ink_primitives = { version = "3.3.1", path = "../../primitives/", default-features = false }

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

[dev-dependencies]
ink_metadata = { version = "3.3.0", path = "../../metadata/" }
ink_env = { version = "3.3.0", path = "../../env/" }
ink_storage = { version = "3.3.0", path = "../../storage/" }
ink_lang = { version = "3.3.0", path = ".." }
ink_metadata = { version = "3.3.1", path = "../../metadata/" }
ink_env = { version = "3.3.1", path = "../../env/" }
ink_storage = { version = "3.3.1", path = "../../storage/" }
ink_lang = { version = "3.3.1", path = ".." }
scale-info = { version = "2", default-features = false, features = ["derive"] }

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

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

[dependencies]
ink_prelude = { version = "3.3.0", path = "../prelude/", default-features = false }
ink_primitives = { version = "3.3.0", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.3.1", path = "../prelude/", default-features = false }
ink_primitives = { version = "3.3.1", 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

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

[dependencies]
ink_prelude = { version = "3.3.0", path = "../prelude/", default-features = false }
ink_prelude = { version = "3.3.1", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true }
cfg-if = "1"
Expand Down
14 changes: 7 additions & 7 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_env = { version = "3.3.0", path = "../env/", default-features = false }
ink_metadata = { version = "3.3.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "3.3.0", path = "../primitives/", default-features = false }
ink_storage_derive = { version = "3.3.0", path = "derive", default-features = false }
ink_prelude = { version = "3.3.0", path = "../prelude/", default-features = false }
ink_env = { version = "3.3.1", path = "../env/", default-features = false }
ink_metadata = { version = "3.3.1", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "3.3.1", path = "../primitives/", default-features = false }
ink_storage_derive = { version = "3.3.1", path = "derive", default-features = false }
ink_prelude = { version = "3.3.1", path = "../prelude/", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
Expand All @@ -33,7 +33,7 @@ quickcheck_macros = "1.0"
itertools = "0.10"
paste = "1.0"

ink_lang = { version = "3.3.0", path = "../lang/", default-features = false }
ink_lang = { version = "3.3.1", path = "../lang/", default-features = false }

[features]
default = ["std"]
Expand Down
12 changes: 6 additions & 6 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.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

Expand All @@ -25,8 +25,8 @@ synstructure = "0.12.4"

[dev-dependencies]
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
ink_env = { version = "3.3.0", path = "../../env" }
ink_primitives = { version = "3.3.0", path = "../../primitives" }
ink_metadata = { version = "3.3.0", path = "../../metadata" }
ink_prelude = { version = "3.3.0", path = "../../prelude/" }
ink_storage = { version = "3.3.0", path = ".." }
ink_env = { version = "3.3.1", path = "../../env" }
ink_primitives = { version = "3.3.1", path = "../../primitives" }
ink_metadata = { version = "3.3.1", path = "../../metadata" }
ink_prelude = { version = "3.3.1", path = "../../prelude/" }
ink_storage = { version = "3.3.1", path = ".." }
2 changes: 1 addition & 1 deletion examples/contract-terminate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract_terminate"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/contract-transfer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract_transfer"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/delegator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "delegator"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/delegator/accumulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "accumulator"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion examples/delegator/adder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "adder"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion examples/delegator/subber/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subber"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion examples/dns/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dns"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/erc1155/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "erc1155"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/erc20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "erc20"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/erc721/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "erc721"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/flipper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flipper"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/incrementer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "incrementer"
version = "3.3.0"
version = "3.3.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
Loading

0 comments on commit c131bf1

Please sign in to comment.