Skip to content

v0.8.0

Choose a tag to compare

@jsdw jsdw released this 11 May 10:44
· 41 commits to main since this release
b3b1b8c

0.8.0

This release:

  • Bumps to using scale-info 2.5.0 and uses field rather than method accessors as introduced by that change.
  • Introduces scale_value::stringify::from_str_custom(), which allows you to construct a Value parser that can inject custom parsing logic while parsing strings into Values.
  • Adds two new custom parsers in a new stringify::custom_parsers module for parsing hex values and ss58 addresses. These can be used in conjunction with the above.
  • Fixes a small bug in stringifying so that field and enum idents are no longer quoted unless necessary; this will make the output prettier.

There should be no breaking API changes.

Added

  • Add hex and ss58 custom parsers. (#29)
  • Improve stringifying and add support for custom parsers. (#26)