Releases: copper-leaf/kudzu
Releases · copper-leaf/kudzu
6.1.2
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
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
Updates to Kotlin 2.1.0
5.3.0
- Enables wasmJs target
5.2.0
- Updates to Kotlin 1.9.22
5.1.0
- Updates to Kotlin 1.9.0
5.0.0
- Updates to Kotlin 1.8.20
- Drops support for deprecated KMPP targets:
- JS Legacy
- iosArm32
4.0.1
4.0.0
- Updates to Kotlin 1.7.20, and removes
@ExperimentalStdlibApinow thatDeepRecursiveFunctionis 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
- Adds
choiceIndexproperty to ChoiceNNode