PackageTrack
Sign in Get early access

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 2025
2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 21
  1. 0.12.0 18 Nov 2025
    Release notes
    • Improve TypegenError::SynParseError to note the string that failed to parse and the target type.
    Open source →
  2. 0.11.1 07 May 2025
    Release notes
    • Add core::time::Duration to the list of prelude types.
    Open source →
  3. 0.11.0 05 Mar 2025
    Release notes
    • Bump frame-metadata to latest (20.0.0)
    Open source →
  4. 0.10.0 15 Nov 2024
    Release notes

    [0.10.0] - 2024-11-15

    This is a breaking release that mainly bumps scale-related dependencies to their latest versions which are exposed in the public API.

    • Bump thiserror to 2.0
    • Bump scale-value to 0.18.0
    • Bump scale-encode to 0.10.0
    • Bump scale-decode to 0.16.0
    • Bump scale-bits to 0.7.0
    • Bump MSRV to 1.81.0

    Full Changelog: v0.9.0...v0.10.0

    Open source →
    Release notes

    This is a breaking release that mainly bumps scale-related dependencies to their latest versions which are exposed in the public API.

    • Bump thiserror to 2.0
    • Bump scale-value to 0.18.0
    • Bump scale-encode to 0.10.0
    • Bump scale-decode to 0.16.0
    • Bump scale-bits to 0.7.0
    • Bump MSRV to 1.81.0
    Open source →
  5. 0.9.0 22 Oct 2024
    Release notes

    [0.9.0] - 2024-10-22

    • Unify more generic types (#32)
    • Return error on incorrect PortableRegistry (#34)
    • Bump scale-value to 0.17.0 (#35)
    • Bump scale-encode to 0.8.0 (#36)
    • Bump scale-decode to 0.14.0 (#37)
    • Bump frame-metadata to 17.0.0 (#38)

    Full Changelog: v0.8.0...v0.9.0

    Open source →
    Release notes
    • Bump scale-value to 0.17.0 (#35)
    • Bump scale-encode to 0.8.0 (#36)
    • Bump scale-decode to 0.14.0 (#37)
    • Bump frame-metadata to 17.0.0 (#38)
    Open source →
  6. 0.8.0 27 May 2024
    Release notes

    [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)
    Open source →
    Release notes

    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)
    Open source →
  7. 0.7.0 15 May 2024
    Release notes
    • Bump scale-value to 0.16.0, in order to have only one scale-decode in the hierarchy.
    Open source →
  8. 0.6.0 15 May 2024
    Release notes
    • Bump scale-decode to 0.13.0.
    Open source →
  9. 0.5.0 29 Apr 2024
    Release notes
    • Bump scale-* dependencies to latest to bring in scale-type-resolver 0.2.
    Open source →
  10. 0.4.3 02 Apr 2024
    Release notes

    [0.4.3] - 2024-04-02

    This release that adds support for the builtin types BinaryHeap, LinkedList and VecDeque.

    Open source →
    Release notes

    This release that adds support for the builtin types BinaryHeap, LinkedList and VecDeque.

    Open source →
  11. 0.4.2 26 Mar 2024
    Release notes
    • 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.
    Open source →
  12. 0.4.1 25 Mar 2024
    Release notes
    • Bump scale-info to 2.11.1 to fix an issue in scale_typegen::utils::ensure_unique_type_paths for cases where a type's index and id do not line up, and simplify code a touch.
    Open source →
  13. 0.4.0 21 Mar 2024
    Release notes
    • Fix logic bug in scale_typegen::utils::ensure_unique_type_paths.

    • You can now specify a custom path to the alloc crate in the settings. It is used for type paths that are typically in the rust prelude or in the std library, like Vec, Box and String. This gives you the option to use the generated code in a no_std environment.

    Open source →
  14. 0.3.1 02 Apr 2024
    Release notes

    [0.3.1] - 2024-04-02

    This release that adds support for the builtin types BinaryHeap, LinkedList and VecDeque.

    Open source →
  15. 0.3.0 20 Mar 2024
    Release notes
    • When generating rust code with TypeGenerator::gerate_types_mod we 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 use scale_typegen::utils::ensure_unique_type_paths on the type registry before. Doing so, should let the type generation succeed.
    Open source →
  16. 0.2.1 02 Apr 2024
    Release notes

    [0.2.1] - 2024-04-02

    This release that adds support for the builtin types BinaryHeap, LinkedList and VecDeque.

    Open source →
  17. 0.2.0 01 Mar 2024
    Release notes
    • bumped dependencies of scale-* crates.
    Open source →
  18. 0.1.2 29 Feb 2024 withdrawn
    Release notes
    • dependency updates broke usage with subxt -> released 0.2.0 instead.
    Open source →
  19. 0.1.1 05 Jan 2024
    Release notes

    Fixed

    • A bug regarding type substitutes with generic parameters.
    Open source →
  20. 0.1.0 08 Dec 2023
    Release notes

    This is the first release of scale-typegen and scale-typegen-description.

    Open source →
  21. 0.0.1 10 Nov 2023

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive