Skip to content

Commit

Permalink
Prepare release 2.0.0 (#140)
Browse files Browse the repository at this point in the history
* Uprgrade to SCALE 3.0

* We rather do a major release

* Changelog for 2.0.0 release

Co-authored-by: James Wilson <james@jsdw.me>
  • Loading branch information
wigy-opensource-developer and jsdw authored Feb 7, 2022
1 parent 6b5d260 commit cb18c8e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "scale-info"
version = "1.0.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
rust-version = "1.56.1"

license = "Apache-2.0"
readme = "README.md"
Expand All @@ -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"]
Expand Down
8 changes: 6 additions & 2 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "scale-info-derive"
version = "1.0.0"
authors = ["Parity Technologies <admin@parity.io>", "Centrality Developers <support@centrality.ai>"]
version = "2.0.0"
authors = [
"Parity Technologies <admin@parity.io>",
"Centrality Developers <support@centrality.ai>",
]
edition = "2021"
rust-version = "1.56.1"

license = "Apache-2.0"
repository = "https://github.com/paritytech/scale-info"
Expand Down
7 changes: 5 additions & 2 deletions test_suite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "scale-info-test-suite"
version = "0.0.0"
authors = ["Parity Technologies <admin@parity.io>", "Centrality Developers <support@centrality.ai>"]
authors = [
"Parity Technologies <admin@parity.io>",
"Centrality Developers <support@centrality.ai>",
]
edition = "2021"
publish = false

Expand All @@ -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"
Expand Down

0 comments on commit cb18c8e

Please sign in to comment.