This release fixes a bug with Kotlin templates, updates various versions, and most importantly provides a single point of configuration to update LWJGL3. The last part is necessary if you're running on Java 25 or Java 26, with 26 released just yesterday. The default LWJGL3 version here is 3.4.1, which is newer than what libGDX currently defaults to, but using 3.4.x (with multi-release JARs enabled) is required for anyone building or running with Java 25+. You can set the LWJGL3 version to anything else by changing lwjgl3Version in gradle.properties, like any other version. This works using constraints, a nice Gradle feature that saves a few dozen lines of code to do the same thing (forcing an update to a library).
Other changes:
- Templates with Kotlin launchers now automatically require Kotlin and specify its version, which was missing before.
- TeaVM has been updated to 1.5.3, which is a bug-fix release.
- The third-party extension gdx-webrtc is new; it provides networking support for LWJGL3 and TeaVM platforms.
- Third-party extension versions for Apache Fory, TextraTypist, SquidSquad, and the Tantrum libraries for Fory compatibility have all been updated.
- If you use Fory, note that any
serializeJavaObject()anddeserializeJavaObject()methods are now justserialize()anddeserialize(). Methods that specifiedJavaStringnow just useStringin their names instead, also.
- If you use Fory, note that any
- A warning when running on Java 25 or higher due to libGDX loading any kind of library has been suppressed for now. If you're using libGDX on desktop, you're loading native libraries, so there's no point in showing this warning.
Provided in this release are a cross-platform JAR (gdx-liftoff-1.14.0.8.jar), three platform-specific JARs that might avoid antivirus false positives if there are any (this shouldn't be needed, but sometimes is), and two native launchers in .zip files that bundle a JRE for Windows x64 and Linux x64. If there's any question what to use, the cross-platform JAR should work as long as you have a JDK installed already. OpenJDK 21 is recommended.