Release v1.11.1 - Bug Fixes + Performance Improvements
Hello again everyone! This is likely going to be our last release before the holidays. We will potentially have one more release before the end of the year but for now we hope you are all happy with these improvements ๐
Typescript
This release includes several bug fixes and performance improvements related to Typescript:
- SpacetimeDB now processes sourcemaps included in Typescript modules, so stacktraces in both new and existing modules now show the filenames and line numbers from your source code, not from the bundled JS file.
- The UTF-8 processing of the
TextEncoderandTextDecoderclasses is now implemented in native code, meaning string de/serialization will now have less overhead. useTablein a React client now works when specifying columns with camelcase names.- Generated client code is now compatible with the
noImplicitOverrideTypescript configuration option.
What's Changed
- Some more UI tests for Views by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/3829
- Implement sourcemap handling by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/3828
- client-api: Send WebSocket messages fragmented by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/2931
- Update typescript package size limits by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/3854
- client-api: Deny changing the parent of an existing database by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/3837
- Rename docs dirs and files to have more digits by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/3851
- [TS] Use 'override' when overriding class items by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/3852
- Handle unknown transactions without erroring. by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/3858
lteandgteoperators to rust query builder by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/3855- fix automigration bug with
auto_incby @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/3862 filteralias for rust query builder's where method by @Shubham8287 in https://github.com/clockworklabs/SpacetimeDB/pull/3856- Don't panic in
datastore_index_scan_range_bsatnon invalid ranges by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/3746 - Add rng support to ProcedureContext on Rust by @mamcx in https://github.com/clockworklabs/SpacetimeDB/pull/3865
- add initial cargo ci by @Kasama in https://github.com/clockworklabs/SpacetimeDB/pull/3409
- wasmtime: pool async stack allocations on unix by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/3830
- CI - Use rust-toolchain-file everywhere by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/3872
- Add WASM point scan ABIs & use them in Rust bindings by @Centril in https://github.com/clockworklabs/SpacetimeDB/pull/3863
- Tighten query types by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/3866
- Fix useReducer params by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/3873
- Fix broken SpacetimeDB logo in docs by @JulienLavocat in https://github.com/clockworklabs/SpacetimeDB/pull/3886
- Fix CLI reference generation by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/3403
- [TS] Fix useTable casing issues by @coolreader18 in https://github.com/clockworklabs/SpacetimeDB/pull/3853
- Strip sensitive info from HTTP errors by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/3878
- cli: Flush stdout after printing the database tree by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/3888
- Ensure all-ephemeral transactions don't consume a tx offset by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/3884
- Add Reducer to the end of reducer arg types to avoid collisions by @jsdt in https://github.com/clockworklabs/SpacetimeDB/pull/3889
- Add a fault-tolerant commitlog replay mode for use in debugging by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/3887
cargo cion windows by @bfops in https://github.com/clockworklabs/SpacetimeDB/pull/3859- Async shutdown for database / durability by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/3880
- Ignore system meta-descriptor rows during replay by @gefjon in https://github.com/clockworklabs/SpacetimeDB/pull/3891
- Refactor /docs into Concepts by @JasonAtClockwork in https://github.com/clockworklabs/SpacetimeDB/pull/3877
- Resolve algebraic type refs recursively for view type check by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/3876
- Make subscribe durable by @joshua-spacetime in https://github.com/clockworklabs/SpacetimeDB/pull/3894
- client-api: Pause time in websocket timeout tests by @kim in https://github.com/clockworklabs/SpacetimeDB/pull/3896
- Bump versions to 1.11.1 by @jdetter in https://github.com/clockworklabs/SpacetimeDB/pull/3901
Full Changelog: https://github.com/clockworklabs/SpacetimeDB/compare/v1.11.0...v1.11.1
โ ๐ ๐ Happy Holidays everyone! ๐ ๐ โ