v0.8.1-beta
clockworklabs/SpacetimeDBv0.8.1-betaJan 19, 2024by jdetter
AI Summary
A minor release adding new CLI commands, improving logging, and enhancing query performance.
Key Highlights
- Remote server URL is now printed during `spacetime publish`.
- Testnet added to the default spacetime CLI config.
- New `spacetime local clear` command for clearing local databases.
- Subscription query performance optimizations.
- Logs now print to stdout instead of stderr.
New Features
- CLI enhancements (clear, config, logging)
- Performance optimizations for subscriptions
Full Release Notes
Our release 0.8.1 is available now! This minor release is the first release of the year for us and we're excited to show you all what we've been working on recently 🎉 As a reminder you can upgrade from the previous release with the `spacetime upgrade` command. If you are on macOS and you've installed through brew we recommend using `brew install clockworklabs/tap/spacetime` to upgrade. ## Highlights - Remote server URL is printed during `spacetime publish` - Testnet has been added to the default spacetime CLI config - `spacetime local clear` allows you to clear your local database without deleting the entire `~/.spacetime/` directory - `spacetime generate --delete-files ...` will also delete any files generated by SpacetimeDB that are no longer needed - Output directory used by `spacetime generate` creates the directory if it doesn't already exist - Subscription query performance optimizations - `spacetime logs ...` now prints to stdout instead of stderr ## What's Changed * Enable CI on merge group by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/655 * chore: Temporarily disable failing smoke tests by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/656 * Fixes for SpacetimeDB.Runtime package by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/654 * core: Remove unwraps from DatabaseInstanceContext by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/663 * Fix master commit benchmarks run by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/658 * refactor(subscriptions): Support returning either side of a join by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/639 * test: Build modules in release mode by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/672 * refactor(compiler): Swap the index and probe sides of an index join by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/674 * test(compiler): Optimizing index join with virtual probe table is no-op by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/675 * test(compiler): From index to inner join by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/676 * perf(623): Use row counts in query optimization by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/677 * Use associate type for tx by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/678 * Move `build_error_unique` to `locking_tx_datastore/mod.rs` by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/687 * core: Initialize the database context only once by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/664 * core: Remove index update when updating a database by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/686 * Print Remote Server During Publish by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/689 * Added Testnet to Default Configs by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/690 * Datastore: `Cow<'tx, ProductValue>` rather than `&'tx ProductValue`. by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/691 * Delete Files Flag for Generate Command by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/693 * `MutTxDatastore::table_name_from_id_mut_tx`: return `Cow<str>` by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/700 * Update to axum 0.7 by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/697 * spacetime local clear subcommand by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/702 * Inline typerefs by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/696 * Create output directory in `generate` if it doesn't exist by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/705 * Print logs to stdout instead of stderr by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/701 * fix(707): Collect table size metrics again by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/708 * fix(684): Reset max value metrics by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/709 * Lower log verbosity by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/703 * Try bumping actions/checkout to fix benchmarks please by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/710 * Callgrind benchmarks by @kazimuth in https://github.com/clockworklabs/SpacetimeDB/pull/619 * fix(683): Label table metrics with table name by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/712 * read tx implemented in datastore by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/679 * Fix benchmark actions by @kazimuth in https://github.com/clockworklabs/SpacetimeDB/pull/715 * chore: Remove unused metrics by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/717 * chore: Move table size metrics back into core by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/719 * chore: Disable query compilation metrics by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/720 * refactor(query): Remove query string as metrics label by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/721 * C# SDK tests by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/706 * fix: Reset max queue length and reducer wait time metrics by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/725 **Full Changelog**: https://github.com/clockworklabs/SpacetimeDB/compare/v0.8.0-beta...v0.8.1-beta