Commit Graph

1538 Commits

Author SHA1 Message Date
Noa a947cc8d26 Make comment more accurate 2025-05-15 12:29:23 -05:00
Noa 2f99ca3c61 Follow-up: use asyncify in ModuleHost::call 2025-05-15 12:19:38 -05:00
Jeffrey Dallatezza 7bd848ada1 Call reducers on the blocking pool. (#2737) 2025-05-15 16:04:42 +00:00
Kim Altintop 3d1a91c25c Handle snapshot restore more robustly (#2735)
Signed-off-by: Kim Altintop <kim@eagain.io>
Signed-off-by: Shubham Mishra <shivam828787@gmail.com>
Co-authored-by: Shubham Mishra <shubham@clockworklabs.io>
2025-05-15 14:35:09 +00:00
Jeffrey Dallatezza 2c5d78d4fa Fix row count stats for multi subscription responses. (#2736) 2025-05-14 22:47:58 +00:00
james gilles 0d419afbfa Reduce reflection use in generated C# code (#2725) 2025-05-14 18:36:50 +00:00
Noa 6b8d077ba0 Move init_database out of wasm_common (#2732) 2025-05-14 18:28:48 +00:00
Noa cb1b053114 Use spawn_blocking for the fallback commit in identity_dis/connected (#2730) 2025-05-14 17:23:31 +00:00
joshua-spacetime 6eef6989dd Do not evaluate subscriptions that return empty result sets (#2731)
Signed-off-by: joshua-spacetime <josh@clockworklabs.io>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2025-05-14 14:19:52 +00:00
joshua-spacetime 70a04914e1 Fix index scan rewrite rule (#2728) 2025-05-13 16:09:55 +00:00
james gilles 74ad4a14ce Fix Equals and GetHashCode for types containing Lists and Arrays in C# (#2710) 2025-05-12 18:11:01 +00:00
Jeffrey Dallatezza ea418d524d Use the --ignore-matching-lines flag of git diff. (#2720) 2025-05-12 16:12:07 +00:00
Mazdak Farrokhzad 373e47db39 PagePool::{default -> new_for_test} + temporary hack for IN_MEMORY_CONFIG / test_index_scans (#2707) 2025-05-12 13:15:07 +00:00
Mazdak Farrokhzad d7d080de6b Deal wih AlgebraicType::Ref in Serialize for ValueWithType<ArrayValue> (#2708) 2025-05-12 12:50:01 +00:00
Shubham Mishra 41c316c984 Commitlog stream range fix. (#2721) 2025-05-10 04:06:05 +00:00
Phoebe Goldman 3ce4d852f6 Log instead of panicking when missing a row from st_client (#2722) 2025-05-09 18:22:02 +00:00
joshua-spacetime 2699c0378f Hash subscription queries before acquiring tx lock (#2712)
Signed-off-by: joshua-spacetime <josh@clockworklabs.io>
Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
2025-05-09 16:41:24 +00:00
Kim Altintop 763acb7bfd snapshot: Improve memory utilization of snapshot fetcher (#2715)
Signed-off-by: Kim Altintop <kim@eagain.io>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2025-05-09 07:12:42 +00:00
Mazdak Farrokhzad f11b81461d sdk: fix with_light_mode docs (#2700)
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
2025-05-08 17:36:26 +00:00
Kim Altintop e32fc4af9c snapshot: Provide streaming snapshot verification. (#2691) 2025-05-08 15:59:58 +00:00
Phoebe Goldman 69a2ab7ee5 Fix SDK bug with overlapping subscriptions (#2711) 2025-05-08 14:36:27 +00:00
Kim Altintop a056796efb Prevent ahash from pulling in getrandom 0.3 (#2714) 2025-05-08 14:33:58 +00:00
Noa c5f1d8d0dd Use spacetimedb-standalone to get schema for spacetime generate (#2644) 2025-05-07 21:56:53 +00:00
joshua-spacetime 5611e402a8 Fix subscription manager metadata for joins (#2705) 2025-05-06 20:59:16 +00:00
james gilles 7dddee91eb Reduce allocations in C# when deserializing lists and arrays (#2688) 2025-05-05 17:28:53 +00:00
Rafael Guerreiro 0f70e63304 Simple implementation of insert_or_update and try_insert_or_update (#2678)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-05-02 15:51:48 -04:00
Jeffrey Dallatezza 14ba750155 Add information about the CLI version to generated code. (#2673) 2025-05-01 21:17:30 +00:00
joshua-spacetime dc3dd68ebc Do not double compress transaction update messages (#2668) 2025-04-30 16:22:30 +00:00
joshua-spacetime b1002f70a2 Avoid reflection when validating enums (#2676) 2025-04-29 22:29:31 +00:00
Zeke Foppa 99d13282df CI - Publishable crates check also checks for license file (#2681)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-29 20:20:42 +00:00
Noa 020d64c1f1 Split client codegen out into its own crate (#2593)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-29 17:54:25 +00:00
Jeffrey Dallatezza 228ec0c8d8 Add the primary key type to typescript's TableRuntimeTypeInfo (#2671) 2025-04-28 21:14:32 +00:00
Rafael Guerreiro 4e896b8964 Add .DS_Store to gitignore (#2659) 2025-04-28 15:05:32 -04:00
Mazdak Farrokhzad eb589728c6 Allocate pages using a mult-tenant lock-free pool (#2587) 2025-04-28 17:35:19 +00:00
Kim Altintop 7f0502ecf7 Replication Smoketest Cleanups (#2675)
Co-authored-by: Shubham Mishra <shubham@clockworklabs.io>
Co-authored-by: Shubham Mishra <shivam828787@gmail.com>
2025-04-28 11:39:07 +00:00
joshua-spacetime 59faab8a1f Remove redundant rows from subscription updates (#2654) v1.1.1-hotfix1 2025-04-24 00:54:07 +00:00
joshua-spacetime 2f33924d61 Prune queries from subscription evaluation (#2641) 2025-04-23 23:49:38 +00:00
joshua-spacetime 7a6d59c988 Do not double compress subscribe messages (#2665) 2025-04-23 23:37:34 +00:00
james gilles eeb3333f1f Implement OnUnhandledReducerError in C# (#2636) 2025-04-23 22:38:58 +00:00
Zeke Foppa 118e59de14 CI - Do some basic checks that crates are publishable (#2660)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-23 17:08:43 +00:00
Jeffrey Dallatezza 69ec80331f Typescript Generation: Wrap union types in parens if for arrays (#2615) 2025-04-22 19:32:18 +00:00
Zeke Foppa 3083c1b83e Bump versions to 1.1.1 (#2658)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-22 19:20:17 +00:00
Mario Montoya 4bc618f467 Return the query text with subscription errors (#2609) 2025-04-21 20:57:49 +00:00
joshua-spacetime f69113f536 Fix filter pushdowns in the presence of rls (#2653) 2025-04-21 19:33:22 +00:00
joshua-spacetime 304b4881ff Do not publish RLS rules on private tables (#2645) 2025-04-21 19:32:57 +00:00
Zeke Foppa 6ebb2abe34 spacetimedb-update self-install fails if the install fails. (#2642)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-21 18:47:25 +00:00
Jeffrey Dallatezza 9f09e8ac53 Use camel case for typescript unique indexes (#2628) 2025-04-21 17:58:02 +00:00
Zeke Foppa 2d0b4127c2 CI - Test spacetimedb-update self-install (#2637)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-19 01:44:20 +00:00
John Detter ae85f64bcb Fix error with the install script (#2635)
Co-authored-by: John Detter <no-reply@boppygames.gg>
2025-04-18 18:51:48 +00:00
Mazdak Farrokhzad 65e12b994b datastore: fix two inserts in tx state with unique idx (#2610) 2025-04-17 19:20:47 +00:00