Releases: Patitotective/kdl-nim
Releases · Patitotective/kdl-nim
v2.0.3
What's Changed
- Added link to https://kdl.dev/ in the readme by @enthus1ast in #12
- Fixed #13
New Contributors
- @enthus1ast made their first contribution in #12
Full Changelog: 2.0.2...2.0.3
v.2.0.2
Full Changelog: 2.0.1...2.0.2
v2.0.1
What's Changed
- v2.0.1: typo in src/kdl/prefs.nim by @Patitotective in #9
Full Changelog: 2.0.0...2.0.1
v2.0.0
What's Changed in v2.0.0:
nodes.toKdl
->toKdlDoc
to avoid conflicts withxik.toKdl
andjik.toKdl
nodes.toKdlArgs
andnodes.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
andencoder.encodeKdlVal
in replacement ofencode(x, KdlDoc/KdlNode/KdlVal)
- Added
nodes.inline
procedure that returns a KDL doc and node string representation in a single-line. - Now
nodes.findFirst
andnodes.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
v1.2.3
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
What's Changed
- nim 2.0.0 compatibility bug fix by @Patitotective in #5
- added
find
,findFirst
andfindLast
procedures to find nodes by name inside a kdl document
Full Changelog: 1.0.1...1.2.2
v1.0.1
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
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
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