Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.58 KB

CHANGELOG.md

File metadata and controls

74 lines (50 loc) · 2.58 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.

[0.9.3] - 2022-02-03

  • Fix no_std compatibility.
  • Reduce code bloat in derived BorshSerialize impl for enums.

0.9.2 - 2022-01-25

  • Upgrade hashbrown from 0.9 to 0.11. This can breakage in the rare case that you use borsh schema together with no-std support and rely on a specific version hashbrown of SchemaContainer. This is considered to be obscure enough to not warrant a semver bump.

0.9.1 - 2021-07-14

  • Eliminated unsafe code from both ser and de of u8 (#26)
  • Implemented ser/de for reference count types (#27)
  • Added serialization helpers to improve api ergonomics (#34)
  • Implemented schema for arrays and fix box bounds (#36)
  • Implemented (de)ser for PhantomData (#37)
  • Implemented const-generics under feature (#38)
  • Added an example of direct BorshSerialize::serialize usage with vector and slice buffers (#29)

0.9.0 - 2021-03-18

  • BREAKING CHANGE: is_u8 optimization helper is now unsafe since it may cause undefined behavior if it returns true for the type that is not safe to Copy (#21)
  • Extended the schema impls to support longer arrays to match the de/serialization impls (#22)

0.8.2 - 2021-03-04

  • Avoid collisions of imports due to derive-generated code (#14)

0.8.1 - 2021-01-13

  • Added support for BTreeMap, BTreeSet, BinaryHeap, LinkedList, and VecDeque

0.8.0 - 2021-01-11

  • Add no_std support.

0.7.2 - 2021-01-14

  • Implement BorshSerialize for reference fields (&T)

0.7.1 - 2020-08-24

  • Implement BorshSerialize for &T if T implements BorshSerialize.

0.7.0 - 2020-06-17

  • Extended Box<T> implementation for ?Sized types ([T], str, ...).
  • Added support for std::borrow::Cow
  • Avoid silent integer casts since they can lead to hidden security issues.
  • Removed Cargo.lock as it is advised for lib crates.