5.0.0
-
Note: This package no longer supports 32-bit architectures. It assumes 64-bit.
-
[BREAKING CHANGE] Experimental WinRT APIs are now removed, in favor of the new
windows_*packages (see https://win32.pub for more information) 🎉 -
[BREAKING CHANGE]
Finalizeris now attached to COM objects. Therefore, you no longer need to call.release()to decrement the reference count, becauseFinalizerwill do it for you when they go out of scope (#691).Note: Calling
.release()withFinalizerattached may result in use after free and cause the process to crashNote: If you're manually managing the lifetime of the object, you need to call
.release()to decrement the reference count -
Add Windows metadata interfaces (
IMetaData*) -
Fixed memory leak in
convertToHString -
Upgrade to Dart 3 and add class modifiers to
Structsubclasses -
Added
detachmethod toIUnknown, which detaches the object fromFinalizerif you want to manually manage the lifetime of the object yourself (#677)