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 --levelfiltering. 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
useTableisReadystuck onfalse. - TanStack Start: fix
useSpacetimeDBQueryreturning untyped rows. - TypeScript: fix
toCamelCaseconversion. - Fix index truncate edge cases.
- CLI: preserve leading
..in--out-dirpaths. - CLI: fix publishing in directories with spaces.
- CLI: skip upgrade prompt when
-yis 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
IQueryviews 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
useTableisReadystuck onfalsedue 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
-yis passed by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/4511 - [docs] Corrected
callcase and updatedout-dirto 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
