Skip to content

Releases: copper-leaf/kudzu

6.1.2

Choose a tag to compare

@cjbrooks12 cjbrooks12 released this 08 Jun 14:59

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

Choose a tag to compare

@cjbrooks12 cjbrooks12 released this 07 Jun 04:43

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

Choose a tag to compare

@cjbrooks12 cjbrooks12 released this 13 Mar 03:20

Updates to Kotlin 2.1.0

5.3.0

Choose a tag to compare

@github-actions github-actions released this 13 May 18:16
  • Enables wasmJs target

5.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Jan 21:51
  • Updates to Kotlin 1.9.22

5.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Aug 18:50
  • Updates to Kotlin 1.9.0

5.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Apr 17:50
  • Updates to Kotlin 1.8.20
  • Drops support for deprecated KMPP targets:
    • JS Legacy
    • iosArm32

4.0.1

Choose a tag to compare

@github-actions github-actions released this 21 Feb 20:45
  • Performance improvements related to ParserException. Thanks for @kilink for the contribution!

4.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 23:54
  • 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

Choose a tag to compare

@github-actions github-actions released this 03 Mar 17:23
  • Adds choiceIndex property to ChoiceNNode