Skip to content

Releases: dao-xyz/borsh-ts

2.0.0

13 Apr 13:51
Compare
Choose a tag to compare

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

13 Apr 09:22
Compare
Choose a tag to compare

Improved validation while generating schemas

  • Can detect undefined types

1.3.0

08 Apr 09:14
Compare
Choose a tag to compare
  • Boolean support (well its just u8 anyway)

1.2.0

11 Feb 15:38
Compare
Choose a tag to compare
  • Add support for variant array (e.g. nested enums)

1.1.4

09 Feb 20:26
Compare
Choose a tag to compare
  • Fix NP when fields are missing

1.1.3

03 Feb 16:03
Compare
Choose a tag to compare
add export

1.1.2

03 Feb 16:00
Compare
Choose a tag to compare
Improved esm build

1.1.1

03 Feb 15:43
Compare
Choose a tag to compare
update release ci

1.0.3

31 Jan 07:48
Compare
Choose a tag to compare
  • Finalize organization rename

1.0.2

31 Jan 07:45
Compare
Choose a tag to compare
  • Organization rename (again)