v2.1.0
clockworklabs/SpacetimeDBv2.1.0Mar 24, 2026by jdetter
AI Summary
Release v2.1.0 brings long-awaited Rust client Wasm support enabling browser-based applications, along with C++ Modules and Unreal SDK updates for full SpacetimeDB 2.0 compatibility. This release also includes several bug fixes for subscription handling and view updates.
Key Highlights
- Rust client SDK now compiles and runs in the browser via Wasm
- C++ module bindings updated for SpacetimeDB 2.0 compatibility
- Unreal SDK updated to match latest APIs and codegen
- Fix v2 client disconnects dropping subscriptions for other v2 clients
- Fix useTable isReady reverting to false after first row event
New Features
- Rust client Wasm support for browser-based applications
- C++ module bindings updated for 2.0 compatibility
- Unreal SDK updated to match latest APIs
- PostgreSQL pgwire updated to version 0.37
- Added metric for number of module instances
- Confirmed reads made default for TypeScript connector
Full Release Notes
Another week, another reason to celebrate 🎉 2.1.0 is here, and it's bringing some long-awaited features alongside a handful of satisfying bug squashes!
## Features
### 🦀 Rust client Wasm support
This one's been a long time coming. The Rust client SDK can now compile and run in the browser thanks to resolved Wasm compilation issues. If you've been waiting to build browser-based apps with the Rust SDK, your wait is over https://github.com/clockworklabs/SpacetimeDB/pull/4183
### 🎮 C++ Modules + Unreal SDK
Unreal developers, rejoice — both the C++ module bindings and the Unreal SDK have been brought up to speed with SpacetimeDB 2.0's APIs and codegen. Full compatibility, no more workarounds.
- Update C++ bindings for 2.0 compatibility <https://github.com/clockworklabs/SpacetimeDB/pull/4461>
- Update Unreal SDK to match latest APIs and codegen <https://github.com/clockworklabs/SpacetimeDB/pull/4497>
## Bug Fixes
There are several bug fixes in this release:
* Fix useTable isReady reverting to false after first row event by https://github.com/clockworklabs/SpacetimeDB/pull/4580
* Fix v2 client disconnects dropping subscriptions for other v2 clients https://github.com/clockworklabs/SpacetimeDB/pull/4648
If you experience any new issues with this release either file an issue on GitHub or drop into our Discord — we're always around.
We'll see you again soon for the next release 😉
## What's Changed
* Tidy up old code from the benchmark by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/4616
* Update docs for primary key views by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4620
* Fix useTable isReady reverting to false after first row event by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4580
* `spacetime.json` updates by @cloutiertyler in https://github.com/clockworklabs/SpacetimeDB/pull/4504
* [Rust] Extend view table accessors with `count` by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4638
* Refresh views during one-shot schedule cleanup by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4639
* commitlog: Resumption of sealed commitlog by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/4650
* `impl Deserialize for Packed + SumTag` by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/4653
* Fix v2 client disconnects dropping subscriptions for other v2 clients by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4648
* Fix anonymous view subscription cleanup by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4646
* Correct stale C++ quickstart links in README by @leosat in https://github.com/clockworklabs/SpacetimeDB/pull/4633
* Update Unreal SDK to websocket 2.0 by @JasonAtClockwork in https://github.com/clockworklabs/SpacetimeDB/pull/4497
* Include full error chain in procedure HTTP request errors by @Shiven0504 in https://github.com/clockworklabs/SpacetimeDB/pull/4610
* fix: Replace unwrap with proper error handling in set_domains handler by @Shiven0504 in https://github.com/clockworklabs/SpacetimeDB/pull/4643
* fix(docs): Fix back to top button display by @clockwork-tien in https://github.com/clockworklabs/SpacetimeDB/pull/4670
* Use column names instead of accessors for ts queries by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/4627
* feat: update pgwire to 0.37 by @sunng87 in https://github.com/clockworklabs/SpacetimeDB/pull/3910
* Remove legacy SQL code by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4628
* Allow obtaining a `AnonymousViewContext` from a `ViewContext` by @kistz in https://github.com/clockworklabs/SpacetimeDB/pull/4671
* add `Deserialize::validate` for non-allocating validation by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/4493
* cleanup `TypedIndexPointIter` & ditch `Direct` variant by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/4654
* fix(csharp-codegen): escape C# reserved keywords in generated identifiers by @stablegenius49 in https://github.com/clockworklabs/SpacetimeDB/pull/4535
* Template README + template.json generation tool by @bradleyshep in https://github.com/clockworklabs/SpacetimeDB/pull/4570
* Add a metric for the number of module instances by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/4674
* Add `ConsumeEntityEvent` to Blackholio C++ and C# modules by @rekhoff in https://github.com/clockworklabs/SpacetimeDB/pull/4675
* Add more info to segment file errors by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/4680
* CI - Disable PR approval check by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/4683
* Updated Query with Indexes to be code-accurate by @rekhoff in https://github.com/clockworklabs/SpacetimeDB/pull/4165
* Bump versions to 2.1.0 by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/4681
* core: Keep a reordering window in durability worker by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/4677
* Make confirmed reads the default for the ts connector by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4682
* docs: Fix incorrect Math.random() note in reducer context by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4667
* Fix `spacetime dev` ignoring top-level module-path for generate entries by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4656
* `{Multi,Unique}Map` -> `{/Unique}BTreeIndex` + `Btree` -> `BTree` by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/4655
* Keynote-2 sqlite fixes by @bradleyshep in https://github.com/clockworklabs/SpacetimeDB/pull/4678
* wasm support for Rust SDK by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/4183
## New Contributors
* @leosat made their first contribution in https://github.com/clockworklabs/SpacetimeDB/pull/4633
* @stablegenius49 made their first contribution in https://github.com/clockworklabs/SpacetimeDB/pull/4535
**Full Changelog**: https://github.com/clockworklabs/SpacetimeDB/compare/v2.0.5...v2.1.0