Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 15, 2023

Bumps scale-value from 0.6.0 to 0.8.0.

Release notes

Sourced from scale-value's releases.

v0.8.0

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)

v0.7.0

0.7.0

The main change in this release is that it makes use of a new scale-encode crate and updated scale-decode crate for the SCALE encoding and decoding of Values.

  • Values now implement DecodeAsType and EncodeAsType.
  • Composites now implement DecodeAsFields.
  • As a small breaking API change, the TypeId passed to the encode and decode methods is now a plain u32 for simplicity, rather than a newtype struct.

It should be very straightforward to update to this release as the changes are mainly additive in nature.

Changed

  • Use latest scale-decode and new scale-encode crate for SCALE encoding and decoding Values. (#25)
Changelog

Sourced from scale-value's changelog.

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)

0.7.0

The main change in this release is that it makes use of a new scale-encode crate and updated scale-decode crate for the SCALE encoding and decoding of Values.

  • Values now implement DecodeAsType and EncodeAsType.
  • Composites now implement DecodeAsFields.
  • As a small breaking API change, the TypeId passed to the encode and decode methods is now a plain u32 for simplicity, rather than a newtype struct.

It should be very straightforward to update to this release as the changes are mainly additive in nature.

Changed

  • Use latest scale-decode and new scale-encode crate for SCALE encoding and decoding Values. (#25)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [scale-value](https://github.com/paritytech/scale-value) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/paritytech/scale-value/releases)
- [Changelog](https://github.com/paritytech/scale-value/blob/main/CHANGELOG.md)
- [Commits](paritytech/scale-value@v0.6.0...v0.8.0)

---
updated-dependencies:
- dependency-name: scale-value
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant