Releases: migueldeicaza/SwiftGodot
0.22.0
Fixes to the generation of built-in structures - we were producing
fields that did not exist (Mikhail)
Add missing scaling operators for vectors (Mikhail)
Virtual methods are now invoked with the actual class they represent,
not their base class - this surfaced in the 'event' argument to
Node._input which would be a general purpose InputEvent, and not the
most precise event (Miguel)
Drops the unsafe linkerSettings - this does not seem used anymore, it
is an artifact of bygone times, and should simplify the adoption of
SwiftGodot (Padraig)
The shared property on singletons is now surfaced, so you can access
base class features (in particular uses of ProjectSettings might want
to access properties from Object) - Miguel, Padraig
CharacterBody2D.moveAndSlide now has a discardableReturns.
v0.21
API:
- Enumeration values now drop reduntant parts of their prefix (Pádraig Ó Cinnéide)
Onboarding:
- It is no longer necessary to import both SwiftGodot and
SwiftGodotMacros when consuming the library, nor any need for custom
dependency incarnations in your Package.swift file, it just now
works out of the box, and also works with both Xcode and SwiftPM (Mikhail Tishin)
Windows:
-
More progress towards windows support, but we do not support Macros,
and currently you must copy all the Swift runtime libraries to the
bin directory yourself (Mikhail Tishin) -
Do not expose internal symbols, reducing the public surface API, and
making it possible for Windows to compile the result (Miguel)
Bug fixes:
- Couple of crashes were fixed (Mikhail Tishin, Miguel)
Documentation on GitHub:
- The documentation site is now surfaced in a GitHub friendly way
(Dave Verwer)
Fundamentals:
-
Fixed every single compilation warning that had creeped up into the
codebase because we were running with warnings turned off. And many
of those pointed to real problems (Miguel) -
Documentation touchups (Joseph Heck)
v0.20
v0.19
Convenience macros to register Godot classes and surface properties and methods
is now available.
This release uses the new Macro facilities in Swift 5.9 to remove a
lot of boilerplate code. Now creating a Godot class is much simpler
you only use a @Godot
attribute on your class, and use the @Export
and @Callable
attributes on it to surface variables/properties and
methods.
Godot 4.1 release
The binding now supports Godot 4.1 which introduced a breaking change
to the gateway API.
v0.17
Fixes Float decoding from a Variant
v0.16
Fixes wrapping Godot objects into Variants
v0.15
Marshaling bug fixes on a few types
v0.14
Null objects create nil Variants, rather than crashing
v0.13: Merge pull request #78 from seivan/patch-1
Fixes the marshaling of Variant arguments which were previously
producing unexpected results because they were accessing the wrong
address.
Addresses a Godot problem where Floats need to be passed as Doubles
when calling the bridge API.