Skip to content

Commit

Permalink
Release ink! 3.0.0-rc4 (#864)
Browse files Browse the repository at this point in the history
* Add `Fixed` entry for #842

* Replace `3.0.0-rc3` with `3.0.0-rc4`

* Add bump allocator to release notes
  • Loading branch information
Michael Müller authored Jul 22, 2021
1 parent bffe9bf commit e11af69
Show file tree
Hide file tree
Showing 28 changed files with 144 additions and 142 deletions.
2 changes: 2 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ of key improvements to our testing setup:
A number of examples have already been converted to support the new testing engine.

## Changed
- To reduce a contract's space footprint we switched the default allocator to a bump allocator implementation ‒ [#831](https://github.com/paritytech/ink/pull/831).
- A couple of readme's have been reworked:
- Our main ink! readme ‒ [#774](https://github.com/paritytech/ink/pull/774).
- The `rand-extension` example readme ‒ [#793](https://github.com/paritytech/ink/pull/793).
Expand All @@ -84,6 +85,7 @@ of key improvements to our testing setup:

## Fixed
- Catch illegal `struct` destructuring pattern in ink! message arguments ‒ [#846](https://github.com/paritytech/ink/pull/846).
- Removed an erroneous `Salt` type in code generation for cross-contract calls ‒ [#842](https://github.com/paritytech/ink/pull/842).
- Do not generate metadata if compiled as dependency ‒ [#811](https://github.com/paritytech/ink/pull/811).
- Fix execution context parameters in DNS example tests ‒ [#723](https://github.com/paritytech/ink/pull/723).
- Fixed the `Greeter` contract example from our doc comments ‒ [#773](https://github.com/paritytech/ink/pull/773).
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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion crates/engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ink_engine"
version = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
edition = "2018"

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 = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

[dependencies]
ink_engine = { version = "3.0.0-rc3", path = "../engine/", default-features = false, optional = true }
ink_metadata = { version = "3.0.0-rc3", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_allocator = { version = "3.0.0-rc3", path = "../allocator/", default-features = false }
ink_primitives = { version = "3.0.0-rc3", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.0.0-rc3", path = "../prelude/", default-features = false }
ink_engine = { version = "3.0.0-rc4", path = "../engine/", default-features = false, optional = true }
ink_metadata = { version = "3.0.0-rc4", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
ink_allocator = { version = "3.0.0-rc4", path = "../allocator/", default-features = false }
ink_primitives = { version = "3.0.0-rc4", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.0.0-rc4", path = "../prelude/", default-features = false }

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
Expand Down
14 changes: 7 additions & 7 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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

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

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from"] }
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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

[dependencies]
ir = { version = "3.0.0-rc3", package = "ink_lang_ir", path = "../ir", default-features = false }
ir = { version = "3.0.0-rc4", 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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

Expand Down
18 changes: 9 additions & 9 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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

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

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

[dev-dependencies]
ink_metadata = { version = "3.0.0-rc3", path = "../../metadata/" }
ink_env = { version = "3.0.0-rc3", path = "../../env/" }
ink_storage = { version = "3.0.0-rc3", path = "../../storage/" }
ink_lang = { version = "3.0.0-rc3", path = ".." }
ink_prelude = { version = "3.0.0-rc3", path = "../../prelude/" }
ink_metadata = { version = "3.0.0-rc4", path = "../../metadata/" }
ink_env = { version = "3.0.0-rc4", path = "../../env/" }
ink_storage = { version = "3.0.0-rc4", path = "../../storage/" }
ink_lang = { version = "3.0.0-rc4", path = ".." }
ink_prelude = { version = "3.0.0-rc4", path = "../../prelude/" }

trybuild = "1.0.24"
scale-info = { version = "0.6", default-features = false, features = ["derive"] }
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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

[dependencies]
ink_prelude = { version = "3.0.0-rc3", path = "../prelude/", default-features = false }
ink_primitives = { version = "3.0.0-rc3", path = "../primitives/", default-features = false }
ink_prelude = { version = "3.0.0-rc4", path = "../prelude/", default-features = false }
ink_primitives = { version = "3.0.0-rc4", 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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

[dependencies]
ink_prelude = { version = "3.0.0-rc3", path = "../prelude/", default-features = false }
ink_prelude = { version = "3.0.0-rc4", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] }
scale-info = { version = "0.6", 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 = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

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

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
Expand Down
10 changes: 5 additions & 5 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.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
edition = "2018"

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

[dev-dependencies]
scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive", "full"] }
ink_env = { version = "3.0.0-rc3", path = "../../env" }
ink_primitives = { version = "3.0.0-rc3", path = "../../primitives" }
ink_metadata = { version = "3.0.0-rc3", path = "../../metadata" }
ink_storage = { version = "3.0.0-rc3", path = ".." }
ink_env = { version = "3.0.0-rc4", path = "../../env" }
ink_primitives = { version = "3.0.0-rc4", path = "../../primitives" }
ink_metadata = { version = "3.0.0-rc4", path = "../../metadata" }
ink_storage = { version = "3.0.0-rc4", path = ".." }
12 changes: 6 additions & 6 deletions examples/contract-terminate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "contract_terminate"
version = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

[dependencies]
ink_primitives = { version = "3.0.0-rc3", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc3", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc3", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc3", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc3", path = "../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc4", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc4", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc4", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc4", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc4", path = "../../crates/lang", default-features = false }

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }
Expand Down
14 changes: 7 additions & 7 deletions examples/contract-transfer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "contract_transfer"
version = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

[dependencies]
ink_primitives = { version = "3.0.0-rc3", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc3", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc3", path = "../../crates/env", default-features = false, features = [ "ink-debug" ] }
ink_storage = { version = "3.0.0-rc3", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc3", path = "../../crates/lang", default-features = false }
ink_prelude = { version = "3.0.0-rc3", path = "../../crates/prelude", default-features = false }
ink_primitives = { version = "3.0.0-rc4", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc4", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc4", path = "../../crates/env", default-features = false, features = [ "ink-debug" ] }
ink_storage = { version = "3.0.0-rc4", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc4", path = "../../crates/lang", default-features = false }
ink_prelude = { version = "3.0.0-rc4", path = "../../crates/prelude", default-features = false }

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }
Expand Down
18 changes: 9 additions & 9 deletions examples/delegator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[package]
name = "delegator"
version = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

[dependencies]
ink_primitives = { version = "3.0.0-rc3", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc3", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc3", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc3", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc3", path = "../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc4", path = "../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc4", path = "../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc4", path = "../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc4", path = "../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc4", path = "../../crates/lang", default-features = false }

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }

adder = { version = "3.0.0-rc3", path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { version = "3.0.0-rc3", path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc3", path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
adder = { version = "3.0.0-rc4", path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { version = "3.0.0-rc4", path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc4", path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }

[lib]
Expand Down
12 changes: 6 additions & 6 deletions examples/delegator/accumulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "accumulator"
version = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

[dependencies]
ink_primitives = { version = "3.0.0-rc3", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc3", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc3", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc3", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc3", path = "../../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc4", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc4", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc4", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc4", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc4", path = "../../../crates/lang", default-features = false }

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }
Expand Down
14 changes: 7 additions & 7 deletions examples/delegator/adder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "adder"
version = "3.0.0-rc3"
version = "3.0.0-rc4"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"

[dependencies]
ink_primitives = { version = "3.0.0-rc3", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc3", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc3", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc3", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc3", path = "../../../crates/lang", default-features = false }
ink_primitives = { version = "3.0.0-rc4", path = "../../../crates/primitives", default-features = false }
ink_metadata = { version = "3.0.0-rc4", path = "../../../crates/metadata", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.0.0-rc4", path = "../../../crates/env", default-features = false }
ink_storage = { version = "3.0.0-rc4", path = "../../../crates/storage", default-features = false }
ink_lang = { version = "3.0.0-rc4", path = "../../../crates/lang", default-features = false }

accumulator = { version = "3.0.0-rc3", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "3.0.0-rc4", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }

scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] }
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }
Expand Down
Loading

0 comments on commit e11af69

Please sign in to comment.