scale-typegen
Type Generation for SCALE encoded Rust Types
0.12.0
5.6M downloads/mo
#4290 most downloaded on crates.io
paritytech/scale-typegen
What this package is like to depend on
Last release 9 months ago
18 Nov 2025
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 19 of 20 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
21 releases · first in 2023
1 release in the last 12 months
see the full history below
Release timeline
21 releases · Nov 2023 to Nov 2025Releases
latest 21-
0.12.018 Nov 2025Release notes
Open source →- Improve
TypegenError::SynParseErrorto note the string that failed to parse and the target type.
- Improve
-
0.11.107 May 2025 -
0.11.005 Mar 2025 -
0.10.015 Nov 2024Release notes
Open source →[0.10.0] - 2024-11-15
This is a breaking release that mainly bumps
scale-related dependenciesto their latest versions which are exposed in the public API.- Bump
thiserrorto 2.0 - Bump
scale-valueto 0.18.0 - Bump
scale-encodeto 0.10.0 - Bump
scale-decodeto 0.16.0 - Bump
scale-bitsto 0.7.0 - Bump MSRV to 1.81.0
Full Changelog: v0.9.0...v0.10.0
Release notes
Open source →This is a breaking release that mainly bumps
scale-related dependenciesto their latest versions which are exposed in the public API.- Bump
thiserrorto 2.0 - Bump
scale-valueto 0.18.0 - Bump
scale-encodeto 0.10.0 - Bump
scale-decodeto 0.16.0 - Bump
scale-bitsto 0.7.0 - Bump MSRV to 1.81.0
- Bump
-
0.9.022 Oct 2024Release notes
Open source →[0.9.0] - 2024-10-22
- Unify more generic types (#32)
- Return error on incorrect PortableRegistry (#34)
- Bump
scale-valueto 0.17.0 (#35) - Bump
scale-encodeto 0.8.0 (#36) - Bump
scale-decodeto 0.14.0 (#37) - Bump
frame-metadatato 17.0.0 (#38)
Full Changelog: v0.8.0...v0.9.0
-
0.8.027 May 2024Release notes
Open source →[0.8.0] - 2024-05-24
This release doesn't change the public API, but does effect the generated code to make it more correct and de-duplicate types better, but also a little less forgiving in certain edge cases. As such, I've decided to do a minor bump so that opting in to this change is explicit.
- Improve type equality checking used during de-duplication of types to deduplicate more reliably/often (#30)
Release notes
Open source →This release doesn't change the public API, but does effect the generated code to make it more correct and de-duplicate types better, but also a little less forgiving in certain edge cases. As such, I've decided to do a minor bump so that opting in to this change is explicit.
- Improve type equality checking used during de-duplication of types to deduplicate more reliably/often (#30)
-
0.7.015 May 2024Release notes
Open source →- Bump
scale-valueto 0.16.0, in order to have only onescale-decodein the hierarchy.
- Bump
-
0.6.015 May 2024 -
0.5.029 Apr 2024Release notes
Open source →- Bump
scale-*dependencies to latest to bring inscale-type-resolver0.2.
- Bump
-
0.4.302 Apr 2024Release notes
Open source →[0.4.3] - 2024-04-02
This release that adds support for the builtin types
BinaryHeap,LinkedListandVecDeque.Release notes
Open source →This release that adds support for the builtin types
BinaryHeap,LinkedListandVecDeque. -
0.4.226 Mar 2024Release notes
Open source →- Revert some code simplification in 0.4.1 so that older metadata (built with scale-info versions prior to 2.11.1 and using the
retain()method) is more likely to work.
- Revert some code simplification in 0.4.1 so that older metadata (built with scale-info versions prior to 2.11.1 and using the
-
0.4.125 Mar 2024Release notes
Open source →- Bump
scale-infoto 2.11.1 to fix an issue inscale_typegen::utils::ensure_unique_type_pathsfor cases where a type's index and id do not line up, and simplify code a touch.
- Bump
-
0.4.021 Mar 2024Release notes
Open source →-
Fix logic bug in
scale_typegen::utils::ensure_unique_type_paths. -
You can now specify a custom path to the
alloccrate in the settings. It is used for type paths that are typically in the rust prelude or in thestdlibrary, likeVec,BoxandString. This gives you the option to use the generated code in ano_stdenvironment.
-
-
0.3.102 Apr 2024Release notes
Open source →[0.3.1] - 2024-04-02
This release that adds support for the builtin types
BinaryHeap,LinkedListandVecDeque. -
0.3.020 Mar 2024Release notes
Open source →- When generating rust code with
TypeGenerator::gerate_types_modwe now validate that no type is overwritten by another type that has an identical type path but a different structure. In case this happens, we return an error and encourage users to usescale_typegen::utils::ensure_unique_type_pathson the type registry before. Doing so, should let the type generation succeed.
- When generating rust code with
-
0.2.102 Apr 2024Release notes
Open source →[0.2.1] - 2024-04-02
This release that adds support for the builtin types
BinaryHeap,LinkedListandVecDeque. -
0.2.001 Mar 2024 -
0.1.229 Feb 2024 withdrawn -
0.1.105 Jan 2024 -
0.1.008 Dec 2023Release notes
Open source →This is the first release of
scale-typegenandscale-typegen-description. -
0.0.110 Nov 2023Nothing published for this version