Releases: SpaiR/imgui-java
v1.89.0
What's Changed
The key update in this release is the upgrade of the Dear ImGui library to v1.89.9 in #316. I highly recommend reviewing the related changes, as this update also includes version bumps for the imgui-node-editor and ImPlot extensions to their latest versions. These updates introduce changes to the API.
Another notable change affects the internal API of the ImVec classes. Their mathematical operations are now immutable, meaning that the code vec1.plus(vec2)
will return a new instance instead of modifying the values within the vec1
instance, as it did previously. Additionally, a new mathematical operation div
has been introduced.
Compare
List of Changes
- Dear ImGui updated to v1.89.9 in #316.
- imgui-node-editor updated to commit b302971 in #316.
- ImGuiColorTextEditor and ImGuiFileDialog extensions temporarily disabled in #316
โ ๏ธ . - ImPlot updated to v0.16 in #316.
- ImVec2/ImVec4 math operations are now immutable in #317
โ ๏ธ . - Some internal Table API functions have been exposed in #318.
- Improved OpenGL compatibility checks for sampler objects by @Lyzev in #320.
New Contributors
Full Changelog: v1.88.0...v1.89.0
v1.88.0
Dear ImGui v1.88
This update introduces no major changes to the Dear ImGui API.
PR with the update to review binding changes: #309.
Refer to the official changelog for a complete list of Dear ImGui updates.
List of Changes
Full Changelog: v1.87.7...v1.88.0
v1.87.7
What's Changed
- Set all needed glPixelStore states by @RaphiMC in #298
- Some more internal widgets & flags by @wagyourtail in #301
New Contributors
- @RaphiMC made their first contribution in #298
- @wagyourtail made their first contribution in #301
Full Changelog: v1.87.6...v1.87.7
v1.87.6
What's Changed
- Update imnodes bindings to latest version & fix getNode___SpacePos bindings by @serivesmejia in #282
- Extend available API for imgui.internal.ImGui by @SpaiR in #294
New Contributors
- @serivesmejia made their first contribution in #282
Full Changelog: v1.87.5...v1.87.6
v1.87.5
What's Changed
Full Changelog: v1.87.4...v1.87.5
v1.87.4
What's Changed
- Change pointers casting type in #265
- Image methods now accept the
long
type instead ofint
in #265 - Fix missing bindings for TreePush and InputScalar in #268
Full Changelog: v1.87.3...v1.87.4
v1.87.3
What's Changed
- ArgVariant annotation for binding gen and
plot*
methods with count parameter for ImPlot extension in #264 (resolves #261)
Full Changelog: v1.87.2...v1.87.3
v1.87.2
Regression
- Minor improvements and fixes for binding generation #263
Full Changelog: v1.87.1...v1.87.2
v1.87.1
Regression
- Return methods lost during integration of binding generation API: 8f76b20
Full Changelog: v1.87.0...v1.87.1
v1.87.0
What's Changed ๐
Dear ImGui v1.87 + ImPlot v0.13
As part of PR #252, the versions of the main Dear ImGui module and the ImPlot extension have been upgraded. Initially, there was no plan to update the extension, but this became necessary due to compatibility issues.
It's important to note that both updates significantly change the way you interact with them. Therefore, it is HIGHLY recommended to review the corresponding release notes: Dear ImGui v1.87 and ImPlot v0.13.
Backend Refactor for GLFW and OpenGL
Since updating Dear ImGui required changes to the backend code, a refactor was carried out on the ImGuiImplGlfw
and ImGuiImplGl3
classes. In addition to ensuring compatibility with the updated API, their code was aligned as closely as possible with the original code, within the constraints of the language. Which should make it easier to maintain these classes in the future.
As a small bonus, visibility modifiers have been revised. Now, all methods, except for the most internal ones, can be overridden. This should reduce the complexity of creating custom backends.
API for Binding Generation
This is the first release made using the new API for binding generation. You can read more about it here: #240. From a user perspective, these changes should have minimal impact. In some areas, there are now more ways to interact with native methods, but overall, everything should remain more or less the same. This is definitely not the final version, and currently, there is a lack of documentation on how to interact with the API. These are issues that will be addressed in the future. If you encounter any problems, such as missing methods that were previously available or the absence of certain flags, please report them in the issue tracker.
Optional FreeType
In the previous release, FreeType became part of the compiled library, and was enabled by default. It was noted in #244 that this default renderer appears slightly worse on macOS. This highlighted the need to toggle this renderer on and off. More details can be found in PR #254.
Migration Guide ๐
- See New IO keyboard/mouse/gamepad event API (1.87) recap to undestand changes in Dear ImGui API. Basically, you can replace all usages of GLFW keyboard constants with appropriate ImGui versions.
- Use
ImGui.getIO().getFonts().setFreeTypeRenderer(true);
to enable FreeType renderer. STB_TrueType will be used by default.
List of changes ๐
Major
- Binding Generator API by @SpaiR in #240
- Add missing ImGui.TableGetSortSpecs API (and related objects) by @ultraq in #246
- Dear ImGui 1.87 by @SpaiR in #252
- FreeType is a toggleable option which is disabled by default by @SpaiR in #254
Minor
- Refactor GenerateAst task by @SpaiR in #243
- Ast generator stores more info by @SpaiR in #245
- Add setup-gradle action by @SpaiR in #255
Updated dependencies
Major
- Dear ImGui from 1.86 to 1.87
- ImPlot from 0.12 to 0.13
Minor
New Contributors ๐
Full Changelog: v1.86.12...v1.87.0