Version 0.41 is out, with lots of small improvements:
-
Wrapped.isValid can now be used to determine if an object has been
released, this is the case when you might have called the
queueFree
method, use this on those objects to check if the object
has alreayd been released or not.This helps alleviate the issue discussed in:
#416Miguel
-
New helper method Variant.typeName (GType) which can be used to get
the underlying type name (Miguel) -
Add support for Swift 5.10 on Windows, which had a handful of
breaking issues (Mikhail Tishin) -
Upgraded Swift Syntax to a newer version (Mikhail Tishin)
-
GDictionary now supports
debugDescription
which will return the
dictionary contents (Miguel) -
Updates the documentation to reflect some recent API changes
(Mikhail Tishin, Miguel). -
We no longer depend on Foundation to build SwiftGodot, which should
help users that do not want to pay the price of using it. The
downside is that we lost thePackedByteArray.asData()
method (as
Data is defined in Foundation). But in exchange, we got an
asBytes
that reutnrs a byte array, and two unsafewith*
methods
that can be used to access the underlying buffer directly) - Mikhail
Tishin and Miguel. -
Packed Byte, Int32, Int64, Double and Float can now be initialized
from arrays of those types without using an intermediary GArray of
Variants (Miguel) -
Now we have a static library of SwiftGodot in the build for those
that need it (Mikhail Tishin) -
Fixes a leak in returned VariatnCollections (Miguel).