github clockworklabs/SpacetimeDB v2.0.2
Release v2.0.2

7 hours ago

SpacetimeDB v2.0.2

A bug fix and quality-of-life release following the 2.0 launch. This release focuses on CLI improvements, durability tuning, and documentation fixes.

Bug fixes

  • TypeScript: fix table schema wire name lookup crash. The TypeScript SDK was using PascalCase accessor names for wire protocol lookups, causing crashes when case conversion was enabled. (#4449)
  • spacetime dev: fix file watcher ignoring --module-path. When --module-path was set via CLI flag or spacetime.json, the file watcher still watched the default directory instead. (#4464)
  • spacetime dev: better error when module directory does not exist. Previously showed a confusing "could not detect language" error. Now shows the actual missing path. (#4467)
  • Fix "Press any key to exit" in templates. The prompt said "any key" but actually required Enter. Updated text and logic to match. (#4468)
  • Don't save source_config to spacetime.json. Internal build configuration was being persisted to the user-facing config file. (#4422, #4423)

Performance

  • Reduce local durability fsync interval to 10ms (down from misconfigured 500ms default), improving confirmed reads latency for local (non-replicated) databases. (#4466, #4420)
  • C# SDK: ArrayPool for row iteration buffers. RawTableIterBase.Enumerator now rents from ArrayPool<byte>.Shared instead of allocating a fresh byte[] per step, significantly reducing GC pressure. (#4385)

Documentation

  • Correct unique indexes in cheat sheet to use filter, not find. (#4452)
  • Correct "table" to "view" in Zen of SpacetimeDB. (#4434)
  • Update C# docs with List<T> returns and IEnumerable<T> examples. (#4392)
  • Fix AI assistant rules links in llms.txt. (#4430)
  • Add ARM M-series CPU note in benchmark readme. (#4426)
  • Add schedule name correction for LLM rules. (#4370)
  • Fix Spacerace button and rename nav item to Referrals. (#4458, #4477)

What's Changed

Full Changelog: v2.0.1...v2.0.2

Don't miss a new SpacetimeDB release

NewReleases is sending notifications on new releases.