Commit Graph

3186 Commits

Author SHA1 Message Date
joshua-spacetime 40d6688262 Reference docs for row level security (#291) 2025-04-14 17:30:41 -07:00
james gilles 7d25b033e8 Switch to a better index data structure (#291)
## Description of Changes
This should fix
https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/issues/290

## API

 - [ ] This is an API breaking change to the SDK

*If the API is breaking, please state below what will break*

## Requires SpacetimeDB PRs

## Testsuite

SpacetimeDB branch name: master

## Testing

- [ ] CI Tests
- [ ] Double-check bitcraft perf regression

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
2025-04-14 14:28:55 -07:00
Zeke Foppa bf395a66a6 Bump a missed version (#2607)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-14 17:54:52 +00:00
Phoebe Goldman 03a56e11a2 Check validity of modules before control DB modifications during initial publish (#2580) 2025-04-14 15:56:23 +00:00
torjusik 14b34eb752 Update quickstart.md (#295)
fixed typo:
"Next add let's add" -> "Let's add"
2025-04-14 08:32:52 -07:00
8Times dd829e64de Typo fix quickstart.md (#294)
"SpacetimDB" -> "SpacetimeDB"
2025-04-14 08:31:16 -07:00
John Detter 2a1cc4d88d License Apache2 (#172)
Co-authored-by: John Detter <no-reply@boppygames.gg>
2025-04-14 16:11:43 +01:00
Tyler Cloutier c80417e0c1 Added a preliminary llms.md/.txt file to the repo to help LLMs generate code for users and understand SpacetimeDB (#286)
* Added a preliminary llms.md/.txt file to the repo to help LLMs generate code for users and understand SpacetimeDB

* Update llms.md

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>

* Addressed some feedback

* Fixed up some stuff

* Added TypeScript SDK code

* Added subscription semantics section and small fixes

* Added info about ConnectionId and the reducer context

* Addressed comments

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-04-14 09:42:14 -04:00
Zeke Foppa 6e15325944 CI - Add release branch check (#270)
[bfops/release-branch-check]: Add release branch check

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-11 23:00:31 -07:00
Noa 651f79d22c Make clockworklabs/spacetime docker image build from source (#2521) 2025-04-12 03:15:37 +00:00
John Detter 468a6f142b Fix warning message for failed to track reducer call (#280)
## Description of Changes
*Describe what has been changed, any new features or bug fixes*

- Fixes an issue that was reported in the discord where a user was
connecting 2 clients to the same SpacetimeDB module with the same
identity but different connection IDs.

## API

- This is not breaking.

## Requires SpacetimeDB PRs

None

## Testsuite

SpacetimeDB branch name: master

## Testing

- [x] Build blackholio as a player build and launch it twice. You can
play on both clients without seeing this warning in Player.log.

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-12 01:24:41 +01:00
Noa 483a9488e2 Update rand (#2568) 2025-04-11 17:39:41 +00:00
Phoebe Goldman 789b74a07b Impose limits on the heap usage of ChunkPool (#2585)
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
2025-04-11 17:03:27 +00:00
Mario Montoya 3fd78203c4 Compress the snapshot (#2034) 2025-04-11 15:18:17 +00:00
Zeke Foppa dd1bd4a6e5 Remove unused file (#2582)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-11 10:24:14 +00:00
joshua-spacetime 4991bc18cc fix expression canonicalization (#2584) 2025-04-10 15:43:47 +00:00
Noa 68d23d4c25 Remove spacetimedb-core as a dep of cli (#2244) 2025-04-09 19:37:44 +00:00
Shubham Mishra 76a52ca747 Use Offset Index on Meta extract (#2549) 2025-04-09 19:05:52 +00:00
Mazdak Farrokhzad c39f7fa64c Plain enums as index keys with specialized indices (#2506) 2025-04-09 18:52:15 +00:00
joshua-spacetime dc7ae16c42 Update the timestamp format output by spacetime sql in the quickstart (#288)
Fixes #222.
2025-04-09 11:50:51 -07:00
Jeffrey Dallatezza c8f0d8f1d6 Add some more tokio metrics. (#2555) 2025-04-09 16:11:21 +00:00
joshua-spacetime 340460e26b Return error for unqualified columns instead of panic (#2572) 2025-04-09 15:41:46 +00:00
heliam1 fade50a5c6 Fix typo (#289) 2025-04-09 08:35:59 -07:00
joshua-spacetime d1ac6a6adc Add tests asserting add_multi_subscription return errors to clients (#2571) 2025-04-09 15:08:36 +00:00
joshua-spacetime 2b24355a1a Compute variable positions for explicit projections (#2573) 2025-04-09 15:08:16 +00:00
joshua-spacetime aac7894aac Feature gate [ClientVisibilityFilter] in C# (#2556) 2025-04-08 20:42:00 +00:00
Noa 2f6660e919 Add integration test for commitlog compression (#2538) 2025-04-08 17:10:31 +00:00
Jeffrey Dallatezza d8e7ae564f Add stats for incremental query evaluation hitrate (#2564)
Co-authored-by: joshua-spacetime <josh@clockworklabs.io>
2025-04-08 15:30:12 +00:00
Kim Altintop 85c347cba3 snapshot: Remote synchronization (#2559) 2025-04-08 07:57:52 +00:00
joshua-spacetime 712c2e40c4 Do not send empty subscription updates to clients (#2562) 2025-04-07 23:06:39 +00:00
Jeffrey Dallatezza 6eda3f4f5a Add more subscription stats (#2560) 2025-04-07 22:31:50 +00:00
joshua-spacetime ec30c0b048 Add rls to the subscription api (#2546) 2025-04-04 21:12:39 +00:00
cjodo 160cb57972 fix(ts-sdk): correct the function signature of onConnectError (#255)
fix(sdk): correct the function signature of onConnectError
2025-04-04 12:17:09 -07:00
AdielMag 0818aff6bc Small fix on part-3.md (#264)
Update part-3.md
2025-04-04 12:16:29 -07:00
Colter Haycock 96aeffa375 Fixed Minor Typos in Unity Tutorial (#273)
* Update part-2.md

Minor typos

* Update part-2.md

reverting unnecessary change

* Update part-3.md

more tiny changes

* Update part-3.md

arena

* Update part-3.md
2025-04-04 12:15:53 -07:00
Kane Viggers fbf1543c29 Correction on c# server module quickstart (#253)
Table name is 'messages' not 'Messages'
2025-04-04 12:14:50 -07:00
Jeffrey Dallatezza e31fbba9f2 Remove some testing logs statements. (#2553) 2025-04-04 18:45:25 +00:00
Jeffrey Dallatezza 75098bcc02 Remove standalone energy monitor. (#2550) 2025-04-04 13:52:33 +00:00
Phoebe Goldman 62818e9c7b Various methods and trait impls for time arithmetic (#2502) 2025-04-03 18:06:28 +00:00
Phoebe Goldman 80b3613f45 Add CI job to run cargo doc on the bindings crate (#2548) 2025-04-03 17:41:17 +00:00
Jeffrey Dallatezza 396d1c2814 Add some tokio runtime metrics. (#2537) 2025-04-03 16:17:47 +00:00
Phoebe Goldman df5d55b7ff Static feature flag for generating perfmaps (#746) 2025-04-03 15:36:59 +00:00
Noa 649ce34b01 Update tungstenite to 0.26 (#2539) 2025-04-02 18:09:13 +00:00
joshua-spacetime adf42551c8 Add rls to the sql api (#2526) 2025-04-02 17:36:20 +00:00
Phoebe Goldman 8a0fc18afd TS quickstart: Install latest SDK, not specific version (#280)
The version listed here was outdated and included bugs.
I don't even know why we'd recommend a specific version,
instead of just telling people to install the latest release.
2025-04-02 13:05:15 -04:00
Mario Montoya 4ade692700 Update formatting of timestamps and identities in PsqlFormatter (#2486) 2025-04-02 16:53:27 +00:00
Kim Altintop a2200be55d core: Export the snapshot watcher / commitlog compressor (#2536) 2025-04-02 13:40:10 +00:00
Kim Altintop d88a266c20 commitlog: Derive serde for Commit (#2535) 2025-04-02 11:16:11 +00:00
Noa f2a4abbf4b Update PR template (#2395)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-04-01 16:55:08 +00:00
Mazdak Farrokhzad eb380e6a18 Repair transactionality of st_client removals after disconnect (#2446)
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-04-01 14:04:16 +00:00