Skip to content

0.9.1

Compare
Choose a tag to compare
@jwharm jwharm released this 07 Apr 21:04
· 222 commits to main since this release

This release is still based on OpenJDK 21 and GNOME 45. It contains bugfixes and a number of improvements.

Special thanks go to @pontaoski and @Tennessene for logging issues and testing fixes.

What's Changed

Fixes:

  • Fixed image URL prefixes in generated Javadoc.
  • Fixed allocating and accessing nested record types.
  • Fixed overriding protected methods in custom GObject-derived classes.
  • Fixed issues with generating boxed types, that prevented generating bindings for spice-client-glib.
  • Gtk class CustomLayout was removed. This type is not meant to be used in language bindings.
  • Removed all "...Private" types from the generated bindings again (this was a regression in 0.9.0).

Improvements:

  • Added constructors to record types, to replace the existing allocate methods.
  • Added constructor overloads without an Arena parameter, defaulting to Arena::ofAuto.
  • Added a test method to the Bitfield base class, to test if one or more flags are set; added a better Bitfield::toString as well.
  • Alias types now have a from method to "cast" an alias from its target type.

Minor enhancements:

  • Renamed GErrorException::getGError() to ::toGError(), the old method is marked deprecated
  • Better Javadoc descriptions for packages
  • Added support for Alias<MemorySegment> parameters (like GstClockID).

Full Changelog: 0.9.0...0.9.1

Please log a GitHub issue or join java-gi:matrix.org if you encounter problems with this release.