Skip to content

0.45: remove GodotObject protocol (#525)

Latest
Compare
Choose a tag to compare
@migueldeicaza migueldeicaza released this 20 Aug 17:44
· 73 commits to main since this release
f521910

SwiftGodot 0.45 is out!

This release works with both Godot 4.2 and Godot 4.3, but does not
surface yet any of the Godot 4.3 features, that is a patch I will
merge shortly after this release goes out.

Changes in this release:

  • Major upgrade to how we manage the lifecyle of object, which fixes
    some long-standing memory leaks in SwiftGodot, I did the initial
    pass, but Rob Mayoff found and fixed some hartd scenarios with
    Variants - and they should now all be handled correctly. Thank you
    Rob! (the major changes did not have a bug logged, but the commit
    is 738579a, the other fixes are for
    #513, #524).

  • PropInfo implements CustomDebugStringConvertible (miguel).

  • Arrays*.resize now have a @discardableResult and Array has it for
    append and push_back as well (miguel).

  • Arrays now conform to RandomAccessCollection (miguel)

  • Various warning fixes by Rob Mayoff (Fixes #516 and #520 for Xcode
    16 beta4)

  • Rob Mayoff also fixed a crash on startup on MacOS when launching the
    app (Fixes #517)

  • We now reference the new home for a few dependencies, (Rob Mayoff,
    #518)

  • Eliminated the GodotObject protocol that provided no value (Rob
    Mayoff, #525).