v0.7.2-beta

clockworklabs/SpacetimeDBv0.7.2-betaNov 1, 2023by cloutiertyler

AI Summary

A 'Spooky' release adding the `spacetime upgrade` command and various performance improvements.

Key Highlights

  • Added `spacetime upgrade` command for easy version upgrades.
  • Switched rows to IndexMap for better performance.
  • Added multi-column indexes.
  • Improved metrics for transaction time and row operations.

New Features

  • Upgrade command
  • Multi-column indexes
  • Performance metrics enhancements

Full Release Notes

# v0.7.2 - SpacetimeDB Spooky Release! 🎃👻👻🪦👻🪦👻👻🎃 

We wanted to do a spooky Halloween release for you all with some tasty 🍬 treats 🍫  including the new `spacetime upgrade` command!

Check out out the other cool updates as well below! Hope you all have a happy Halloween and eat lots of candy!

## What's Changed
* Remove commented out code by @kulakowski in https://github.com/clockworklabs/SpacetimeDB/pull/444
* Switch rows to IndexMap by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/448
* lib: Don't panic in RelValueRef::get by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/450
* Follow-up incremental joins by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/437
* Use newtypes `ColId`, `TableId`, `IndexId`, `SequenceId` everywhere (*) by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/408
* `DataRef`: borrow for great perf by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/434
* Switch allocator to mimalloc for the DB CLI by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/447
* Replace hex Strings with Identity/Address where applicable by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/300
* Fix "identity not yet recieved" intermittent failure in tests by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/445
* Update/upgrade dependencies by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/266
* [Resubmit] vm: Make UPDATE actually update by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/454
* core: Fix commit log concurrency by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/465
* perf(461): Record metrics for rows [inserted|deleted] on commit by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/462
* perf(463): Add metric for the number of committed rows scanned by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/467
* chore: Add _cumulative suffix to counter metrics by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/474
* Use gh actions for benchmarks please by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/464
* Fix C# generics support by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/475
* Fix benchmarks please contributor check by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/479
* Ok NOW fix benchmarks please by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/480
* Fix benchmarks please 100% by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/481
* Improved Clairity of CI Names by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/455
* Simplify/deabstract module_host_actor and wasmer_module by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/417
* refactor(485): Label metrics with database address and reducer name by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/486
* perf(473): Add db address label to reducer queue length by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/489
* perf(468): Add metric counters for committed transactions and rollbacks by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/478
* Fix wasm-opt for C# modules by @RReverser in https://github.com/clockworklabs/SpacetimeDB/pull/482
* perf(470): Add metrics for transaction cpu and elapsed time by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/483
* Move optimizations from sql to vm by @mamcx in https://github.com/clockworklabs/SpacetimeDB/pull/484
* spacetimedb-data-structures: new crate + nstr! by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/491
* perf(469): Add metric for delayed transaction execution by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/488
* Version Upgrade to v0.7.2-beta by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/498
* Create multi-column indexes defined in modules by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/494
* perf(471): Add duration metrics for wasm abi calls by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/499
* perf(472): Add metric for index seeks and keys scanned by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/501


**Full Changelog**: https://github.com/clockworklabs/SpacetimeDB/compare/v0.7.1-beta-hotfix1...v0.7.2-beta