Skip to content

0.10.0

Compare
Choose a tag to compare
@jwharm jwharm released this 13 May 20:26
· 331 commits to main since this release

What's Changed

Java-GI has now been upgraded to the latest version of the "Panama" Foreign Function & Memory API (JEP 454), that was released with OpenJDK 22. As a result, Java-GI doesn't depend on OpenJDK preview features any longer!

Additionally, the bindings were updated to the latest GNOME 46 release.

A number of other changes:

  • New Java classes were added for GList and GSList, that implement java.util.List so they are very easy to use.
  • Flag parameters have been changed from int constants to EnumSet. This means you pass flag parameters using Set.of(flag1, flag2, ...) instead of the custom or() and combined() methods that existed previously.
  • A number of fixes and improvements were applied to the Javadoc generator.
  • Method handles are now generated as final static fields, to allow inlining by the jit compiler, improving performance.
  • Native libraries are now loaded using the platform-native shared library loader (dlopen on Linux) so in many cases the Java library path doesn't need to be manually updated anymore.
  • Several bugs with memory management and caching were fixed. Thanks to @BwackNinja for the detailed reports.
  • Interface instances are now derived from TypeInstance instead of GObject (unless specified otherwise in the prerequisites).
  • The gircore/gir-files repository is now included as a git submodule.
  • The website was improved and uses a more modern theme.

Full Changelog: 0.9.2...0.10.0