Skip to content

0.5.0

Latest
Compare
Choose a tag to compare
@badcel badcel released this 08 May 19:18
· 10 commits to main since this release
386b22a

This release is the final version of the 0.5.0 release. This is a follow up release to preview.4.

Notworthy

Since 0.5.0-preview.4

  • All bindings were updated to support the GNOME SDK version 46. Among other things this adds support for GTK 4.14 and libadwaita 1.5. (#1052)
  • The libraries get build explicitly for .NET 8 (#1038). Remark: If support for .NET 6 / 7 is dropped those versions will get droped from GirCore with the following release, too
  • preview.4 added support for typed records but was missing a parameterless constructors. (#1002 )
  • Support for foreign records was added (#1010 )
  • Support for untyped records was added (#1013)
  • Support for untyped foreign records was added (#1029)
  • New samples for GTK were created by @kashifsoofi (#1022, #1024)
  • A bug was fixed if an object was not freed on main thread (#1045)
  • A bug was fixed if an interface was passed as a parameter into a method / function (#1055)
  • The homepage got updated with new content and a new docfx version (#1039, #1040)

0.5.0-preview.4

  • This release adds support for typed records constructors, methods, functions and fields. Previously in the public record API there was only the record type available without any possibility to access it's data. If you used some custom code to access this data please verify if you can replace this code with the newly available API. In general the available API surface should have improved significantly. (#965, #985, #986, #994)
  • The generation of typed records lead to several API breaks in the GObject namespace especially for the class GObject.Value. Those manually written methods originated from the very beginning of the project which were leaning into the direction to divert a lot farther from the original API. API breaks happened in other namespaces, too as manually written bindings got replaced by generated bindings which often have a slightly different method signature. (#981, #982, #991)
  • Enumerations got rebased on int instead of long to match their C definition. (#989)
  • More bindings for async methods (#993)

0.5.0-preview.3

  • Update to the latest Gnome SDK version 45. This includes GTK 4.12 and Libadwaita 1.4
  • Improved API surface for opaque records which are not registered in the GObject type system.

0.5.0-preview.2

  • More bindings for async methods (#953).
  • The parameterless Gio.Application.Run method got removed as it is not part of the official Gio Api. Additionally Gio.Application.RunWithSynchronizationContext now has a parameter to provide arguments. To achieve the original behaviour just pass null as a parameter (#956).
  • Fixed a bug introduced in preview.1 which caused an exception if an opaque typed record was used in a GObject.Value (#959).

0.5.0-preview.1

  • The Gtk-4.0.DependencyInjection project was removed as there is not one way to do dependency injection right. Every project needs to find it's own solution.
  • Improved API surface for opaque records which are registered as boxed types with the GObject type system.

What's Changed since 0.5.0-preview.4

Full Changelog since 0.4.0: 0.4.0...0.5.0