Skip to content

Releases: Patitotective/kdl-nim

v2.0.3

19 Nov 15:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.2...2.0.3

v.2.0.2

13 Nov 19:47
Compare
Choose a tag to compare

Full Changelog: 2.0.1...2.0.2

v2.0.1

10 Jan 22:40
9050d1d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

v2.0.0

22 Nov 22:02
5cae344
Compare
Choose a tag to compare

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

v1.2.4

25 Oct 02:42
2183130
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.3...1.2.4

v1.2.3

21 Oct 23:39
e412de9
Compare
Choose a tag to compare

What's Changed

  • Now not importing kdl/prefs in the main kdl.nim file because it confl… by @Patitotective in #6

Full Changelog: 1.2.2...1.2.3

v1.2.2

16 Oct 14:34
a37a00b
Compare
Choose a tag to compare

What's Changed

  • nim 2.0.0 compatibility bug fix by @Patitotective in #5
  • added find, findFirst and findLast procedures to find nodes by name inside a kdl document

Full Changelog: 1.0.1...1.2.2

v1.0.1

06 May 01:56
Compare
Choose a tag to compare

Changes

  • Only importing kdl/prefs when not using js as a backend to avoid errors when compiling to js
  • typo by @qm3ster in #3

Full Changelog: 1.0.0...1.0.1

v1.0.0

19 Feb 16:49
f1adf58
Compare
Choose a tag to compare

What's Changed

  • Added decoder
  • Added encoder
  • Added compile-time parsing support
  • Added streams support
  • Added simple preferences system
  • Improved documentation

Full Changelog: 0.2.2...1.0.0

v0.2.2

13 Oct 14:42
Compare
Choose a tag to compare

What's Changed

  • Bug fixed: single line comments were not tokenizing the new lines after them, therefore causing the nodes after them to error on parsing

Full Changelog: 0.2.0...0.2.2