|
| 1 | +--- |
| 2 | +title: "libGDX 1.14.1" |
| 3 | +classes: wide2 |
| 4 | +header: |
| 5 | + overlay_color: "#000" |
| 6 | + overlay_filter: "0.5" |
| 7 | + overlay_image: /assets/images/update.jpeg |
| 8 | + caption: "Photo credit: [**Markus Winkler**](https://unsplash.com/photos/cxoR55-bels)" |
| 9 | + teaser: /assets/images/update.jpeg |
| 10 | +excerpt: "We are proud to present a new release of libGDX: version 1.14.1!" |
| 11 | + |
| 12 | +show_author: true |
| 13 | +author_username: "crykn" |
| 14 | +author_displayname: "damios" |
| 15 | + |
| 16 | +tags: |
| 17 | + - changelog |
| 18 | + |
| 19 | +categories: news |
| 20 | +--- |
| 21 | +If you are looking for past changelogs, check out [this](/news/changelog/) page. |
| 22 | +{: .notice--primary .no-top-margin } |
| 23 | + |
| 24 | +libGDX 1.14.1 has been released with plenty of bug fixes and new features. See the changelog below for a complete overview. |
| 25 | + |
| 26 | +To check out our progress towards the next release, take a look at the [corresponding milestone](https://github.com/libgdx/libgdx/milestone/11) 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](/community/discord/) server! |
| 27 | + |
| 28 | +Updating your Gradle project is straight-forward: Check out the instructions [on the wiki](/wiki/articles/updating-libgdx)! |
| 29 | +{: .notice--info} |
| 30 | + |
| 31 | +``` |
| 32 | +- [BREAKING CHANGE] iOS: Removed IOSAudio#willTerminate to be replaced by new Audio#dispose. |
| 33 | +- [BREAKING CHANGE] API: The `open/closeTextInputField` API has undergone a bigger rewrite: |
| 34 | + - A `NativeInputCloseCallback` has been added, which can be passed over the `NativeInputConfiguration#setCloseCallback`. This will be called on the main thread, once the closing of the native input field is processed. See the javadoc for more information. |
| 35 | + - The API will no longer send "ENTER" events automatically on close actions. This can be now done in the close callback by the user. |
| 36 | + - `NativeInputConfiguration#maxTextLength` is not nullable anymore. "-1" should be used for unset. |
| 37 | + - `TextInputWrapper#setText/setPosition` have been removed and replaced with `writeResults` |
| 38 | + - `TextInputWrapper#shouldClose` has been removed and should now be handled over the close callback |
| 39 | +- [BREAKING CHANGE] API: `TextField.OnscreenKeyboard` has been refactored. `OnscreenKeyboard#show(boolean)` has been split of in `OnscreenKeyboard#show(TextField)` and `OnscreenKeyboard#close()`. |
| 40 | +- [BREAKING CHANGE] API: `Json#ignoreUnknownField()` parameters changed to provide more information. Use `object.getClass()` and `value.name` for the old values. |
| 41 | +- API Addition: `Input#KeyboardHeightObserver` was extended by `onKeyboardShow` and `onKeyboardHide`. See javadocs for more info. |
| 42 | +- API Addition: `Input#isTextInputFieldOpened` has been added, to check, whether an InputField opened by `openTextInputField` is open |
| 43 | +- API Addition: Added support for the native input API in scene2d. It can be enabled via `TextField#DEFAULT_ONSCREEN_KEYBOARD = new NativeOnscreenKeyboard()` on startup. This only affects mobile platforms. |
| 44 | +- API Addition: Added multiple NativeInput exclusive options to `TextField` |
| 45 | + - `setAutocompleteOptions` will set a list of autocomplete options to the user on mobile |
| 46 | + - `setKeyboardType` will set the keyboard type shown to users |
| 47 | + - `preventAutoCorrection` will disable auto correct for the textfield |
| 48 | +- Android: The KeyboardHeightObserver will not report duplicate events anymore |
| 49 | +- Android: The KeyboardHeightObserver will now only consider `systemBars`, `ime`, `displayCutout`, `mandatorySystemGestures` for insets. |
| 50 | +- Android: Added missing soundId based API implementations to AsynchronousSound. |
| 51 | +- Android: Fixed possible app crashes on back button/gesture (see #7775). |
| 52 | +- API Change: ObjectSet, IntSet, OrderedSet addAll methods return boolean. |
| 53 | +- API Addition: Added LongSet. |
| 54 | +- iOS: Update to MobiVM 2.3.24 |
| 55 | +- API Addition: Added scene2d.ui ScrollPane#smoothScroll() to control smooth scroll speed. |
| 56 | +- API Addition: Added Justify text options to GlyphLayout (#7609) |
| 57 | +- GeometryUtils fixes and improvements. |
| 58 | +- API Addition: IdentitySet |
| 59 | +- API Addition: Add option to load a standalone tileset file |
| 60 | +- API Fix: Fix NPE in AndroidDaydream#onConfigurationChanged |
| 61 | +- API Change: Use IdentityMap for skin resources |
| 62 | +- API Change: Enforce cursor/selectionStart invariants on text change in TextField |
| 63 | +- API Fix: Calculate cachedOrientation on startup |
| 64 | +- API Fix: Don't set Android LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES cutout mode on Android 35+ |
| 65 | +- API Fix: Fix NPE in AndroidGraphics#updateSafeAreaInsets |
| 66 | +- API Fix: Fix TextField and TextArea cursor drift and unreachable logic on event cancellation |
| 67 | +- API Fix: Fix TextField and TextArea undo do not fire ChangeEvent |
| 68 | +- API Addition: Add Justify text option to Label |
| 69 | +- API Fix: Prevent delta time from being negative |
| 70 | +- API Fix: Json can't read back CharArray in some cases. |
| 71 | +- API Change: Make some ModelBuilder-related fields protected |
| 72 | +- API Addition: Introduce separate Lwjgl3ApplicationConfiguration#setRGBABits, #setDepthBits, #setStencilBits and #setSamples |
| 73 | +- API Fix: Fix detection of running in Angle gles compat for glMipMapGeneration |
| 74 | +- API Fix: Properly Update XmlReader.Element's parent field when element is added/removed |
| 75 | +- API Fix: Fix NinePatch created from flipped TextureAtlas |
| 76 | +- API Fix: Fix nested class property defaults loading with Tiled maps |
| 77 | +- API Addition: Added soundId support for AsynchronousSound |
| 78 | +- API Fix: Fix collider bounds check in Octree |
| 79 | +- API Fix: Fix ANR/crash in AndroidGraphics#destroy() due to infinite wait() |
| 80 | +- API Change: Add return values to InputProcessor#removeProcessor |
| 81 | +- API Fix: Make PoolManager compatible with r8 full mode |
| 82 | +- A couple small javadoc improvements |
| 83 | +``` |
0 commit comments