Skip to content

v2.0.0

Compare
Choose a tag to compare
@Patitotective Patitotective released this 22 Nov 22:02
· 12 commits to main since this release
5cae344

What's Changed in v2.0.0:

  • nodes.toKdl -> toKdlDoc to avoid conflicts with xik.toKdl and jik.toKdl
  • nodes.toKdlArgs and nodes.toKdlProps now accept tags in the values (toKdlArgs(10[i8]) == initKVal(10, tag = "i8".some))
  • Added support for set in encoder and decoder.
  • decoder.decode -> decoder.decodeKdl
  • decoder.decodeHook -> decoder.decodeKdl
  • decoder.newHook -> decoder.initHookKdl
  • decoder.postHook -> decoder.postHookKdl
  • decoder.enumHook -> decoder.enumHookKdl
  • decoder.renameHook -> decoder.renameHookKdl
  • decoder.newHookable -> decoder.decodeInitKdl
  • decoder.postHookable -> decoder.decodePostKdl
  • decoder.enumHookable -> decoder.decodeEnumKdl
  • decoder.renameHookable -> decoder.decodeRenameKdl
  • encoder.encode -> encoder.encodeKdl
  • encoder.encodeHook -> encoder.encodeKdl
  • Added encoder.encodeKdlDoc, encoder.encodeKdlNode and encoder.encodeKdlVal in replacement of encode(x, KdlDoc/KdlNode/KdlVal)
  • Added nodes.inline procedure that returns a KDL doc and node string representation in a single-line.
  • Now nodes.findFirst and nodes.findLast return the index of the node, and -1 when it wasn't found.
  • Fixed bug when printing error of parseKdl("node \\")

Full Changelog: 1.2.4...2.0.0