Skip to content

Releases: copper-leaf/kudzu

6.1.2

08 Jun 14:59

Choose a tag to compare

Fix issue during publishing of 6.1.1, which was accidentally compiled against JDK 21. This version reverts that change
and is recompiled against JDK 17.

Lazily construct text in ValueNode Thanks to @patrickgold for the contribution!

6.1.1

07 Jun 04:43

Choose a tag to compare

DON'T USE THIS VERSION. 6.1.1 was accidentally compiled against JDK 21, making this version silently incompatible
with the previous build target of JDK 17. Version 6.1.2 has fixed that issue and is back to JDK 17 compilation target.

Lazily construct text in ValueNode Thanks to @patrickgold for the contribution!

6.0.0

13 Mar 03:20

Choose a tag to compare

Updates to Kotlin 2.1.0

5.3.0

13 May 18:16

Choose a tag to compare

  • Enables wasmJs target

5.2.0

25 Jan 21:51

Choose a tag to compare

  • Updates to Kotlin 1.9.22

5.1.0

17 Aug 18:50

Choose a tag to compare

  • Updates to Kotlin 1.9.0

5.0.0

06 Apr 17:50

Choose a tag to compare

  • Updates to Kotlin 1.8.20
  • Drops support for deprecated KMPP targets:
    • JS Legacy
    • iosArm32

4.0.1

21 Feb 20:45

Choose a tag to compare

  • Performance improvements related to ParserException. Thanks for @kilink for the contribution!

4.0.0

05 Oct 23:54

Choose a tag to compare

  • Updates to Kotlin 1.7.20, and removes @ExperimentalStdlibApi now that DeepRecursiveFunction is now stable
  • Make it possible to process choice nodes with type safety. Thanks to @ephemient for the contribution!

Instead of requiring casting to access

MappedParser(ChoiceParser(FooParser(), BarParser())) { node ->
    when (node) {
        is Choice2Node.Option1 -> (node.node as FooNode).foo
        is Choice2Node.Option2 -> (node.node as BarNode).bar
    }
}

we can rely on the compiler to check

MappedParser(ChoiceParser(FooParser(), BarParser())) { node ->
    when (node) {
        is Choice2Node.Option1 -> node.node.foo
        is Choice2Node.Option2 -> node.node.bar
    }
}

3.1.0

03 Mar 17:23

Choose a tag to compare

  • Adds choiceIndex property to ChoiceNNode