If you are looking for past changelogs, check out this page.

Hi, kids, Mario here! After accidentally breaking a few patch releases (oops!), I’m back with libGDX 1.13.5! The reason? Sonatype is sunsetting OSSRH in June, forcing us to migrate to their new Central Portal service. With their lacking documentation and Gradle support, it was quite the adventure. But we got there in the end!

A few notable changes

  • [BREAKING CHANGE] Android: Updated minSDK to 21. Multidex config is no longer required.
  • [BREAKING CHANGE] Gradle: Snapshot builds are now published to https://central.sonatype.com/repository/maven-snapshots/. This means that you need to update your build scripts and add the new repository URL. Some of your other snapshot dependencies might still live on OSSRH, so make sure to keep that repository as well.
  • [BREAKING CHANGE] Skin setEnabled now only works with actors that implement Styleable. Use setEnabledReflection for old behavior.
  • [iOS] Updated to MobiVM 2.3.23 and replaced MetalANGLE backend with MetalANGLEKit.
  • [ANDROID] Removed AndroidApplicationConfiguration#touchSleepTime.
  • [LWJGL3] The signature of OpenALLwjgl3Audio#registerSound/registerMusic has changed to use method references.
  • Added support for Tiled “Text Objects” through new TextMapObject class.
  • Multiple API additions including various Array replacement methods and new Drawable default interface methods.
  • API Deprecation: Deprecated ReflectionPool and related methods in favor of new DefaultPool with improved safety.

To check out our progress towards the next release, take a look at the corresponding milestone on GitHub. As always, we appreciate feedback on the issues/PRs already part of the milestone and would like to invite you to bring forward anything still missing on our Discord server!

Full changelog

Updating your Gradle project is straight-forward: Check out the instructions on the wiki!

- [BREAKING CHANGE] Gradle: snapshot builds are now publishes to https://central.sonatype.com/repository/maven-snapshots/. Update your build scripts and the new repository URL. Some of your other snapshot dependencies might still live on OSSRH, so make sure to keep that repository as well.
- [BREAKING CHANGE] Gradle: The `publish` task now uses jreleaser to publish to Maven Central. The RELEASE_REPOSITORY_URL environment variable is no longer interpreted. SNAPSHOT_REPOSITORY_URL works as before.]
- [BREAKING CHANGE] Android: Updated minSDK to 21. Multidex config is no longer required, please check https://developer.android.com/build/multidex.
- [BREAKING CHANGE] Android: Proguard config line `boolean getUseDefaultContactFilter();` needs to be added. See https://github.com/libgdx/libgdx/pull/7578.
- [BREAKING CHANGE] Android: Removed `AndroidApplicationConfiguration#touchSleepTime`.
- [BREAKING CHANGE] Skin `setEnabled` now only works with actors that implement `Styleable`. Use `setEnabledReflection` for old behavior or add `Styleable` to your actors.
- [BREAKING CHANGE] LWJGL3: The signature of `OpenALLwjgl3Audio#registerSound/registerMusic` has changed. To migrate just replace `registerMusic("myMusic", MyMusic.class);` with `registerMusic("myMusic", MyMusic::new);`
- [BREAKING CHANGE] HorizontalGroup and VerticalGroup set transform false by default.
- [BREAKING CHANGE] Gradle: The `publish` task now uses jreleaser to publish to Maven Central. The RELEASE_REPOSITORY_URL environment variable is no longer interpreted. SNAPSHOT_REPOSITORY_URL works as before.
- API Addition: Allow option to set Box2D native ContactFilter (World#setContactFilter(null)) for performance improvements.
- API Addition: Added BooleanArray#replaceFirst and BooleanArray#replaceAll
- API Addition: Added ByteArray#replaceFirst and ByteArray#replaceAll
- API Addition: Added CharArray#replaceFirst and CharArray#replaceAll
- API Addition: Added DelayedRemovalArray#replaceFirst and DelayedRemovalArray#replaceAll
- API Addition: Added FloatArray#replaceFirst and FloatArray#replaceAll
- API Addition: Added IntArray#replaceFirst and IntArray#replaceAll
- API Addition: Added LongArray#replaceFirst and LongArray#replaceAll
- API Addition: Added ShortArray#replaceFirst and ShortArray#replaceAll
- API Addition: Added SnapshotArray#replaceFirst and SnapshotArray#replaceAll
- API Addition: Actors that implement `getStyle` and `setStyle` should now implement the `Styleable` interface
- API Addition: Added BitmapFontCache#getPageCount.
- API Addition: Added TextField#drawBackground, #updateDisplayText is protected.
- API Addition: Added Drawable default interface methods.
- Android: Fixed rare NPE when `onDestroy` was called
- Support has been added for Tiled "Text Objects", through new TextMapObject class
- API Deprecation: Deprecated ReflectionPool and the related Pools#get/Pools#obtain method. Please use the new DefaultPool with the new Pools#get/Pools#obtain methods. They offer more safety and can be used with the java 8 method reference syntax (e.g. Pools.get(MyClass::new))
- API Deprecation: Deprecated constructors taking a "Class" for Queue/ArrayMap/Array. Please use the constructors utilising "ArraySupplier". They offer more safety and can be used with the java 8 method reference syntax (e.g. MyClass[]::new)
- API Deprecation: Deprecated constructors taking a "Class" for ParallelArray.ChannelDescriptor. Please use the constructors utilising "ArraySupplier". They offer more safety and can be used with the java 8 method reference syntax (e.g. MyClass[]::new)
- iOS: Update to MobiVM 2.3.23
- iOS: The MetalANGLE backend has been replaced by MetalANGLEKit which uses a newer ANGLE revision
- Fixed Container#setCullingArea.
- iOS: Fixing issue where after setText is called on TextField, characters cannot be deleted until a new character is added.

Updated: