Skip to content

Releases: near/borsh-rs

v0.9.3

04 Feb 15:58
eeb969c
Compare
Choose a tag to compare
  • Fix no_std compatibility.
  • Reduce code bloat in derived BorshSerialize impl for enums.

Crate Links

v0.9.2

26 Jan 10:30
d1edc1e
Compare
Choose a tag to compare
  • 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.

Crate Links

v0.9.1

14 Jul 06:49
Compare
Choose a tag to compare
  • 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)

v0.9.0

18 Mar 21:08
Compare
Choose a tag to compare
  • 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)

v0.8.2

04 Mar 22:55
Compare
Choose a tag to compare

Fixes:

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

0.8.1

13 Jan 10:55
Compare
Choose a tag to compare

This is a patch release adding missing BTreeMap support after no_std refactoring as well as introducing support for BTreeSet, BinaryHeap, LinkedList, and VecDeque

0.8.0

13 Jan 10:53
Compare
Choose a tag to compare

Features

Introduced no_std support

Breaking changes

The binary format is the same and we expect the public API to be compatible as well