Skip to content

Releases: dao-xyz/borsh-ts

4.0.4

06 Dec 08:40
Compare
Choose a tag to compare
  • ems build now only produces js and typing files (no mjs)

4.0.3

03 Dec 11:41
Compare
Choose a tag to compare
  • Breaking: Removed option to provide custom Writer on serialization
  • Performance improvements
  • Add option to deserialize into object rather than class

4.0.1

30 Nov 22:17
Compare
Choose a tag to compare
  • Fix bug where buffer sometimes was not resized for UInt8Array serialization

4.0.0

30 Nov 14:08
5632989
Compare
Choose a tag to compare
  • Breaking Constructors are no longer called on deserialization. This is now an option
  • Breaking a custom BinaryReader can no longer be provided

3.5.0

30 Nov 13:35
Compare
Choose a tag to compare
  • Breaking: binary reader/writer now have different method names. Instead of writeU32(...) you now do u32(...)
  • Add support for Uint8Array type
  • Improved performance of ser/der

3.4.4

26 Nov 09:49
Compare
Choose a tag to compare
  • Export BorshError
  • Improved error messages

3.4.3

23 Nov 12:25
Compare
Choose a tag to compare
  • Improved error message for missing values

3.4.2

22 Oct 08:42
Compare
Choose a tag to compare
  • Improve types for checkClazzesCompatible method

3.4.1

22 Oct 08:33
Compare
Choose a tag to compare
  • Update name of exported abstract type

3.4.0

22 Oct 08:23
Compare
Choose a tag to compare
  • getDiscriminator fn that allows you to resolve the discriminator of classes.
  • Support for abstract classes as types and targets for deserialize(...)