Skip to content

Releases: NatLabs/serde

v3.0.0 - One shot Encoding and Decoding

27 Jun 22:30
e94221d
Compare
Choose a tag to compare

What's Changed

  • rename forked json dependency with float support to prevent conflicts in other mops packages by @tomijaga in #28
  • One shot Encoding and Decoding by @tomijaga in #29

Full Changelog: v2.3.0...v3.0.0

ICRC3 Value type to Candid

09 May 02:53
bfe08d2
Compare
Choose a tag to compare
  • Added support for converting to and from ICRC3 value type
  • Added new options field (use_icrc_3_value_type : Bool) for returning icrc3 specific types.

v2.1.1 - Fix redundant self-describe tag insertions in CBOR

31 Dec 00:38
7640a3d
Compare
Choose a tag to compare
Merge pull request #21 from NatLabs/dev

[Fix]: fix the redundant addition of the self-describe tag

v2.1.0 - Add support for CBOR

29 Dec 08:01
cf1b95f
Compare
Choose a tag to compare
Merge pull request #20 from NatLabs/dev

[Feat]: Add support for converting between candid and CBOR

v2.0.0 - Select the most Optimal Data Type

12 Sep 03:34
fdb943e
Compare
Choose a tag to compare
  • Update the function in the repo (toText(), fromText(), encode(), decode()...) to return a Result type for better debugging.
  • Update Candid.encode() fn to return the intended type for a given set of data to fix issues with misaligned data types and values as found in this issue #11

1.0.1

16 Jul 08:07
2657749
Compare
Choose a tag to compare

New Feature for renaming keys and variants during serialization

  • Added an optional record parameter to the toText and fromText functions with a field called renamekeys
    • renameKeys takes an array of Text tuples for mapping field keys in records and variant to their new names.
  • Solves the issue of using reserved Motoko keywords as record fields