Releases: dao-xyz/borsh-ts
Releases · dao-xyz/borsh-ts
4.0.4
- ems build now only produces js and typing files (no mjs)
4.0.3
- Breaking: Removed option to provide custom Writer on serialization
- Performance improvements
- Add option to deserialize into object rather than class
4.0.1
- Fix bug where buffer sometimes was not resized for UInt8Array serialization
4.0.0
- Breaking Constructors are no longer called on deserialization. This is now an option
- Breaking a custom BinaryReader can no longer be provided
3.5.0
- Breaking: binary reader/writer now have different method names. Instead of
writeU32(...)
you now dou32(...)
- Add support for Uint8Array type
- Improved performance of ser/der
3.4.4
- Export
BorshError
- Improved error messages
3.4.3
- Improved error message for missing values
3.4.2
- Improve types for
checkClazzesCompatible
method
3.4.1
- Update name of exported abstract type
3.4.0
getDiscriminator
fn that allows you to resolve the discriminator of classes.- Support for abstract classes as types and targets for
deserialize(...)