scale-info-derive
Derive type info for SCALE encodable types
2.11.6
25M downloads/mo
#1879 most downloaded on crates.io
paritytech/scale-info
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 28 of 30 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
30 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
30 releases · Jun 2020 to Nov 2024Releases
latest 30-
2.11.620 Nov 2024Release notes
Open source →[2.11.6] - 2024-11-20
- add
#[allow(deprecated)]attribute to the generated code.
Full Changelog: v2.11.4...v2.11.6
- add
-
2.11.524 Oct 2024 -
2.11.422 Oct 2024Release notes
Open source → -
2.11.308 May 2024Release notes
Open source →What's Changed
- Bump
proc-macro-crateto v3 by @tdimitrov in #207 - Version 2.11.3 by @tdimitrov in #208
New Contributors
- @tdimitrov made their first contribution in #207
Full Changelog: v2.11.2...v2.11.3
- Bump
-
2.11.208 Apr 2024Release notes
Open source →[2.11.2] - 2024-04-05
- Fix a bug in the
PortableRegistry::retain()method where recursive types (types containing themselves) were not properly handled.
Release notes
Open source →- Fix a bug in the
PortableRegistry::retain()method where recursive types (types containing themselves) were not properly handled.
- Fix a bug in the
-
2.11.125 Mar 2024Release notes
Open source →[2.11.1] - 2024-03-22
- Fix a bug in the
PortableRegistry::retain()method, where a type's id field was not adjusted to the new position of the type in the retainedVec.
Release notes
Open source →- Fix a bug in the
PortableRegistry::retain()method, where a type's id field was not adjusted to the new position of the type in the retainedVec.
- Fix a bug in the
-
2.11.012 Mar 2024 -
2.10.020 Oct 2023 -
2.9.003 Jul 2023 -
2.8.021 Jun 2023Release notes
Open source →Release notes
Open source → -
2.6.026 Apr 2023 -
2.5.029 Mar 2023 -
2.4.023 Mar 2023 -
2.3.109 Dec 2022Release notes
Open source →Fixed
- Change NonZero* TypeInfo implementation to not be recursive (#171)
-
2.3.031 Oct 2022Release notes
Open source →Implement the missing pieces for constructing
PortableRegistrydynamically at runtime. This allows languages where static rust types are not available to use it. -
2.2.014 Sep 2022Release notes
Open source →The minimum Rust version is bumped to 1.60.0 in this release owing to using weak dependency crate features. Otherwise there are no breaking changes.
Changed
- Loosen restriction on
TypeDefBitSequence::new()so thatbitvecisn't required, and try to avoid pulling inbitvecwhen thestdfeature is enabled (#168)
- Loosen restriction on
-
2.1.218 May 2022 -
2.1.113 Apr 2022 -
2.1.011 Apr 2022Release notes
Open source → -
2.0.007 Feb 2022Release notes
Open source →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.001 Sep 2021Release notes
Open source →Changed
- Replace Range variant with built-in composite definitions (#130)
-
0.7.029 Jul 2021Release notes
Open source →Added
- Handle more SCALE attributes: skip, index (#44)
- Implement
TypeInfoforBTreeSet(#85) - Implement
TypeInfoforCow(#84) - Implement
TypeInfofor up to 20 element tuples (#92) - Add
StaticTypeInfoconvenience trait (#91) - Capture doc comments, add variant and field builders (#87)
- Handle
#[codec(index = …)]in regular enums (#80) - Add new top-level attribute
scale_info(bounds(T: SomeTrait + OtherTrait))(#88) - (aj-vecdeque) Implement TypeInfo for VecDeque (#99)
- Add BitVec support (#98)
- Add
docsfeature (#101)
Changed
- Upgrade proc-macro-crate to v1 (#77)
- Use const generics for array TypeInfo impls (#54)
- Replace NonZeroU32 type lookup ids with u32 (#90)
- Remove HasCompact::Type bounds (#83)
- Unify sequence types (#100)
Fixed
-
0.6.106 Jul 2021Nothing published for this version
-
0.6.030 Jun 2021 -
0.5.029 Jun 2021Release notes
Open source →Added
- Add a new TypeDef variant to handle PhantomData - (#48)
- TypeInfo for up to 16 tuples, Clone PortableRegistry - (#50)
- Enumerate RegistryReadOnly types, Display Path - (#27)
- Add missing 256 bits types which are needed by Solang - (#25)
Changed
- Ensure only static lifetimes appear in derived types - (#39)
- Remove unused function
MetaType::of()- (#49) - Use PortableRegistry for encoding and serializing - (#40)
- Rename Compact to Portable - (#41)
- Parameterize CompactForm String for optional SCALE impl - (#35)
- Derive TypeInfo for fields with associated types without bounds - (#20)
- Optional serde feature - (#34)
- Consolidate common prelude for std and no_std and usage - (#33)
- Add informational field type name - (#30)
- Unify transparent wrapper types e.g. references - (#26)
- Bump
parity-scale-codecfrom 1.0 to 2.0 (#55)
-
0.4.005 Feb 2021 -
0.3.027 Jan 2021 -
0.2.111 Oct 2020Nothing published for this version
-
0.2.017 Jun 2020 -
0.1.012 Jun 2020