Zeke Foppa
5fe544a7d2
[bfops/import-docs]: Merge remote-tracking branch 'temp-docs/master' into bfops/import-docs
2025-07-16 21:21:34 -07:00
Mazdak Farrokhzad
96a1ad4fc5
[V8] Define trait ToValue for primitive types ( #2946 )
2025-07-16 20:10:37 +00:00
Zeke Foppa
cbba2b29c1
Fix up GitHub files related to TypeScript SDK ( #2943 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-07-16 19:32:04 +00:00
Kim Altintop
09717e97ad
Make websocket configurable via config.toml ( #2944 )
2025-07-16 19:31:07 +00:00
Kim Altintop
eecc591ef1
Document WebSocket config for standalone ( #353 )
2025-07-16 21:05:38 +02:00
Zeke Foppa
571089d8f0
[bfops/import-Blackholio]: Merge remote-tracking branch 'temp-Blackholio/master' into bfops/import-Blackholio
2025-07-16 11:04:05 -07:00
Zeke Foppa
88dc3695d8
Import TypeScript SDK repo ( #2941 )
...
Co-authored-by: Piotr Sarnacki <drogus@gmail.com >
Co-authored-by: John <no-reply@boppygames.gg >
Co-authored-by: NateTheDev1 <nthnlrichards@gmail.com >
Co-authored-by: Nathaniel Richards <46858886+NateTheDev1@users.noreply.github.com >
Co-authored-by: dbrinkmanncw <109690865+dbrinkmanncw@users.noreply.github.com >
Co-authored-by: Derek Brinkmann <dbrinkmann@citadelstudios.net >
Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com >
Co-authored-by: Mario Montoya <mamcx@elmalabarista.com >
Co-authored-by: Kamil Jakubus <kamil.jakubus@usagi.coffee >
Co-authored-by: Derek Brinkmann <dbrinkmann@clockworklabs.io >
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org >
Co-authored-by: HSReina <hontoshadow@shadosoft-tm.com >
Co-authored-by: Gérald Divoux <gerald.divoux@ninsight.io >
Co-authored-by: Zeke Foppa <github.com/bfops>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com >
Co-authored-by: Halu <35203441+tcardlab@users.noreply.github.com >
Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com >
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com >
Co-authored-by: Puru Vijay <awesomepuruvj@gmail.com >
Co-authored-by: Tyler Cloutier <cloutiertyler@aol.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: james gilles <jameshgilles@gmail.com >
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
Co-authored-by: Noa <coolreader18@gmail.com >
Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com >
Co-authored-by: Bastian Ganze <bastianganze@gmail.com >
Co-authored-by: ChaseLewis <ChaseRLewis73003@gmail.com >
Co-authored-by: DeveloperChaseLewis <developer.chase.lewis@gmail.com >
Co-authored-by: Chip <36650721+Lethalchip@users.noreply.github.com >
Co-authored-by: Julien Lavocat <julien.lavocat@gmail.com >
2025-07-16 08:14:18 -07:00
Zeke Foppa
5ab01b202e
Merge branch 'master' into bfops/import-typescript-sdk
2025-07-16 07:34:17 -07:00
Mazdak Farrokhzad
f2c8c6d83c
Extract ModuleCommon + use in wasm & v8 runtimes ( #2940 )
...
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com >
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io >
2025-07-16 14:23:15 +00:00
Zeke Foppa
741208c83b
[bfops/import-typescript-sdk]: Merge remote-tracking branch 'temp-typescript-sdk/main' into bfops/import-typescript-sdk
2025-07-16 06:37:45 -07:00
Mazdak Farrokhzad
63dff572fa
Add v8 crate + initialize v8 ( #2939 )
2025-07-16 12:07:08 +00:00
Zeke Foppa
eef737f5a5
Release 1.2.2 ( #200 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-07-15 11:08:48 -07:00
Noa
742303ca49
Bump rust-toolchain to rust 1.88 ( #2749 )
...
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com >
2025-07-15 17:39:41 +00:00
Julien Lavocat
a388670297
Use toString() instead of an instance of Url when opening the websocket connection
2025-07-15 19:15:06 +02:00
Jeffrey Dallatezza
666ade7083
Move locking operations onto the module's thread ( #2866 )
2025-07-14 23:10:18 +00:00
Phoebe Goldman
4c470f0579
Fix example that was still rust-ey in C# ref ( #333 )
...
* Fix example that was still rust-ey in C# ref
This must have gotten missed when porting the Rust ref over to C#.
* Read `.Value`
Co-authored-by: james gilles <jameshgilles@gmail.com >
---------
Co-authored-by: james gilles <jameshgilles@gmail.com >
2025-07-14 19:34:02 +00:00
Phoebe Goldman
6a9b524b4e
Enable the datastore crate's test feature where necessary ( #2937 )
2025-07-14 18:29:21 +00:00
Jeffrey Dallatezza
591d0830ed
Improve performance of row ids ( #180 )
...
* Get it working with base64 encoded row ids, and start adding the better way for indexing.
* Use concat to avoid creating too many arguments for big updates.
* Use primitives as rowIds
* Remove OperationsMap
* Add some table cache tests and regen stuff.
* Cleanup
* revert accidental cargo change.
* Add semver parsing.
* Add a minimum version check.
* Use qmark syntax.
* Regen quickstart-chat bindings with 1.2.0 cli
* Bump minimum codegen version.
* Regen test app with 1.2
2025-07-14 10:09:12 -07:00
Tyler Cloutier
20b087c248
Split datastore into its own crate ( #2933 )
2025-07-12 21:41:00 +00:00
Mazdak Farrokhzad
34201c6e02
Fix AlgebraicTypeLayout::is_compatible_with ( #2932 )
2025-07-11 12:59:09 +00:00
Kim Altintop
b63216aec9
client-api: Rewrite websocket loop ( #2906 )
...
Signed-off-by: Kim Altintop <kim@eagain.io >
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io >
2025-07-10 10:50:06 +00:00
Mazdak Farrokhzad
1727ca4de4
SATS: add Impossible helper type ( #2929 )
2025-07-09 22:58:46 +00:00
Zeke Foppa
93874accac
CI - Test that quickstart-chat builds ( #197 )
...
* Test quickstart-chat in CI
* fix?
* ignore diffs containing SpacetimeDB commit
* prettier config
* fix?
* [REVERT THIS TEST COMMIT] add diff to module bindings
* revert previous test commit
* [REVERT THIS TEST COMMIT] introduce a typechecking error
* revert previous test commit
* tiny review
---------
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-07-09 09:47:01 -07:00
Kim Altintop
ae21aae7e8
core: Tone down MessageExecutionError ( #2926 )
2025-07-09 15:15:49 +00:00
Mazdak Farrokhzad
edcb07c6f3
Add V8Runtime skeleton + HostType::Js ( #2923 )
2025-07-08 20:20:43 +00:00
Mazdak Farrokhzad
4dcf5f89ea
SATS: make field_names/variant_names return iterator + add FieldNameVisitor::visit_seq ( #2927 )
2025-07-08 19:55:23 +00:00
Jeffrey Dallatezza
5770386264
Fix equality comparison between Row::Ptr and Row::Ref ( #2914 )
...
Co-authored-by: joshua-spacetime <josh@clockworklabs.io >
2025-07-07 16:09:11 +00:00
Jeffrey Dallatezza
bcb9f3d85d
Require a minimum code gen version ( #186 )
...
* Add semver parsing.
* Add a minimum version check.
* Use qmark syntax.
* Regen quickstart-chat bindings with 1.2.0 cli
* Bump minimum codegen version.
* Regen test app with 1.2
2025-07-07 12:07:11 -04:00
rekhoff
533c14bea3
Update WebGL message queue to 1.2.1 format ( #342 )
...
## Description of Changes
This is a fix for community bug
https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk/issues/340
that was the result of changes to SpacetimeDBClient code that missed
changes to the WebGL build.
## API
- [ ] This is an API breaking change to the SDK
## Requires SpacetimeDB PRs
- None
## Testsuite
SpacetimeDB branch name: master
## Testing
- [X] Tested changes against Blackholio running under a Unity WebGL
build
2025-07-07 10:36:20 -04:00
Mazdak Farrokhzad
390759118b
Move sats::de::serde::NoneAccess to sats::de::NoneAccess ( #2922 )
2025-07-07 14:16:40 +00:00
Mazdak Farrokhzad
c3cfadb2ca
SATS: Move some method bodies to be provided in 'Serializer' instead ( #2921 )
2025-07-04 15:10:44 +00:00
Mazdak Farrokhzad
6a8cd7e9e1
Extract object_pool module from PagePool ( #2920 )
2025-07-04 13:47:26 +00:00
Mazdak Farrokhzad
1166d68e65
Extract spacetimedb-memory-usage & Nix bindings dep on spacetimedb-data-structures ( #2919 )
2025-07-04 12:54:00 +00:00
Mazdak Farrokhzad
6f5e33abd2
update_database: is_unique should only use the table's constraints (#2915 )
2025-07-04 11:18:03 +00:00
Mazdak Farrokhzad
06ba529378
Remove unused get_column_by_field ( #2917 )
2025-07-04 10:26:20 +00:00
Kim Altintop
ef0b2569ec
core: Allow caller to decide whether or not IRQ cores should be reserved ( #2913 )
2025-07-04 04:12:53 +00:00
joshua-spacetime
c8716106ff
Record transaction metrics off the main thread ( #2910 )
2025-07-01 15:51:05 +00:00
joshua-spacetime
e4d5c18f3c
Wrap websocket flush in timeout ( #2908 )
2025-07-01 01:41:59 +00:00
Zeke Foppa
29a0df42f7
tools/upgrade-version updates the Change Date in LICENSE.txt (#2895 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-06-30 16:52:23 +00:00
joshua-spacetime
9aebe31fc9
Filter out dropped clients in the send worker ( #2899 )
2025-06-30 16:14:52 +00:00
Mazdak Farrokhzad
a7293a3c16
(perf) send_one_computed_queries: reuse aggregation HashMaps ( #2909 )
2025-06-27 19:38:38 +00:00
Mazdak Farrokhzad
0c3635188d
Auto-migrate: Allow adding new variants at the tail ( #2874 )
2025-06-27 17:29:31 +00:00
Kim Altintop
47fd1684fd
durability: Fix task leak ( #2875 )
2025-06-27 12:55:22 +00:00
Kim Altintop
56f1f605f7
core: Allow adjusting CPU reservation pools ( #2907 )
2025-06-27 09:23:37 +00:00
joshua-spacetime
022ca6839b
Fix query overwrites in the subscription manager ( #2905 )
2025-06-26 02:34:46 +00:00
joshua-spacetime
28186d8721
Track disconnects initiated by the client ( #2893 )
2025-06-25 23:28:29 +00:00
Zeke Foppa
e97d72d1dc
Bump version to 1.2.1 for release ( #196 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-06-25 15:12:37 -07:00
Jeffrey Dallatezza
8a202b0b7a
Use the temporary auth token. ( #195 )
2025-06-25 15:04:36 -07:00
Chip
de7fb8a711
Update db_connection_impl.ts ( #194 )
...
fix for https://github.com/clockworklabs/SpacetimeDB/issues/2896
2025-06-25 10:36:34 -07:00
Zeke Foppa
6c419ccaa5
Add tools~/upgrade-version.py ( #335 )
...
## Description of Changes
I'm tired of messing up version updates. I "vibecoded" a script to do
it.
## API
- [ ] This is an API breaking change to the SDK
No. No changes to runtime code.
## Requires SpacetimeDB PRs
None
## Testsuite
SpacetimeDB branch name: master
## Testing
```
$ python3 tools~/update-version.py 1.1.1
Updated: ./SpacetimeDB.ClientSDK.csproj
Updated: ./tests~/tests.csproj
Updated: ./examples~/regression-tests/server/StdbModule.csproj
Updated: ./examples~/regression-tests/client/client.csproj
Updated: ./examples~/quickstart-chat/server/StdbModule.csproj
Updated: ./examples~/quickstart-chat/client/client.csproj
Updated version in package.json to 1.1.1
$ git diff -U1
diff --git a/SpacetimeDB.ClientSDK.csproj b/SpacetimeDB.ClientSDK.csproj
index 5248df6..b3ca7e8 100644
--- a/SpacetimeDB.ClientSDK.csproj
+++ b/SpacetimeDB.ClientSDK.csproj
@@ -18,4 +18,4 @@
<RepositoryUrl>https://github.com/clockworklabs/com.clockworklabs.spacetimedbsdk </RepositoryUrl>
- <AssemblyVersion>1.2.1</AssemblyVersion>
- <Version>1.2.1</Version>
+ <AssemblyVersion>1.1.1</AssemblyVersion>
+ <Version>1.1.1</Version>
<DefaultItemExcludes>$(DefaultItemExcludes);*~/**</DefaultItemExcludes>
@@ -27,3 +27,3 @@
<ItemGroup>
- <PackageReference Include="SpacetimeDB.BSATN.Runtime" Version="1.2.*" />
+ <PackageReference Include="SpacetimeDB.BSATN.Runtime" Version="1.1.*" />
diff --git a/examples~/quickstart-chat/server/StdbModule.csproj b/examples~/quickstart-chat/server/StdbModule.csproj
index 0513a81..f290d22 100644
--- a/examples~/quickstart-chat/server/StdbModule.csproj
+++ b/examples~/quickstart-chat/server/StdbModule.csproj
@@ -16,3 +16,3 @@
<ItemGroup>
- <PackageReference Include="SpacetimeDB.Runtime" Version="1.2.*" />
+ <PackageReference Include="SpacetimeDB.Runtime" Version="1.1.*" />
</ItemGroup>
diff --git a/examples~/regression-tests/server/StdbModule.csproj b/examples~/regression-tests/server/StdbModule.csproj
index c6b1cba..3284863 100644
--- a/examples~/regression-tests/server/StdbModule.csproj
+++ b/examples~/regression-tests/server/StdbModule.csproj
@@ -10,3 +10,3 @@
<ItemGroup>
- <PackageReference Include="SpacetimeDB.Runtime" Version="1.2.*" />
+ <PackageReference Include="SpacetimeDB.Runtime" Version="1.1.*" />
</ItemGroup>
diff --git a/package.json b/package.json
index 7839151..a627246 100644
--- a/package.json
+++ b/package.json
@@ -3,3 +3,3 @@
"displayName": "SpacetimeDB SDK",
- "version": "1.2.1",
+ "version": "1.1.1",
"description": "The SpacetimeDB Client SDK is a software development kit (SDK) designed to interact with and manipulate SpacetimeDB modules..",
```
---------
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2025-06-25 11:57:53 -04:00