Skip to content

0.12.1-4.4

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Mar 18:57
441681c

New 0.12.1-4.4 release for Godot Kotlin

Breaking Changes:

  • Internal packages of the Godot library have been changed. Note that many occurrences of godot have became either godot.core godot.api.
  • Names of signal parameters should now be set in the @RegisterSignal annotation. kt @RegisterSignal val mySignal by signal1<Boolean>("reverse") becomes kt @RegisterSignal("reverse") val mySignal by signal1<Boolean>().
  • The jar reloading logic has been moved to the C++ code for more stability.. Note that a new ./jvm/ directory containing the jars will be created in your project. You should now place your embedded JVM there as well.

Changes:

  • Upgraded to Kotlin 2.1 and Gradle 8.13. Be aware that we had the change the internals of the IDE plugin to handle the new K2 compiler, new bugs might appear. Please report them if this is happening.
  • Added new coroutines dispatcher that can run on Godot's main thread or its thread pool.
  • JVM Scripts and Jars now have an internal UID based on their paths. For now, the expected behavior when moving/renaming them outside the Godot editor is expected to be the same as in Godot 4.3. Later, we plan to base the UID on the registered script name to make it more stable.
  • Added Support Typed Dictionary
  • A popup will now appear if the build of Godot you are using does not match your JVM project.
  • Added missing TransformXD operators.
  • Added missing sort() method in Dictionary

Fixes:

  • The Intellij plugin should now work on the latest versions.
  • Fixed export of Node inside Array and Dictionary
  • Fixed unexpected behavior that might occur when a script had a companion object or static field.
  • Fixed property registration when the annotation is in a parent class.
  • Fixed registration errors when using script from a different module or library

Don't forget to change your build.gradle configuration with the following line. Be careful, we are now using the same version as Godot so it became 0.12.1-4.4 instead of 0.11.0-4.3.0:

plugins {
    id("com.utopia-rise.godot-kotlin-jvm") version "0.12.1-4.4"
}

What's Changed

Full Changelog: 0.11.0-4.3...0.12.1-4.4