Skip to content

Commit

Permalink
Release 4.2.0 (#1758)
Browse files Browse the repository at this point in the history
* Bump versions to `4.2.0`

* Update `CHANGELOG.md`

* Fix link

* Add #1735
  • Loading branch information
Michael Müller authored Apr 20, 2023
1 parent 9dfc631 commit 55088cc
Show file tree
Hide file tree
Showing 49 changed files with 91 additions and 85 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## Version 4.2.0

### Added
- Persist `Environment` in metadata - [#1741](https://github.com/paritytech/ink/pull/1741)
- Persist `Environment` in metadata ‒ [#1741](https://github.com/paritytech/ink/pull/1741)
- Added possibility for `runtime_call` in E2E tests ‒ [#1736](https://github.com/paritytech/ink/pull/1736)
- Added `default` attribute to constructors and messages ‒ [#1724](https://github.com/paritytech/ink/pull/1724)
- Added clarification about `Mapping::size` unit ‒ [#1735](https://github.com/paritytech/ink/pull/1735)

### Changed
- Upgraded `syn` to version `2` - [#1731](https://github.com/paritytech/ink/pull/1731)
- Added `default` attribute to constructors and messages - [#1703](https://github.com/paritytech/ink/pull/1724)
- Upgraded `syn` to version `2`[#1731](https://github.com/paritytech/ink/pull/1731)
- Update `scale-info` requirement to `2.5`[#1733](https://github.com/paritytech/ink/pull/1733)
- Bump `subxt` to `0.28.0`[#1750](https://github.com/paritytech/ink/pull/1750)

## Version 4.1.0

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

Expand Down
10 changes: 5 additions & 5 deletions crates/e2e/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_e2e"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_e2e_macro = { version = "4.1.0", path = "./macro" }
ink = { version = "4.1.0", path = "../ink" }
ink_env = { version = "4.1.0", path = "../env" }
ink_primitives = { version = "4.1.0", path = "../primitives" }
ink_e2e_macro = { version = "4.2.0", path = "./macro" }
ink = { version = "4.2.0", path = "../ink" }
ink_env = { version = "4.2.0", path = "../env" }
ink_primitives = { version = "4.2.0", path = "../primitives" }

funty = "2.0.0"
impl-serde = { version = "0.3.1", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions crates/e2e/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_e2e_macro"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand All @@ -19,7 +19,7 @@ name = "ink_e2e_macro"
proc-macro = true

[dependencies]
ink_ir = { version = "4.1.0", path = "../../ink/ir" }
ink_ir = { version = "4.2.0", path = "../../ink/ir" }
cargo_metadata = "0.15.3"
contract-build = "2.0.2"
derive_more = "0.99.17"
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 = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_primitives = { version = "4.1.0", path = "../../crates/primitives", default-features = false }
ink_primitives = { version = "4.2.0", path = "../../crates/primitives", default-features = false }
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }

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 = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"
rust-version = "1.68"
Expand All @@ -16,10 +16,10 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]

[dependencies]
ink_allocator = { version = "4.1.0", path = "../allocator", default-features = false }
ink_storage_traits = { version = "4.1.0", path = "../storage/traits", default-features = false }
ink_prelude = { version = "4.1.0", path = "../prelude", default-features = false }
ink_primitives = { version = "4.1.0", path = "../primitives", default-features = false }
ink_allocator = { version = "4.2.0", path = "../allocator", default-features = false }
ink_storage_traits = { version = "4.2.0", path = "../storage/traits", default-features = false }
ink_prelude = { version = "4.2.0", path = "../prelude", default-features = false }
ink_primitives = { version = "4.2.0", path = "../primitives", default-features = false }

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

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

# Hashes for the off-chain environment.
sha2 = { version = "0.10", optional = true }
Expand Down
14 changes: 7 additions & 7 deletions crates/ink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"
rust-version = "1.63"
Expand All @@ -16,12 +16,12 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]

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

scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
derive_more = { version = "0.99", default-features = false, features = ["from"] }
Expand Down
6 changes: 3 additions & 3 deletions crates/ink/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_codegen"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_primitives = { version = "4.1.0", path = "../../primitives" }
ir = { version = "4.1.0", package = "ink_ir", path = "../ir", default-features = false }
ink_primitives = { version = "4.2.0", path = "../../primitives" }
ir = { version = "4.2.0", package = "ink_ir", path = "../ir", default-features = false }
quote = "1"
syn = { version = "2.0", features = ["parsing", "full", "extra-traits"] }
proc-macro2 = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/ink/ir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_ir"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

Expand Down
8 changes: 4 additions & 4 deletions crates/ink/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_macro"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_ir = { version = "4.1.0", path = "../ir", default-features = false }
ink_codegen = { version = "4.1.0", path = "../codegen", default-features = false }
ink_primitives = { version = "4.1.0", path = "../../primitives/", default-features = false }
ink_ir = { version = "4.2.0", path = "../ir", default-features = false }
ink_codegen = { version = "4.2.0", path = "../codegen", default-features = false }
ink_primitives = { version = "4.2.0", path = "../../primitives/", default-features = false }

scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
syn = "2"
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 = "4.1.0"
version = "4.2.0"
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 = "4.1.0", path = "../prelude/", default-features = false }
ink_primitives = { version = "4.1.0", path = "../primitives/", default-features = false }
ink_prelude = { version = "4.2.0", path = "../prelude/", default-features = false }
ink_primitives = { version = "4.2.0", path = "../primitives/", default-features = false }

serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
impl-serde = "0.4.0"
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 = "4.1.0"
version = "4.2.0"
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 = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2021"

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

[dependencies]
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
ink_prelude = { version = "4.1.0", path = "../prelude/", default-features = false }
ink_prelude = { version = "4.2.0", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
scale-decode = { version = "0.5.0", default-features = false, features = ["derive"], optional = true }
scale-encode = { version = "0.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 = "4.1.0"
version = "4.2.0"
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 = "4.1.0", path = "../env/", default-features = false }
ink_metadata = { version = "4.1.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "4.1.0", path = "../primitives/", default-features = false }
ink_storage_traits = { version = "4.1.0", path = "traits", default-features = false }
ink_prelude = { version = "4.1.0", path = "../prelude/", default-features = false }
ink_env = { version = "4.2.0", path = "../env/", default-features = false }
ink_metadata = { version = "4.2.0", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "4.2.0", path = "../primitives/", default-features = false }
ink_storage_traits = { version = "4.2.0", path = "traits", default-features = false }
ink_prelude = { version = "4.2.0", path = "../prelude/", default-features = false }

scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
Expand Down
8 changes: 4 additions & 4 deletions crates/storage/traits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_storage_traits"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

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

[dependencies]
ink_metadata = { version = "4.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "4.1.0", path = "../../primitives", default-features = false }
ink_prelude = { version = "4.1.0", path = "../../prelude", default-features = false }
ink_metadata = { version = "4.2.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
ink_primitives = { version = "4.2.0", path = "../../primitives", default-features = false }
ink_prelude = { version = "4.2.0", path = "../../prelude", default-features = false }
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] }
scale-info = { version = "2.5", default-features = false, features = ["derive"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/basic_contract_caller/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "basic_contract_caller"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "other_contract"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/contract-terminate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract_terminate"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/contract-transfer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract_transfer"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/custom-environment/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom-environment"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/custom_allocator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom_allocator"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/dns/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dns"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/e2e-call-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "e2e_call_runtime"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand All @@ -26,4 +26,4 @@ std = [
"scale-info/std",
]
ink-as-dependency = []
e2e-tests = []
e2e-tests = []
2 changes: 1 addition & 1 deletion integration-tests/erc1155/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "erc1155"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/erc20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "erc20"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/erc721/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "erc721"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/flipper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flipper"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/incrementer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "incrementer"
version = "4.1.0"
version = "4.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
publish = false
Expand Down
Loading

0 comments on commit 55088cc

Please sign in to comment.