v1.0.0
Highlights:
a complete rewrite of the library which includes multiple advantages over the current v0.7.0
:
- Vanilla JS implementation, does not rely on
Buffer
, for which it is compatible with a greater number of environments. - It can (de)serialize single values,
objects
and instances ofClasses
. Previously we were only able to (de)serialize specific instances of classes. - The new
Schema
is consistent across types, and a thoughtful validation of the Schema is in place. - Each
serialize/deserialize
relies on a singleSchema
, solving some longstanding problems with the previous "Indexing by Class" approach. - Thoughtfully tested across multiple scenarios.
- Now it's also support to run in smart contract environment with near-sdk-js!
What's Changed
- fix: add missing dependency by @chadoh in #50
- add build to ci and fix build by @ailisp in #58
- Major Update of Borsh by @gagdiez in #65
New Contributors
Full Changelog: v0.7.0...v1.0.0