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 #4469- Fix publishing in directories with spaces by @drogus in #4453
- CLI - preserve leading
..in --out-dir paths by @clockwork-labs-bot in #4431 - Remove security warning from 00500-schedule-tables.md by @taotien in #4463
- C# smoketest for
IQueryviews by @joshua-spacetime in #4391 - [C#] Improve error messages for Views by @rekhoff in #4435
- Add PlanetScale configuration details to keynote README & DEVELOP by @bradleyshep in #4474
- Fix missing word 'time' in ScheduleAt tutorial docs by @clockwork-labs-bot in #4490
- Version upgrade 2.0.3 by @jdetter in #4489
- keynote-2: alpha -> 1.5, withConfirmedReads(true), remove warmup by @Centril in #4492
- Update C++ module bindings to RawModuleDefV10 by @JasonAtClockwork in #4461
- LLM benchmark tool updates by @bradleyshep in #4413
- Add missing TypeScript example in migration guide by @clockwork-labs-bot in #4508
- docs: document how to access module owner via init reducer by @clockwork-labs-bot in #4315
- Fix
useTableisReadystuck onfalsedue to stale snapshot cache by @clockwork-labs-bot in #4499 - fix index truncate edge cases by @Shubham8287 in #4501
- Upgrade prompt is skipped when
-yis passed by @jdetter in #4511 - [docs] Corrected
callcase and updatedout-dirto match part 3 by @rekhoff in #4513 - [TS] Fix toCamelCase by @coolreader18 in #4523
- Fix a misprint in the self-hosting docs by @bfops in #4524
- Use prepared statements for postgres keynote benchmark by @joshua-spacetime in #4522
- Add --level flag to spacetime logs for filtering by log level by @clockwork-labs-bot in #4362
- fix: fix useSpacetimeDBQuery returns untyped rows for TanStack Start by @clockwork-tien in #4488
New Contributors
Full Changelog: v2.0.2...v2.0.3