v1.0.1
clockworklabs/SpacetimeDBv1.0.1Mar 24, 2025by jdetter
AI Summary
A collection of bugfixes on top of 1.0.0, fixing primary key handling in TypeScript, CLI SQL commands, and OIDC JWT parsing.
Key Highlights
- Fixed primary keys in generated TypeScript code
- Fixed SQL update and delete exceptions
- Fixed OIDC JWT handling (audience as string)
New Features
- Primary key fixes
- SQL fixes
- OIDC fixes
Full Release Notes
# Release 1.0.1 This is a collection of small bugfixes on top of 1.0.0. Thank you to everyone who reported issues and helped us hunt these down! :tada: In particular, we fixed an issue with primary keys not working properly in generated typescript code. Among other issues reported in Discord and elsewhere by our wonderful users, we fixed these: - [--build-options doesn't seem to work](<https://github.com/clockworklabs/SpacetimeDB/issues/2347>) - [`Identity` and `ConnectionId` should implement `IComparable`](<https://github.com/clockworklabs/SpacetimeDB/issues/2348>) - [CLI - Fix: SQL `update` and `delete` are throwing exceptions](<https://github.com/clockworklabs/SpacetimeDB/issues/2358>) - [Remove row deduplication in incremental update](<https://github.com/clockworklabs/SpacetimeDB/issues/2397>) - [Bug on generated typescript from c# module](<https://github.com/clockworklabs/SpacetimeDB/issues/2427>) - [OIDC JWT handling: accept tokens where `aud` is a string, rather than an array](<https://github.com/clockworklabs/SpacetimeDB/issues/2458>) - [alpine linux install, no elf download](<https://github.com/clockworklabs/SpacetimeDB/issues/2415>) ## What's Changed * sdk: Client ping on idle connections by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/2309 * Fix self-replace on windows by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2294 * hacky auth check for database creation. by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/2308 * Update Rust client quickstart example to match tutorial document by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/2310 * Removed the EULA check in the CLI by @cloutiertyler in https://github.com/clockworklabs/SpacetimeDB/pull/2315 * Add dockerfile for cli by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2312 * Install dotnet-sdk-8 instead of 9 in Dockerfile by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2323 * Update `insert` docs to reflect actual behavior on set-semantic duplicates by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/2322 * Update comment to reflect the new internals of the subscription api by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/2313 * Add link to documentation of SEQUENCES by @mamcx in https://github.com/clockworklabs/SpacetimeDB/pull/2321 * Add missing LICENSE by @mamcx in https://github.com/clockworklabs/SpacetimeDB/pull/2319 * test: set semantics in datastore by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/2324 * Bump Rust and C# package versions to 1.0.0 by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2283 * Print a message with a shell line to add bindir to PATH by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2327 * set names atomic by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/2325 * Minor updates to the Rust client quickstart by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/2318 * Remove errant backslash that got into the 'please add to path' message by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2333 * commitlog: Use `fdatasync` by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/2338 * This works on both arm and x86 by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/2337 * Post Release Fixes by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/2330 * handle offset index empty by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/2344 * Fix quickstart link by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/2346 * Add @jdetter back to CLI codeowners by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2350 * CLI - Fix helptext for `--build-options` by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2349 * Update bytes_sent_to_clients when merging metrics by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/2352 * Add readmes to all implementation crates specifying that they do no offer stable interfaces by @mamcx in https://github.com/clockworklabs/SpacetimeDB/pull/2320 * Support RFC 3339 timestamp values in sql by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/2242 * Implements `IComparable` for `Identity` and `ConnectionId` by @rekhoff in https://github.com/clockworklabs/SpacetimeDB/pull/2354 * Update README.md by @cloutiertyler in https://github.com/clockworklabs/SpacetimeDB/pull/2361 * Clarify what is a valid module name by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2386 * CLI - Fix `sql --interactive` case where returned rows are 0 by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2359 * Make the `tools/merge-docker-images.sh` script more generic by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2334 * CI - Only tag extra docker images on tag refs by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2335 * fix: bag semantics for joins by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/2398 * Bump versions to 1.0.1 by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2431 * update install instructions in readme by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/2435 * Fix subs when clients use variying compression by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/2434 * Fix outdated advice in `getrandom` warning by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/2444 * Implement IEquatable<Self> for all [SpacetimeDB.Type]s by @kazimuth in https://github.com/clockworklabs/SpacetimeDB/pull/2396 * When generating for typescript, convert the primary key to camel case. by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/2409 * Allow a single string to be passed as the audience by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/2460 * Bring over Rust module doc fixes from the C# module docs by @kazimuth in https://github.com/clockworklabs/SpacetimeDB/pull/2360 * Add install from source instructions to README by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/2443 * CI - Fix docker jobs failing by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/2471 * Close scheduler on module exit by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2477 * commitlog: Fix open flags for read-only offset index by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/2468 * Allow databases from 1.0.1 to be run on 1.0.0 by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2472 * smoketests: Test database deletion by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/2480 * Build for musl by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/2418 ## New Contributors * @rekhoff made their first contribution in https://github.com/clockworklabs/SpacetimeDB/pull/2354 **Full Changelog**: https://github.com/clockworklabs/SpacetimeDB/compare/v1.0.0...v1.0.1