Update dependency GirCore.Adw-1 to 0.6.2 #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/gircore.adw-1-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.5.0
->0.6.2
Release Notes
gircore/gir.core (GirCore.Adw-1)
v0.6.2
This is a follow up release to preview.1. Please be aware that this release includes several breaking changes.
The release 0.6.0 / 0.6.1 were skipped as there were problems with the publishing of the nugets:
GObject-2.0.Integration
package had an empty symbol package which resulted in an upload error.The partially uploaded packages got unlisted. This is the reason why this release has the version number 0.6.2.
Noteworthy
Since 0.6.0-preview.1
GObject.Object
instantiation process. Those changes remove the reflection code for object instantiation and subclassing. This brings NativeAOT support a lot closer.Gdk.Pixbuf
tend to reference large portions of native memory.0.6.0-preview.1
INotifyPropertyChanged
onGObject.Object
was removed.Notify
/Unnotify
method which simplifies registration for property specific notifications. For details see the FAQ.long
datatype on windows is now always 32 bit. On unix it corresponds to 64 / 32 bit depending on the system architecture. In earlier releases it was always 64 bit which was only correct for 64 bit unix systems.gsize
is now equivalent tonint
. In earlier releases it was equal tolong
which was wrong on 32 bit based systems.Dispose
was called. Now memory pressure is released automatically for records. The feature is not yet implemented for classes and will be part the full 0.6.0 release.dotnet tool
.Breaking changes
Changed public APIs
GLib.IHandle
got removedGObject.IObject
got removedGObject.Object
new primary constructor requires aObjectHandle
.protected
constructors usingConstructArgument[]
orIntPtr
got removed.GObject.Object
methodprotected virtual void Initialize()
got removed. To execute instance initialization either use a custom constructor or customObjectHandle
.GdkPixbuf.PixbufLoader.FromBytes
got removed as it was a purely cosmetic helper function which is not available as native code. The following code shows the corresponding code to recreate the original behavior:Subclass changes
To implement reflection free instantiation and subclassing the data which the reflection based code retrieved during runtime must be available during compile time to register the class with the GObject typesystem. This is done automatically for all classes which are part of the GirCore nuget packages. If custom classes inherit from some
GObject.Object
this code must be written otherwise the new class is not properly registered with the GObject typesystem.The boiler plate code needed to properly register a class can be completly avoided if the new nuget package GObject-2.0.Integration is used. This package provides a source generator which generates the needed code if the
SubclassAttribute
is set on the custom GObject subclass. Please see the following sample and refer to the FAQ:What's Changed
New Contributors
Full Changelog: https://github.com/gircore/gir.core/compare/0.5.0...0.6.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Checkout
From your project repository, check out a new branch and test the changes.