Noa
f6bc6dcfe5
Switch Rust codegen to use new ModuleDef ( #1675 )
2024-09-17 18:32:35 +00:00
Tyler Cloutier
3530498b88
Switched table names to singular ( #1684 )
...
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org >
2024-09-11 11:11:51 -04:00
Noa
bdf94f1fb3
Fix table codegen wrt table names ( #1689 )
2024-09-11 09:39:15 -04:00
Noa
8daab8e20f
Impl macro rework ( #1314 )
2024-09-09 23:30:31 +00:00
Ingvar Stepanyan
607f7ce6b8
Auto-generate C# ModuleDef bindings from Rust ( #1680 )
2024-09-09 18:22:17 +00:00
Mazdak Farrokhzad
df5ef6c81d
WASM ABI: implement console ABIs ( #1664 )
2024-09-05 20:19:21 +00:00
james gilles
2be42156b2
Allow converting new ModuleDef to old TableSchema ( #1630 )
2024-08-29 18:17:29 +00:00
Mazdak Farrokhzad
4c086fef96
[WASM ABI 1.0] impl __call_reducer__ & __describe_module__ using bytes_sink_write ( #1615 )
2024-08-27 15:48:40 +00:00
james gilles
747eb71830
Make ScheduleAt special + Typespace::is_valid_for_client_code_generation ( #1590 )
2024-08-22 17:05:04 +00:00
Mazdak Farrokhzad
1ca9b1a933
[WASM ABI 1.0] Change ColId from u32 to u16 ( #1597 )
2024-08-19 17:56:28 +00:00
Zeke Foppa
2b7b9ff350
Bump version to 0.12.0 ( #1578 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2024-08-09 19:10:53 +00:00
Mazdak Farrokhzad
1e8e18d74b
Add support for I256 and U256 ( #1477 )
2024-08-08 18:40:35 +00:00
Mazdak Farrokhzad
3340ceea8a
SATS: Flatten AlgebraicType, getting rid of BuiltinType ( #1559 )
...
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com >
Signed-off-by: joshua-spacetime <josh@clockworklabs.io >
Co-authored-by: joshua-spacetime <josh@clockworklabs.io >
2024-08-06 18:15:19 +00:00
Mazdak Farrokhzad
5c585b68f8
Get rid of python SDK ( #1561 )
2024-08-01 11:28:27 +00:00
Zeke Foppa
cd5e50accb
spacetime server add - Remove trailing /s from server URIs (#1552 )
...
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com >
2024-07-26 16:15:19 +00:00
Ingvar Stepanyan
7500ea33fb
C#: remove using SpacetimeDB.ClientApi; ( #1546 )
2024-07-25 18:43:14 +00:00
james gilles
afddf01dd5
ABI BREAK: Add versioning for RawModuleDef ( #1518 )
2024-07-25 17:24:47 +00:00
Zeke Foppa
1ce62dacdb
spacetime generate - make the source args optional (#1537 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-24 19:04:46 +00:00
james gilles
45b2ceee9a
Move schemas to schema crate, rename Def to RawDefV8 ( #1498 )
2024-07-24 17:38:30 +00:00
Zeke Foppa
417adb8820
Bump version to 0.11.0 ( #1531 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-22 20:48:03 +00:00
james gilles
f81f2a7492
Move db module from spacetimedb_sats to spacetimedb_lib ( #1479 )
2024-07-17 20:59:44 +00:00
Jeremie Pelletier
3e6f91be89
Moving recovery code APIs under /identity and using POST ( #1492 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-17 13:24:23 +00:00
Shubham Mishra
276387d2b3
Timer Table Implementation ( #1449 )
...
Co-authored-by: Ingvar Stepanyan <me@rreverser.com >
2024-07-16 08:38:56 +00:00
Noa
10b151b999
Protobufectomy: server ( #1077 )
...
Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org >
Co-authored-by: Jeremie Pelletier <jeremiep@gmail.com >
2024-07-12 18:02:18 +00:00
Ingvar Stepanyan
6f0f20bf7a
Restructure C# SpacetimeDB runtime ( #1455 )
2024-07-12 17:12:21 +00:00
Zeke Foppa
3266aa4ebe
CLI: Use --server and --identity args consistently instead of anonymous args ( #1482 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-10 17:48:49 +00:00
Zeke Foppa
e913e8cd26
CLI: Put some common params in a central place ( #1484 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-09 13:40:05 +00:00
Zeke Foppa
b2eb08c9cb
Fix C# module smoketests ( #1475 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-04 12:48:41 +00:00
SteveBoytsun
81085b0817
Fixed exceptions in C# SDK when someone disconnects or when a transaction originates from CLI ( #1461 )
...
Co-authored-by: Steve Boytsun <steve@clockwokrlabs.io >
2024-06-26 17:39:12 +00:00
Zeke Foppa
637a6547d9
CLI - Update help text suggesting spacetime server fingerprint to have the correct -s param ( #1457 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-24 18:42:05 +00:00
Ingvar Stepanyan
137f26da5f
Restructure NuGet packaging ( #1440 )
...
Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
Signed-off-by: Ingvar Stepanyan <me@rreverser.com >
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
2024-06-18 19:48:46 +00:00
Zeke Foppa
dcc70b82f2
Bump version to 0.10.1 ( #1443 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-17 23:34:13 +00:00
Noa
66112bbdf0
Impl subscribe subcommand & subscription smoketests ( #1343 )
...
Signed-off-by: Kim Altintop <kim@eagain.io >
Co-authored-by: Kim Altintop <kim@eagain.io >
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com >
2024-06-14 09:16:05 +00:00
Ingvar Stepanyan
4b7eff66da
Generate tagged enums in C# client code ( #1421 )
2024-06-13 16:32:46 +00:00
Mario Montoya
114aa994bf
Fix output of binary, Identity, Address for SQL output and the 'Display' of them to show a full hex value ( #1087 )
2024-06-10 16:49:46 +00:00
Zeke Foppa
2d09485f74
Bump version to 0.10.0 ( #1349 )
...
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-10 16:25:02 +00:00
Ingvar Stepanyan
d1033b5d93
Shared C# codegen for BSATN ( #1312 )
...
Signed-off-by: Ingvar Stepanyan <me@rreverser.com >
Co-authored-by: james gilles <jameshgilles@gmail.com >
Co-authored-by: John Detter <no-reply@boppygames.gg >
2024-06-07 19:22:02 +00:00
Zeke Foppa
b06b2e59f1
Fix bug with Lockfile sticking around ( #1341 )
...
* [bfops/fix-config-lock]: do thing
* [bfops/fix-config-lock]: review
* [bfops/fix-config-lock]: review
* [bfops/fix-config-lock]: fix
* [bfops/fix-config-lock]: TODOs
* [bfops/fix-config-lock]: review
* [bfops/fix-config-lock]: review
* [bfops/fix-config-lock]: review
* [bfops/fix-config-lock]: review
---------
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-06-05 22:40:24 +00:00
Phoebe Goldman
db34ff6a8e
Create new crate fs-utils; move Lockfile and create_parent_dir ( #1334 )
...
* Create new crate `fs-utils`; move `Lockfile` and `create_parent_dir`
The snapshot crate will need to create lockfiles.
Rather than duplicating code to do so, we choose to move our definition of `Lockfile`
into a crate that can be depended on by both `cli` and `snapshot`.
No existing crate seems like an obvious choice for this
-- a `Lockfile` is not really a data structure, so `data-structures` seems wrong --
so we add a new crate, `fs-utils`.
Currently this contains only `Lockfile` and `create_parent_dir`,
but a follow-up PR will add `DirTrie`, a Git-like on-disk object store.
* Deduplicate `map_err` closure
* Zeke's nit: simplify control flow
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org >
---------
Signed-off-by: Phoebe Goldman <phoebe@goldman-tribe.org >
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com >
2024-06-04 16:57:28 +00:00
Mazdak Farrokhzad
5e47b61f8a
Tables only become public explicitly via #[spacetimedb(table(public))] ( #1278 )
...
* make user tables private by default and define privacy via attribute
* switch to spacetimedb(table(public)) syntax
* accept codegen snap changes
* sdk: use public in define_tables!
* bindings-macro: adjust some doc comments
* sdk-test-connect-disconnect: make Connected/Disconnected public tables
* Make Public Private again
2024-06-03 11:22:58 +00:00
Noa
f8beb699c7
Implement new rand api ( #1283 )
...
* Implement new rand api
* Address comments
2024-05-31 17:42:58 +00:00
Ingvar Stepanyan
9e1e66f708
Fix FilterBy regression in C# ( #1309 )
...
* Fix FilterBy regression in C#
Fixes regression accidentally introduced in #1277 : if FindBy returns null, FilterBy will return an iterable with a single null item instead of an empty iterable.
* Fix snapshots
2024-05-31 17:40:26 +00:00
Zeke Foppa
0bc42bfe48
Bump version to 0.9.3 ( #1224 )
...
* [bfops/bump-version]: empty
* [bfops/bump-version]: version bump
* [bfops/bump-version]: update
* [bfops/bump-version]: bump C# module versions too
* [bfops/bump-version]: bump 0.9.3
---------
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-29 17:22:51 +00:00
Mazdak Farrokhzad
c8225db8f5
1. Reduce visibilities, preparing to extract datastore crate ( #1306 )
...
2. More direct imports, preparing to extract datastore crate
3. Remove some dead code
2024-05-28 17:46:07 +00:00
Zeke Foppa
3b33f22c07
CLI - Drop Config lock earlier for spacetime logs ( #1303 )
...
* [bfops/lockfiles]: do thing
* [bfops/lockfiles]: empty
---------
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-28 16:08:09 +00:00
Zeke Foppa
be74474721
CLI - Fix Lockfile error message format strings ( #1302 )
...
* [bfops/lockfile-err]: do thing
* [bfops/lockfile-err]: empty
---------
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-28 16:05:05 +00:00
Ingvar Stepanyan
ac0c097f3d
Implement consistent filtering rules for TypeScript ( #1276 )
...
- Limit types to those defined in the consistent filtering proposal (#1256 ).
- Make `filterBy` a lazy iterable for consistency and performance reasons.
- Add `findBy` for unique fields as per proposal.
2024-05-28 14:23:25 +00:00
Ingvar Stepanyan
307dfeebd3
Update C# codegen to consistent filtering rules ( #1277 )
...
* Update C# codegen to consistent filtering rules
- Limit types as per proposal.
- Add `Query` client-side SDK helper for API parity with server-side modules (on client-side it's a simple wrapper around Iter + Where).
- Change return type of `FilterBy` to always be iterable, with new `FindBy` function for unique fields.
- Simplify the way primary keys are handled - must go with https://github.com/clockworklabs/spacetimedb-csharp-sdk/pull/93 for the client SDK counterpart.
* Add using for System.Linq
* Update snapshot
2024-05-28 14:22:12 +00:00
Ingvar Stepanyan
f5a13b6f26
Consistent filtering in Rust client + minor fixes ( #1275 )
...
* Extend codegen tests to Rust
* Replace cursive-chat module_bindings with symlink
* Implement consistent filtering rules for Rust
* Fixup
* Regenerate tests
* Fix non-deterministic import order
* cargo fmt
* Fix chat examples
* Change symlinks to files themselves
* Revert accidental change
This needs to wait for server-side API break to be implemented as well.
2024-05-28 13:02:25 +00:00
Zeke Foppa
8096ab657d
fix(1297): spacetime logs -f should not start at the very beginning ( #1298 )
...
* [bfops/logs-f]: do thing
* [bfops/logs-f]: empty
* [bfops/logs-f]: review
---------
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-28 00:40:39 +00:00