Skip to content

Releases: flametime/Godot-SpacetimeDB-SDK

v0.3.1

22 May 09:24
3afce20

Choose a tag to compare

small update with various fixes.

What's Changed

  • handling game quit better and gracefully close the connection and disconnect signal fix by @xDovos in #116
  • windows export fix, url ending cleanup fix by @xDovos in #117
  • version bump by @xDovos in #118
  • module stdb version bump by @xDovos in #120
  • query view return type parsing fix by @xDovos in #121
  • connection_id parsing fix by @xDovos in #122
  • vec_U8 parsed into PackedByteArray by @xDovos in #123
  • reducer/procedure name fix, other small fixes by @xDovos in #127
  • Stdb v2 protocol merge to main by @xDovos in #128

Full Changelog: v0.3...v0.3.1

v0.3

26 Apr 11:50
0c813e1

Choose a tag to compare

The plugin now supports the V2 protocol fully.

  • subscriptions
  • one time queries
  • reducer
  • procedure (typed returns supported)
  • tables
  • event tables
  • views (Vec, Opt and Query)
    • View onUpdate callbacks for return types with PK
    • Views just look like tables and are handled 1:1 to tables

Technical notes:

  • the BSATN Deserializer got rewritten
  • the Schema parser got rewritten
  • the codegen got rewritten
  • Subscription, Reducer and Procedure callbacks got rewritten and improoved

What's Changed

New Contributors

Full Changelog: v0.2.5...v0.3

v0.2.5

26 Jan 22:46
72f82ab

Choose a tag to compare

plugin UI changes:

  • Alias for module names
    • this means your module can have the name "module89328942983" but be accessed in your code as "SpacetimeDB.Main"
    • super useful once inter module communication is out.
  • More clear multi-module support with codegen config per module
image

What's Changed

  • bsatn Deserializer Array[Vector2I] parsing fix by @xDovos in #89
  • process all changes from all tables before calling callbacks. by @xDovos in #90
  • Plugin UI improovements by @xDovos in #91
  • UI tweaks and odd read-only dictionary fix by @NGAndersson in #92
  • UI tweaks and odd read-only dictionary fix by @NGAndersson in #93
  • version bump 0.2.5 by @xDovos in #94

Full Changelog: v0.2.4...v0.2.5

v0.2.4

14 Jan 18:58
4e30618

Choose a tag to compare

What's Changed

  • No Pk Support by not saving inside the local DB by @xDovos in #86
    • tables and views without primary_key supported: only insert/delete callback. no local db save of the data.
  • GZIP Decompressor buffer overflow fix by @xDovos in #87
  • version bump, readme update and whitespace by @xDovos in #88

Full Changelog: v0.2.3...v0.2.4

v0.2.3

13 Jan 19:49
a3ef713

Choose a tag to compare

What's Changed

  • Callback .is_valid() check before calling by @xDovos in #78
  • Fixed arrays of GD-native array-like types by @NGAndersson in #79
  • Added metadata for Option variables' underlying type by @NGAndersson in #80
  • Remove implicitly inferred static typing from generated code by @NGAndersson in #81
  • Don't try to remove newlines at the end of generated enum files by @NGAndersson in #82
  • hiding tables no longer also hides the type. same if the table has no PK by @xDovos in #83
  • Performance Monitors Module specific and toggleble in the Connection Options by @xDovos in #84
  • push version to 0.2.3 by @xDovos in #85

Full Changelog: v0.2.2...v0.2.3

v0.2.2

15 Dec 20:41
1faa92f

Choose a tag to compare

What's Changed

  • Support for view return Option<> and Query<> by @xDovos in #73
  • update readme by @xDovos in #74
  • Always read fallback schema types by @NGAndersson in #75
  • LocalDB table change signals now only emit after all rows are changed. by @xDovos in #77

Full Changelog: Release...v0.2.2

v0.2.1

10 Dec 19:28
5b3e926

Choose a tag to compare

just the zip file for the SpacetimeDB plugin folder for easier access.

  • unzip it and move it in the addons folder.
  • activate the plugin. restart editor
  • generate your types. restart editor
  • look if the SpacetimeDB autoload was added correctly. add it manually if needed