v0.7.0
Toolchain modernization to Kotlin 2.4.0 and KSP2. The shaded server jar builds on the new toolchain, boots,
and was bot-verified against a live server (mcbot_waterlog.py: login → spawn → place → waterlog all succeeded).
Changed
- Kotlin
2.2.21→2.4.0and KSP2.2.21-2.0.5→2.3.9. KSP has moved to KSP2, which versions
independently of the Kotlin release (the old<kotlin>-<ksp>scheme is gone), so the catalog now tracks a
standalone KSP version. This supersedes Dependabot PR #12 (which bumped only Kotlin and would have broken KSP
resolution on its own). BookMeta.pagesno longer carries@get:JvmName("pages"); its JVM getter is nowgetPages(). Kotlin callers
(meta.pages) are unaffected. This removes a JVM-signature collision with thepages()methodWrittenBookMeta
declares to satisfy Adventure'sBook, which Kotlin 2.4 now rejects as an accidental override.
Fixed
- Kotlin 2.4 source compatibility in the internal
downcastApiTypehelper: removed thereified I : Aupper bound.
Kotlin 2.4 inferredIto the intersectionI & Aat call sites and refused to reify it.Iis now pinned by
each caller's declared return type, keeping the runtimethis is Icheck precise.