Skip to content

Latest commit

 

History

History
193 lines (106 loc) · 3.21 KB

CHANGELOG.md

File metadata and controls

193 lines (106 loc) · 3.21 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

Added

Fixed

Removed

Changed


1.1.0 - 2023-07-15

Added

  • Add serialize_into
  • Add the proptest feature flag to opt-out proptest impls

1.0.1 - 2023-07-03

Fixed

  • Fix Variable Capture bug for "value" struct field name

1.0.0 - 2023-06-21

Added

  • Add more docs
  • Add impl Default for Value

0.8.1 - 2023-06-18

Fixed

  • Indexing must return the last value

0.8.0 - 2023-06-18

Added

  • Add Index impls for msgpack_value::Value

0.7.0 - 2023-06-04

Added

  • Restore msgpack_schema::value as a hidden module.

0.6.0 - 2023-04-21

Added

  • Add more docs
  • Add Deserializer::{try_deserialize, deserialize_any}

Removed

  • Remove msgpack_schema::value module. Use msgpack_value instead.

Changed

  • Turn Token into a non-owning type.
  • Use last-value-wins strategy for duplicate keys. (following JSON)

0.5.0 - 2023-03-12

Added

  • Add msgpack-value crate
  • Implement proptest::arbitrary::Arbitrary for msgpack_value::Value and others
  • Implement Serialize and Deserialize for Box, Rc, and Arc

Changed

  • Add more tests

0.4.2 - 2022-01-25

Changed

  • Bump Rust edition to 2021 (no user-facing changes)

0.4.1 - 2021-07-29

Added

  • Add value::Empty
  • Support tuple structs (with more than one field)

0.4.0 - 2021-07-19

Added

  • Report errors when there are attributes in an invalid position
  • (experimental) Add schema attribute
  • Support #[flatten]

Removed

  • Remove Serialize and Deserialize impls for Option<T>

0.3.1 - 2021-06-21

Fixed

  • Fix Cargo dependency bound.

0.3.0 - 2021-06-17

Added

  • Add Ext type.
  • Support untagged structs.

Removed

  • Hide msgpack macro.
  • All inherent methods of Token.

Changed

  • Change the types of serialize and deserialize.
  • Serialize never throws an error.
  • DeserializeError no longer contains detailed information.
  • Deserializer and Serializer are now structs.

0.2.1 - 2021-06-15

Added

  • Restore DeserializeError::InvalidValue as a unit variant.

0.2.0 - 2021-06-15

Removed

  • Remove DeserializeError::InvalidValue to allow the DeserializeError type to be Send and Sync.

0.1.6 - 2021-06-12

Added

  • Add msgpack macro.

Removed

  • Remove BinarySerializer and BinaryDeserializer. Use serialize and deserialize instead.

0.1.5 - 2021-06-12

Fixed

  • Fix serialization of 0-length map value
  • Fix deserialization of FixExt8 and FixExt16

0.1.4 - 2021-06-12

Fixed

  • Fix doc test failure.

0.1.3 - 2021-06-12

This release mainly includes doc improvements and typo fixes.

Removed

  • Value
  • TryFromValueError
  • value::{Serializer, Deserializer, serialize, deserialize}

Changed

  • Move Any to value::Any
  • Move Nil to value::Nil

0.1.2 - 2021-06-10

Added

  • Add a blanket implementation impl<T: Serialize> Serialize for &T

0.1.1 - 2021-06-08

Initial version