diff --git a/CHANGELOG.md b/CHANGELOG.md index a2d192c8..b41ce4ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,34 +7,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.9.2] - 2021-07-09 +## [0.10.0] - 2021-07-29 ### Added +- Add capture_docs attribute [(#118)](https://github.com/paritytech/scale-info/pull/118) + +### Fixed +- Allow codec attributes, in case missing Encode/Decode derives [(#117)](https://github.com/paritytech/scale-info/pull/117) +### Changed +- Erase PhantomData fields [(#111](https://github.com/paritytech/scale-info/pull/111), [#115)](https://github.com/paritytech/scale-info/pull/115) +- Make variant index explicit, remove discriminant [(#112)](https://github.com/paritytech/scale-info/pull/112) +- Include type id in serialized type registry [(#114)](https://github.com/paritytech/scale-info/pull/114) +- Improve docs feature [(#116)](https://github.com/paritytech/scale-info/pull/116) + +## [0.9.2] - 2021-07-09 +### Added - Add index getter to Variant [(#110)](https://github.com/paritytech/scale-info/pull/110) ## [0.9.1] - 2021-07-06 ### Fixed - - Option constructor macro hygiene [(#108)](https://github.com/paritytech/scale-info/pull/108) ## [0.9.0] - 2021-06-30 ### Changed - - Reverted parity-scale-codec prerelease requirement from [0.8.0-rc.1] - Reexport parity-scale-codec for derive [(#106)](https://github.com/paritytech/scale-info/pull/106) ### Added - - Add `skip_type_params` attribute [(#96)](https://github.com/paritytech/scale-info/pull/96) ## [0.8.0-rc.1] - 2021-06-29 ### Changed - - Bump parity-scale-codec to 2.2.0-rc.2 [(#102)](https://github.com/paritytech/scale-info/pull/102) ## [0.7.0] - 2021-06-29 ### Added - - Handle more SCALE attributes: skip, index [(#44)](https://github.com/paritytech/scale-info/pull/44) - Implement `TypeInfo` for `BTreeSet` [(#85)](https://github.com/paritytech/scale-info/pull/85) - Implement `TypeInfo` for `Cow` [(#84)](https://github.com/paritytech/scale-info/pull/84) @@ -48,7 +55,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `docs` feature [(#101)](https://github.com/paritytech/scale-info/pull/101) ### Changed - - Upgrade proc-macro-crate to v1 [(#77)](https://github.com/paritytech/scale-info/pull/77) - Use const generics for array TypeInfo impls [(#54)](https://github.com/paritytech/scale-info/pull/54) - Replace NonZeroU32 type lookup ids with u32 [(#90)](https://github.com/paritytech/scale-info/pull/90) @@ -56,7 +62,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Unify sequence types [(#100)](https://github.com/paritytech/scale-info/pull/100) ### Fixed - - Fix serde and decode features without default features [(#74)](https://github.com/paritytech/scale-info/pull/74) - Remove type parameter defaults [(#71)](https://github.com/paritytech/scale-info/pull/71) - Fix trait bounds for associated types [(#76)](https://github.com/paritytech/scale-info/pull/76) diff --git a/Cargo.toml b/Cargo.toml index d97ebbb3..e7264a84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scale-info" -version = "0.9.2" +version = "0.10.0" authors = ["Parity Technologies "] edition = "2018" @@ -16,7 +16,7 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] bitvec = { version = "0.20.1", default-features = false, features = ["alloc"], optional = true } cfg-if = "1.0" -scale-info-derive = { version = "0.6.1", path = "derive", default-features = false, optional = true } +scale-info-derive = { version = "0.7.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"] } diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 283c64bd..e200a29d 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scale-info-derive" -version = "0.6.1" +version = "0.7.0" authors = ["Parity Technologies ", "Centrality Developers "] edition = "2018"