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 #3829
- Implement sourcemap handling by @coolreader18 in #3828
- client-api: Send WebSocket messages fragmented by @kim in #2931
- Update typescript package size limits by @jdetter in #3854
- client-api: Deny changing the parent of an existing database by @kim in #3837
- Rename docs dirs and files to have more digits by @gefjon in #3851
- [TS] Use 'override' when overriding class items by @coolreader18 in #3852
- Handle unknown transactions without erroring. by @jsdt in #3858
lteandgteoperators to rust query builder by @Shubham8287 in #3855- fix automigration bug with
auto_incby @Shubham8287 in #3862 filteralias for rust query builder's where method by @Shubham8287 in #3856- Don't panic in
datastore_index_scan_range_bsatnon invalid ranges by @Centril in #3746 - Add rng support to ProcedureContext on Rust by @mamcx in #3865
- add initial cargo ci by @Kasama in #3409
- wasmtime: pool async stack allocations on unix by @Centril in #3830
- CI - Use rust-toolchain-file everywhere by @bfops in #3872
- Add WASM point scan ABIs & use them in Rust bindings by @Centril in #3863
- Tighten query types by @jsdt in #3866
- Fix useReducer params by @jsdt in #3873
- Fix broken SpacetimeDB logo in docs by @JulienLavocat in #3886
- Fix CLI reference generation by @bfops in #3403
- [TS] Fix useTable casing issues by @coolreader18 in #3853
- Strip sensitive info from HTTP errors by @gefjon in #3878
- cli: Flush stdout after printing the database tree by @kim in #3888
- Ensure all-ephemeral transactions don't consume a tx offset by @kim in #3884
- Add Reducer to the end of reducer arg types to avoid collisions by @jsdt in #3889
- Add a fault-tolerant commitlog replay mode for use in debugging by @gefjon in #3887
cargo cion windows by @bfops in #3859- Async shutdown for database / durability by @kim in #3880
- Ignore system meta-descriptor rows during replay by @gefjon in #3891
- Refactor /docs into Concepts by @JasonAtClockwork in #3877
- Resolve algebraic type refs recursively for view type check by @joshua-spacetime in #3876
- Make subscribe durable by @joshua-spacetime in #3894
- client-api: Pause time in websocket timeout tests by @kim in #3896
- Bump versions to 1.11.1 by @jdetter in #3901
Full Changelog: v1.11.0...v1.11.1
⛄ 🎄 🎁 Happy Holidays everyone! 🎁 🎄 ⛄