Commit Graph

176 Commits

Author SHA1 Message Date
Sebastian Jeltsch
1122206c0c Add a command to CLI to update all "first-party" components. 2025-11-20 11:36:11 +01:00
Sebastian Jeltsch
3e288c5727 Be less chatty about uncaught errors falling out of WASM-user-code in release buidlds. 2025-11-13 23:02:36 +01:00
Sebastian Jeltsch
3f690b85ec Update Rust and JavaScript dependencies. 2025-11-13 13:12:58 +01:00
Sebastian Jeltsch
5809a600fd Version WASM component interface, break up into packages, and add a new API for custom SQLite functions. 2025-11-12 14:31:02 +01:00
Sebastian Jeltsch
106437ea6d Update JavaScript dependencies. 2025-11-09 07:57:15 +01:00
Sebastian Jeltsch
2308c8d622 Update JS and Rust dependencies. 2025-11-05 17:11:47 +01:00
Sebastian Jeltsch
57a8c7510f Add dart bulk insertion and update tests for records with JSON columns. #170 2025-11-03 19:47:57 +01:00
Sebastian Jeltsch
8566b9ba96 Update JavaScript dependencies. 2025-11-03 10:59:06 +01:00
Sebastian Jeltsch
b9762f1d63 Fix initialization order issue for custom schemas (#170) and return client error for inputs rejected by SQLite CHECK constraint.
Also add both integration and end-to-end tests to ensure stability.
2025-10-31 14:44:09 +01:00
Sebastian Jeltsch
9e46a099d0 Stop encoding SQL values as generic JSON values (outside the context of the record API), i.e. for admin APIs and between WASM host/guest.
This lets us simplify the parsing and add back a lot of type-safety (including int64). As a side-effect, we basically had to complete reqrite the record insert/update handling in the admin UI.

Note, however, that this is a breaking change, since it touches serialization between WASM guests and host. Guest will need to be built against an updated guest runtime.
2025-10-21 16:40:45 +02:00
Sebastian Jeltsch
3bb22fc92b Use winch baseline compiler - instrad of cranelif - for WASM components in --dev mode. #161 2025-10-13 15:45:54 +02:00
Sebastian Jeltsch
940c329770 Update JavaScript dependencies. 2025-10-13 15:45:54 +02:00
Sebastian Jeltsch
a0101ed2db Dart client test: randomize the lexicograpical message order to make sure we're not just sorting by insertion order. 2025-10-09 21:01:36 +02:00
Sebastian Jeltsch
08bcf98e67 Disable V8 runtime by default (custom builds can still enable it) and add a truly static binary release for Linux using MUSL.
Building with MUSL required vendoring sqlite-vec and OpenSSL.

Also clean up no-longer-supported TypeScript guest scripts.
2025-10-07 20:47:28 +02:00
Sebastian Jeltsch
64efae9ff8 Update more docs references to V8 2025-10-07 14:10:50 +02:00
Sebastian Jeltsch
57573d1bc8 Add test for value conversion in subscription filters. #160 2025-10-07 12:25:40 +02:00
Sebastian Jeltsch
db945733e9 Update Rust and JS dependencies. 2025-10-06 22:53:04 +02:00
Sebastian Jeltsch
d6d0534df4 Dart client: make events more match-able and cache/share realtime subscriptions. 2025-10-03 16:25:33 +02:00
Sebastian Jeltsch
4548137813 Add kotlin examples to docs. #144 #146 2025-10-03 12:51:12 +02:00
Sebastian Jeltsch
1eca4bdb5e Add plugin and setup for publishing our kotlin client to maven central. 2025-10-02 23:35:16 +02:00
Sebastian Jeltsch
dfae76bed5 Make kotlin integration tests "hermetic" and hook 'em up with CI. 2025-10-01 20:24:19 +02:00
Sebastian Jeltsch
be3cd2f6f7 Add an initial Kotlin client. #146 #144
Missing:
 * No docs examples yet.
 * No realtime subscriptions yet.

I'm not overly familar with Kotlin, so another set of eyes would be appreciated to converge towards a more idiomatic implementation.
2025-10-01 14:51:38 +02:00
Sebastian Jeltsch
972f6a50af Dart client: test addFilterParams and simplify token constructor. 2025-10-01 14:32:17 +02:00
Sebastian Jeltsch
b7a0124d43 Dart client: remove abstractions, questionable APIs and failure modes. 2025-09-30 23:42:04 +02:00
Sebastian Jeltsch
362e284d03 Remove WIT thread-id method after changing the execution model. 2025-09-30 17:22:01 +02:00
Sebastian Jeltsch
56c78c2ad8 Add support for record-filtered subscriptions to dotnet client. 2025-09-27 10:46:37 +02:00
Sebastian Jeltsch
171be0805f Update dart client to use http instead of dio and prepare new release v0.5.0. 2025-09-27 01:08:01 +02:00
Sebastian Jeltsch
42ea051772 Update blog example's JSON schemas and generated types after changing FileUpload. Also update dart/Flutter dependencies. 2025-09-26 22:05:06 +02:00
Sebastian Jeltsch
21b7a2e566 Add support for record-filters to realtime subscriptions in Dart client. 2025-09-26 17:58:58 +02:00
Sebastian Jeltsch
353b913fe3 Update JavaScript dependencies. Fixes #157. 2025-09-25 23:16:04 +02:00
Sebastian Jeltsch
5161295a38 Fix new user registeration. 2025-09-24 12:27:56 +02:00
Sebastian Jeltsch
9b60cea394 Prepare new release v0.18.0. 2025-09-24 10:24:55 +02:00
Sebastian Jeltsch
5d422ec713 Add metadata.textproto to .gitignore. 2025-09-22 15:41:23 +02:00
Bilux
b4f4a2047c Add integation tests for JSON file upload using base64. 2025-09-22 11:51:19 +02:00
Sebastian Jeltsch
4f6276087f Add an init argument to init-endpoint to pass version and for future proofing. 2025-09-20 18:23:13 +02:00
Sebastian Jeltsch
5802219c39 Update JavaScript dependencies. 2025-09-18 15:57:52 +02:00
Sebastian Jeltsch
ced96071f4 Update JavaScript dependencies. 2025-09-12 11:14:37 +02:00
Sebastian Jeltsch
4b9df89104 Update JS dependencies. 2025-09-09 20:45:28 +02:00
Sebastian Jeltsch
1fbf0f862e Add TypeScript WASM guest runtime and examples. 2025-09-09 18:22:33 +02:00
Sebastian Jeltsch
f1ec808622 Add Rust WASM guest runtime and examples. 2025-09-09 15:39:38 +02:00
Sebastian Jeltsch
55149a1734 Add WASM host-runtime to TrailBase and rebrand relevant command-line flags. 2025-09-09 15:39:35 +02:00
Bilux
698e38d8ae Add non-transaction bulk support and expose bulk/transaction API as client.execute on JS/TS client. 2025-09-08 12:03:41 +02:00
Sebastian Jeltsch
2933806d1c minor: make the type-checker happy. 2025-08-25 20:38:57 +02:00
Bilux
213431744c Fix CompareOp Regex
I think it was misspelled should be `$re` instead of `re`?
2025-08-23 10:55:27 +02:00
Sebastian Jeltsch
7a8c31c8e9 Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
Sebastian Jeltsch
12883dfaf1 Minor: use futures-lite for rust client and update dependencies. 2025-08-05 09:33:22 +02:00
Sebastian Jeltsch
9f34854886 Work around broken python tooling and prepare new release v0.15.13. 2025-08-04 10:46:20 +02:00
Sebastian Jeltsch
308d6c2dab Make TS sql query/execute APIs more type-safe and consistently serialize/deserialize blobs as { blob: <urlSafeBase64(bytes)> }. 2025-07-31 15:54:03 +02:00
Sebastian Jeltsch
44806eebf0 Add the ability to pass urlSafeBase64 strings to query/execute as { blob: <contents> }. 2025-07-31 14:41:17 +02:00
Sebastian Jeltsch
6ec0fc3941 Increase the space of applicable VIEWs for Record APIs by treating top-level GROUP BY <single col> expressions as key-defining. #99 2025-07-28 22:50:08 +02:00