From cb18c8e04e0ae986987b28857a41c9ddcfe20ce3 Mon Sep 17 00:00:00 2001 From: wigy <1888808+wigy-opensource-developer@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:40:34 +0100 Subject: [PATCH] Prepare release 2.0.0 (#140) * Uprgrade to SCALE 3.0 * We rather do a major release * Changelog for 2.0.0 release Co-authored-by: James Wilson --- CHANGELOG.md | 7 +++++++ Cargo.toml | 7 ++++--- derive/Cargo.toml | 8 ++++++-- test_suite/Cargo.toml | 7 +++++-- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90fa8637..a84be839 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] - 2022-02-07 + +## Changed +- Upgraded to parity-scale-codec 3.0 +- Upgraded to bitvec 1.0 +- Minimum Rust version is 1.56.1 for edition 2021 + ## [1.0.0] - 2021-09-01 ### Changed - Replace Range variant with built-in composite definitions [(#130)](https://github.com/paritytech/scale-info/pull/130) diff --git a/Cargo.toml b/Cargo.toml index 76fb0c16..586fef53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,9 @@ [package] name = "scale-info" -version = "1.0.0" +version = "2.0.0" authors = ["Parity Technologies "] edition = "2021" +rust-version = "1.56.1" license = "Apache-2.0" readme = "README.md" @@ -16,10 +17,10 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true } cfg-if = "1.0" -scale-info-derive = { version = "1.0.0", path = "derive", default-features = false, optional = true } +scale-info-derive = { version = "2.0.0", path = "derive", default-features = false, optional = true } serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] } derive_more = { version = "0.99.1", default-features = false, features = ["from"] } -scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] } +scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } [features] default = ["std"] diff --git a/derive/Cargo.toml b/derive/Cargo.toml index a6bb7b56..bf72d165 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "scale-info-derive" -version = "1.0.0" -authors = ["Parity Technologies ", "Centrality Developers "] +version = "2.0.0" +authors = [ + "Parity Technologies ", + "Centrality Developers ", +] edition = "2021" +rust-version = "1.56.1" license = "Apache-2.0" repository = "https://github.com/paritytech/scale-info" diff --git a/test_suite/Cargo.toml b/test_suite/Cargo.toml index 9d007f8a..dcf51f61 100644 --- a/test_suite/Cargo.toml +++ b/test_suite/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "scale-info-test-suite" version = "0.0.0" -authors = ["Parity Technologies ", "Centrality Developers "] +authors = [ + "Parity Technologies ", + "Centrality Developers ", +] edition = "2021" publish = false @@ -12,7 +15,7 @@ license = "Apache-2.0" [dependencies] scale-info = { path = "..", features = ["derive", "serde", "decode"] } -scale = { package = "parity-scale-codec", version = "2", default-features = false, features = ["derive"] } +scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } serde = "1.0" serde_json = "1.0" pretty_assertions = "0.6.1"