From 55904c242028f288c6d72b7aa305fb2cbf1d9d27 Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 27 Feb 2024 11:52:03 +0100 Subject: [PATCH] prep for 0.14 release --- CHANGELOG.md | 8 ++++++++ Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60cf7a9..81aab64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## 0.14.0 (2024-02-27) + +## Changed + +The crate now uses [`scale-type-resolver`](https://github.com/paritytech/scale-type-resolver) to be generic over the provider of type information that is used when encoding and decoding `Value`s. + +One implication is that `scale_decode::IntoVisitor` is now only implemented for `Value<()>` and no longer for `Value`. So `Value::decode_from_type()` cannot be used anymore to create a `Value` that keeps type id information. Instead you now use `scale_value::scale::decode_as_type()` which can return the desired `Value`. + ## 0.13.0 (2023-11-10) This release: diff --git a/Cargo.toml b/Cargo.toml index 26c4995..699a3c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scale-value" -version = "0.13.0" +version = "0.14.0" authors = ["Parity Technologies "] edition = "2021"