Releases: dao-xyz/borsh-ts
Releases · dao-xyz/borsh-ts
2.1.2
- 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
- Deserialization invariant to deserialization target
2.1.0
- 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
Support for resolving variants for deep inheritance
2.0.6
- 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
Organization rename
2.0.4
Improved validation
2.0.3
Update readme
2.0.2
Update doc
2.0.1
Readme update