Skip to content

Release 0.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@jwharm jwharm released this 05 Mar 22:45
· 973 commits to main since this release
6d41b6f

This release introduces a number of changes and improvements:

  • Many packages have been renamed: org.gtk has been changed to org.gnome and org.gstreamer is now org.freedesktop.gstreamer.
  • The "gtk4" module has been renamed to "gtk".
  • The version numbers are now primarily based on the version of the native libraries, with the java-gi version appended at the end.
  • All Java proxy class instances are now cached, so custom fields and state is preserved as long as the native object is alive.
  • Ref-counting has been completely rewritten, and is now based on GObject toggle references (thanks to @badcel for the explanation)
  • Added support for virtual methods.
  • All typeclass definitions are now generated as nested inner classes of the type instance, and inherit from the parent typeclass.
  • Added convenience functions to easily register a Java class as a new GType.
  • Added support for composite template classes.

Full Changelog: v0.3...v0.4