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
- 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)
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)
- Bump
scale-value
to 0.16.0, in order to have only onescale-decode
in the hierarchy.
- Bump
scale-decode
to 0.13.0.
- Bump
scale-*
dependencies to latest to bring inscale-type-resolver
0.2.
This release that adds support for the builtin types BinaryHeap
, LinkedList
and VecDeque
.
- 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.
- Bump
scale-info
to 2.11.1 to fix an issue inscale_typegen::utils::ensure_unique_type_paths
for cases where a type's index and id do not line up, and simplify code a touch.
-
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 thestd
library, likeVec
,Box
andString
. This gives you the option to use the generated code in ano_std
environment.
- 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 usescale_typegen::utils::ensure_unique_type_paths
on the type registry before. Doing so, should let the type generation succeed.
- bumped dependencies of
scale-*
crates.
- dependency updates broke usage with subxt -> released 0.2.0 instead.
- A bug regarding type substitutes with generic parameters.
This is the first release of scale-typegen
and scale-typegen-description
.