Skip to content

Releases: dao-xyz/borsh-ts

2.1.2

17 Jun 11:49
Compare
Choose a tag to compare
  • Fix bad deserialization when referencing and also inherit same class
  • Improved error message for not expecteed null values (no more null pointers :> )

2.1.1

17 Jun 10:54
Compare
Choose a tag to compare
  • Deserialization invariant to deserialization target

2.1.0

17 Jun 08:32
Compare
Choose a tag to compare
  • Inheritance is now supported, see readme and tests for examples.
  • Variants can not be of string type, see readme and tests for examples.
  • Improved error handling to detect bad specifications upon validation and deserialisation

2.0.7

16 Jun 06:53
Compare
Choose a tag to compare

Support for resolving variants for deep inheritance

2.0.6

15 Jun 14:09
Compare
Choose a tag to compare
  • Throw error if conflicting variants e.g.
class Base {}

@variant(0)
class A extends Base {}

@variant(0)
class B extends Base {}

now throws error as we can not deterministically deserialise Base into either A or B.

2.0.5

14 Apr 09:43
Compare
Choose a tag to compare

Organization rename

2.0.4

13 Apr 15:32
Compare
Choose a tag to compare

Improved validation

2.0.3

13 Apr 14:26
Compare
Choose a tag to compare

Update readme

2.0.2

13 Apr 14:07
Compare
Choose a tag to compare

Update doc

2.0.1

13 Apr 13:57
Compare
Choose a tag to compare

Readme update