Skip to content

Releases: dao-xyz/borsh-ts

3.3.0

08 Oct 14:14
Compare
Choose a tag to compare
  • Support for deserializing from a Uint8array with byteOffset. Before unexpected results could occur due to non zero offset
  • deserialize buffer red length check made more strict and compatible with byteOffset from Uint8Array

3.2.5

19 Sep 19:54
Compare
Choose a tag to compare
  • Remove dependency on Buffer for large numbers ser/der (this was missed out on the initial Buffer removal patch)

3.2.4

15 Sep 11:42
8ecb010
Compare
Choose a tag to compare
  • Update doc

3.2.2

15 Sep 11:07
2be9281
Compare
Choose a tag to compare
  • Make deserialize compatible with both UInt8Array and Buffer

3.1.0

30 Aug 05:53
Compare
Choose a tag to compare
  • Breaking change: u64, u128, u256 now serializes and deserializes with bigint (standard built in) rather than BN from bn.js.
  • Breaking change: Rename field string type. @field({type: 'String'}) -> @field({type: 'string'})
  • Documentation updates

2.1.7

29 Aug 08:00
Compare
Choose a tag to compare
  • Remove tests from build
  • Documentation update

2.1.6

15 Aug 08:47
Compare
Choose a tag to compare
  • Support for nested/wrapped custom serialization/deserialization functions-

2.1.5

24 Jul 18:06
Compare
Choose a tag to compare
  • Fix bug that prevented custom ser/der use optional values

2.1.4

13 Jul 15:34
Compare
Choose a tag to compare
  • Add strict checks for deserialization and serialization for object/class fields

2.1.3

17 Jun 20:06
Compare
Choose a tag to compare
  • Type checking for field values that refer to other objects