Releases: dao-xyz/borsh-ts
Releases · dao-xyz/borsh-ts
3.3.0
- Support for deserializing from a Uint8array with
byteOffset
. Before unexpected results could occur due to non zero offset deserialize
buffer red length check made more strict and compatible with byteOffset from Uint8Array
3.2.5
- Remove dependency on
Buffer
for large numbers ser/der (this was missed out on the initial Buffer removal patch)
3.2.4
- Update doc
3.2.2
- Make
deserialize
compatible with both UInt8Array and Buffer
3.1.0
- Breaking change: u64, u128, u256 now serializes and deserializes with bigint (standard built in) rather than BN from bn.js.
- Breaking change: Rename field string type.
@field({type: 'String'}) -> @field({type: 'string'})
- Documentation updates
2.1.7
- Remove tests from build
- Documentation update
2.1.6
- Support for nested/wrapped custom serialization/deserialization functions-
2.1.5
- Fix bug that prevented custom ser/der use optional values
2.1.4
- Add strict checks for deserialization and serialization for object/class fields
2.1.3
- Type checking for field values that refer to other objects