Skip to content

Releases: migueldeicaza/SwiftGodot

0.22.0

16 Oct 20:09
Compare
Choose a tag to compare

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

10 Oct 18:22
Compare
Choose a tag to compare

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

30 Sep 20:09
Compare
Choose a tag to compare

Additional macros to simplify your workflow, updated tutorials,
Windows build fixes, dropped the '.shared' idiom in most static
classes to reduce noise in the API, fixes a crash, @godot macro fixes.

v0.19

26 Sep 21:22
Compare
Choose a tag to compare

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

19 Sep 19:32
Compare
Choose a tag to compare

The binding now supports Godot 4.1 which introduced a breaking change
to the gateway API.

v0.17

12 Jun 19:47
Compare
Choose a tag to compare

Fixes Float decoding from a Variant

v0.16

12 Jun 04:03
Compare
Choose a tag to compare

Fixes wrapping Godot objects into Variants

v0.15

11 Jun 14:16
Compare
Choose a tag to compare

Marshaling bug fixes on a few types

v0.14

08 Jun 22:13
Compare
Choose a tag to compare

Null objects create nil Variants, rather than crashing

v0.13: Merge pull request #78 from seivan/patch-1

08 Jun 21:56
4cb39d6
Compare
Choose a tag to compare

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.