Releases: dao-xyz/borsh-ts
Releases · dao-xyz/borsh-ts
2.0.0
2.0.0 Simplified API (Breaking changes)
The method
generatedSchemas(...)
has been removed and schemas are now automatically generated and stored behind the scenes on the class prototype itself.
Validation can instead be done with
validate(...)
deserialize method is updated to be in more align with serialize
Old:
deserialize(Class, buffer, ..)
New:
deserialize(buffer, Class)
1.4.0
Improved validation while generating schemas
- Can detect undefined types
1.3.0
- Boolean support (well its just u8 anyway)
1.2.0
- Add support for variant array (e.g. nested enums)
1.1.4
- Fix NP when fields are missing
1.1.3
add export
1.1.2
Improved esm build
1.1.1
update release ci
1.0.3
- Finalize organization rename
1.0.2
- Organization rename (again)