Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 19:26

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.212.4.0 and KSP 2.2.21-2.0.52.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.pages no longer carries @get:JvmName("pages"); its JVM getter is now getPages(). Kotlin callers
    (meta.pages) are unaffected. This removes a JVM-signature collision with the pages() method WrittenBookMeta
    declares to satisfy Adventure's Book, which Kotlin 2.4 now rejects as an accidental override.

Fixed

  • Kotlin 2.4 source compatibility in the internal downcastApiType helper: removed the reified I : A upper bound.
    Kotlin 2.4 inferred I to the intersection I & A at call sites and refused to reify it. I is now pinned by
    each caller's declared return type, keeping the runtime this is I check precise.