Skip to content

0.10.0-4.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Oct 11:00
b28c493

New release 0.10.0-4.3.0 for Godot Kotlin.

Warning: Some breaking changes have been made to the API since the last release, so your current projects will most likely not compile without adapting the code. Also be aware that a lot changed behind the hood since the previous release. We fixed many bugs, but probably introduced new ones along the way. We encourage you to post issues if it happens.

Highlights:

  • Massive changes to the C++ implementation of the module resulting in better maintainability, better logging/notification, recovery from invalid states and many crashes replaced by errors/warnings.
  • Improved configuration file and command-line, including custom arguments for the JVM.
  • Added efficient conversions between Godot PackedArrays and Kotlin primitive Arrays.
  • Nodes with an invalid script (not built) now display a warning.
  • Improved API for Callable, including the possibility to directly use Kotlin lambdas, not only registered functions.
  • Support for Kotlin coroutines has been added, you can now wait for a signal, resource loading or the next frame.
  • It's no longer allowed to register lateinit or nullable properties, except for Object/Resource/Node types.
  • The editor plugin is back, allowing you to setup the Gradle project and build it from the editor.
  • Memory model revamped and now running on the main thread for more stability and smoother handling of GC spikes.
  • Memory usage has been significantly reduced.
  • Fix .kt and .java scripts attached to Nodes not being correctly saved in editor.
  • When a Java or Kotlin script has been edited without rebuilding, the editor is going to display warnings on Nodes using those scripts.
  • Bug resetting property values in inspector has been fixed.
  • General improvements to the core and generated API.
  • iOS export now use our own custom JVM build
  • Support for multidex APK on Android.
  • Exports now working on Android 14+.
  • Building for Android now requires SDK 35+.

Don't forget to change your build.gradle configuration with the following line:

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

The files prefixed with godot-kotlin-jvm_editor_ are the editors.
release editors are the editors you use normally. debug editors provide debug symbols and are intended to provide better stacktraces in case of crashes of the editor. Please use those when submitting bugreports.

godot-kotlin-jvm_export_templates_0.10.0-4.3.0.tpz is the archive for all export templates . See exporting documentation on how to use it.

What's Changed

Full Changelog: 0.9.1-4.2.2...0.10.0-4.3.0