v2.0.3
clockworklabs/SpacetimeDBv2.0.3Mar 4, 2026by bfops
AI Summary
v2.0.3 delivers bug fixes and QoL improvements based on user feedback, including log level filtering, React SDK fixes, and C# SDK error message improvements. The release focuses on improving developer experience across multiple SDKs.
Key Highlights
- Added --level flag to spacetime logs for filtering by severity
- Fixed React useTable isReady stuck on false
- Fixed TanStack Start useSpacetimeDBQuery returning untyped rows
- Improved C# SDK error messages for Views
New Features
- Log level filtering with --level flag (warn, info, exact match)
- Improved latency for durable commit persistence
- Better error messages for C# View queries
- Fix toCamelCase conversion in TypeScript
- CLI preserves leading .. in --out-dir paths
Full Release Notes
# SpacetimeDB v2.0.3 We've been getting amazing feedback on our 2.0 release. Today we have a release of small bugfixes and QoL improvements in the CLI and SDK based on some of what we've been hearing. More to come soon! ## New features - **`spacetime logs --level` filtering.** Filter logs by severity with `--level warn` (that level and above) or `--level info --level-exact` (exact match only). Works with both text and JSON output. (#4362) ## Bug fixes - We have improved the latency for making commits durably persisted - React: fix `useTable` `isReady` stuck on `false`. - TanStack Start: fix `useSpacetimeDBQuery` returning untyped rows. - TypeScript: fix `toCamelCase` conversion. - Fix index truncate edge cases. - CLI: preserve leading `..` in `--out-dir` paths. - CLI: fix publishing in directories with spaces. - CLI: skip upgrade prompt when `-y` is passed. ## C# SDK - **Improve error messages for Views.** Better diagnostics when view queries fail in the C# SDK. (#4435) ## What's Changed * `spacetime dev` - Print feedback when client process exits by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4469 * Fix publishing in directories with spaces by @drogus in https://github.com/clockworklabs/SpacetimeDB/pull/4453 * CLI - preserve leading `..` in --out-dir paths by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4431 * Remove security warning from 00500-schedule-tables.md by @taotien in https://github.com/clockworklabs/SpacetimeDB/pull/4463 * C# smoketest for `IQuery` views by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4391 * [C#] Improve error messages for Views by @rekhoff in https://github.com/clockworklabs/SpacetimeDB/pull/4435 * Add PlanetScale configuration details to keynote README & DEVELOP by @bradleyshep in https://github.com/clockworklabs/SpacetimeDB/pull/4474 * Fix missing word 'time' in ScheduleAt tutorial docs by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4490 * Version upgrade 2.0.3 by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/4489 * keynote-2: alpha -> 1.5, withConfirmedReads(true), remove warmup by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/4492 * Update C++ module bindings to RawModuleDefV10 by @JasonAtClockwork in https://github.com/clockworklabs/SpacetimeDB/pull/4461 * LLM benchmark tool updates by @bradleyshep in https://github.com/clockworklabs/SpacetimeDB/pull/4413 * Add missing TypeScript example in migration guide by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4508 * docs: document how to access module owner via init reducer by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4315 * Fix `useTable` `isReady` stuck on `false` due to stale snapshot cache by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4499 * fix index truncate edge cases by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/4501 * Upgrade prompt is skipped when `-y` is passed by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/4511 * [docs] Corrected `call` case and updated `out-dir` to match part 3 by @rekhoff in https://github.com/clockworklabs/SpacetimeDB/pull/4513 * [TS] Fix toCamelCase by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/4523 * Fix a misprint in the self-hosting docs by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/4524 * Use prepared statements for postgres keynote benchmark by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/4522 * Add --level flag to spacetime logs for filtering by log level by @clockwork-labs-bot in https://github.com/clockworklabs/SpacetimeDB/pull/4362 * fix: fix useSpacetimeDBQuery returns untyped rows for TanStack Start by @clockwork-tien in https://github.com/clockworklabs/SpacetimeDB/pull/4488 ## New Contributors * @taotien made their first contribution in https://github.com/clockworklabs/SpacetimeDB/pull/4463 **Full Changelog**: https://github.com/clockworklabs/SpacetimeDB/compare/v2.0.2...v2.0.3