If you are looking for past changelogs, check out this page.
Hot off the press: libGDX 1.13.1 brings a few pressing bugfixes as well as a couple of interesting new features. Check out the full list below to find out more.
A few notable changes
- [ANDROID] The AndroidX core dependency is now included with libGDX (#7543).
- [CORE] There have been quite a few improvements to the tiled map support (#7076, #7135, #7505, #7534). Thanks to BoBIsHere86 for that!
- [GWT] Fix issue with SpriteBatch (#7486)
- [iOS] Updated to MobiVM 2.3.22 from 2.3.21.
- [LWJGL3] We downgraded the LWJGL version to 3.3.3 to avoid the ongoing antivirus false positives. This means that the RISC-V support is only available in libGDX 1.13.1 if you manually upgrade your LWJGL dependency (#7555).
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] Android: Since 1.13.0 libGDX requires setting `android.useAndroidX=true` in your gradle.properties file. In 1.13.1 it is NO longer needed to define the `androidx.core:core` dependency in your Android module.
- iOS: Update to MobiVM 2.3.22
- iOS: Fixes Gdx.openURI() not working on iOS 18.1 Simulator.
- Change visibility of PolygonSpriteBatch.switchTexture() to protected
- Added XmlReader.getChildren() and XmlReader.replaceChild()
- LWJGL3: Fix pauseWhenLostFocus not working as expected
- LWJGL 3: Downgrade to 3.3.3 due to AV false positives on 3.3.4 and OpenAL log spamming issue on 3.3.5.
- API Addition: Added FPSLogger#setBound
- Android: Fix crash on startup if `setContentView` was manually called after `initializeForView`
- API Addition: Added Array#replaceFirst and Array#replaceAll
- Fixed ShortArray#lastIndexOf taking char instead of short.
- Properly validate font name in Hiero
- Fix depth shader recycling
- Support 'class' Tiled/Tmx MapProperty
- Support for Layer TintColor in TiledMap
- Fix classpath files not being loaded on GWT
- Fixed LongArray#lastIndexOf taking char instead of long.
- LongArray#pop and #peek now throw expections if the array is empty
- Reset existing transformations of provided overlap Polygon in Polygon::intersectPolygons
- Added tiledmap loader for JSON files
- Fix duplicate points returned in polygon intersection
- Change defaults of SpriteBatch to use VBO instead of VertexArray on gl2/gles2.0
- Fix: no longer inline the version string
- GWT - Calculate MD5 hash while copying file to avoid errors on very large files
- Fix: Wayland doesn't support setting window position and icon
- Fix: Parsing imagelayer inside a group tag in TMX file
- Improve Android input keyboard with autocorrection
- Unproject and pick ray docs for Viewport/Camera
- Support for Image Layer repeat x and y in TiledMap + Bugfix