Commit Graph

236 Commits

Author SHA1 Message Date
Sebastian Jeltsch 847697c069 Fix WASM "ATTACH DATABASE" and sqlite error unpacking. #221 2026-04-07 14:09:26 +02:00
Sebastian Jeltsch be097c00c3 Add a sequence number to SSE change events. This is important to discover transparent re-connects and discover missed events on the client-side.
This change took a while, since I first switched to internally tagged unions, which would be easier to handle by most client.
However, after thinking carefully given the cost of wire-format changes, I concluded that externally tagged is the way to go.
It's needed to support different value schemas for insert/update/delete, which would be required for Avro.

In the future we should also add facilities to the client to discover such losses, e.g. using a callback API.
2026-04-07 14:09:22 +02:00
Sebastian Jeltsch c26ac29df1 Add debug-build JSON schema validation to records create/update/list. 2026-03-31 20:52:24 +02:00
Sebastian Jeltsch d539a61057 Prepare and push new client releases. 2026-03-27 09:49:37 +01:00
Sebastian Jeltsch 65e4252afb Python client: fix loop. 2026-03-26 13:36:54 +01:00
Sebastian Jeltsch 57ab485d33 Kotlin client: fix loop and pre-commit tests. 2026-03-26 13:36:54 +01:00
Sebastian Jeltsch 970c9e0cbd Dart client: cleanup make refresh token a free function to make the intent clearer. 2026-03-26 13:36:54 +01:00
Sebastian Jeltsch 4b0f33264a Update JS dependencies. Upgrade to TS6. 2026-03-26 11:21:16 +01:00
Sebastian Jeltsch 1749c9c689 Python client: add customizable transport abstration. 2026-03-23 20:48:05 +01:00
Sebastian Jeltsch 4024b85323 Kotlin client: add a Transport abstraction. 2026-03-23 20:35:17 +01:00
Sebastian Jeltsch 4dde89c879 Add a Transport abstraction to swift client, add a change event representation and failed attempt of adding change subscriptions.
At least on Linux I'm failing to receive SSE events :/.
2026-03-23 12:12:29 +01:00
Sebastian Jeltsch 15e39febc2 Go client: add a transport abstraction & remove client interface indirection. 2026-03-20 21:29:07 +01:00
Sebastian Jeltsch 684505e8cd Dotnet client: abstract transport, allow injecting custom impl and update dependencies. 2026-03-20 20:46:48 +01:00
Sebastian Jeltsch fc1e440732 Dart client: abstract transport and allow injecting custom implementation. 2026-03-20 20:46:48 +01:00
Sebastian Jeltsch b296eabfcf Add GitHub OAuth provider (validated) and fix OAutch callback cookie strictness: i.e. require secure/TLS for HTTPS sites in prod mode.
Previously, `secure` was set in dev mode.
2026-03-19 22:55:43 +01:00
Sebastian Jeltsch e2609c2521 Update to vite8. 2026-03-19 10:48:28 +01:00
Sebastian Jeltsch 61eb0734a9 Update docs to astro6 and update JS dependencies. 2026-03-19 10:21:00 +01:00
Sebastian Jeltsch 0da2d46369 Prepare new client releases. 2026-03-16 22:07:50 +01:00
Sebastian Jeltsch d897e962e8 Follow-up cleanup s/login2nd/loginSecond/. 2026-03-16 21:44:49 +01:00
Sebastian Jeltsch bcb1720b1c Add subscription support to Go client. 2026-03-16 21:33:25 +01:00
Sebastian Jeltsch 386d616fd6 Go client: add two-factor and OTP login support. 2026-03-16 12:23:12 +01:00
Sebastian Jeltsch ab6502a8c5 Python client: add two-factor and OTP login support 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch 10080fa127 Swift client: add two-factor and OTP login support. 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch 2b1ecd434d Dotnet client: add two-factor and OTP login support. 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch a433a04283 Kotlin client: add two-factor and OTP login support. 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch 0e74605861 Dart client: add two-factor and OTP login support. 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch 42f250a2b4 Various fixes and improvements. 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch 0cc3799af3 Add OTP auth flows: request code + login. Also add corresponding UIs to both admin UI and auth-ui crate. 2026-03-16 11:06:48 +01:00
Sebastian Jeltsch cf7f4db2d3 Add two-factor authentication using TOTPs. Also add registration & logins UIs to admin dash and the auth-ui crate.
Loosely based on maxirozay@'s https://github.com/trailbaseio/trailbase/pull/212.
2026-03-16 10:48:09 +01:00
Sebastian Jeltsch d2a6abda0b Add more KMP platform targets to Kotlin client to satisfy default CMP templates (especially iosSimulator, js, wasmJs). 2026-03-09 20:21:34 +01:00
Sebastian Jeltsch a9dd6bc523 Prepare publishing the new kotlin multiplatform client v0.3.0. 2026-03-09 11:09:57 +01:00
Sebastian Jeltsch c483cb72d7 Add initial support for RecordApi subscriptions to Kotlin client and update dependencies. 2026-03-09 11:09:43 +01:00
Sebastian Jeltsch 5af8d1e485 Turn kotlin client into a multi-platform build. 2026-03-09 11:09:20 +01:00
Sebastian Jeltsch c3ead55a1f Fix HTTP method-based routing for JS/TS WASM components with ambgious paths. 2026-03-07 22:25:40 +01:00
Sebastian Jeltsch a47af08675 Avoid multiple calls to init() per init for Rust guests and share Sqlite function declarations between init and dispatch. 2026-03-06 12:43:12 +01:00
Sebastian Jeltsch 79a219bb3e Expose wstd::rand in rust guests. Add a few more integration tests. 2026-02-27 22:37:14 +01:00
Sebastian Jeltsch b56ce4b544 Fix cross-platform builds after addiong GEOS dependency.
* GEOS couldn't build on MacOS due to CMake being to new :/.
* GEOS couldn't build on Linux MUSL, due to missing an appropriate g++ setup :/.

We're now downgrading cmake and are building in Docker on Linux :/.
2026-02-20 17:42:06 +01:00
Sebastian Jeltsch f3ee92ff94 Prepare releases of new client versions. 2026-02-19 19:17:59 +01:00
Sebastian Jeltsch 61567670f1 Add support for geospatial queries to all clients. The TS client also supports GeoJSON FeatureCollection output. 2026-02-19 15:29:00 +01:00
Sebastian Jeltsch 63210e2e7c Add support for WKB geometry columns, @within, @intersects & @contains spatial queries list and GeoJSON FeatureCollection output. 2026-02-19 15:28:45 +01:00
Sebastian Jeltsch ada26e2a7b Update JavaScript dependencies. 2026-02-19 11:10:09 +01:00
Sebastian Jeltsch 9365d86d81 Streamline JS/TS WASM HTTP handler, introduce HttpResponse.(status|ok|text|json). 2026-02-18 23:57:05 +01:00
Sebastian Jeltsch 91e3984f53 Update JavaScript dependencies. 2026-02-06 13:03:35 +01:00
Sebastian Jeltsch f34ee21df6 Update Rust dependencies and fix incompatibilities. 2026-02-01 11:04:22 +01:00
Sebastian Jeltsch 5b9b32e0ac Move sqlean/sqlite-vec loading to the CLI level and switch to maintained sqlite-vec fork: https://github.com/vlasky/sqlite-vec. 2026-02-01 11:04:22 +01:00
Sebastian Jeltsch a51add4d81 Fix type checker issues with python client and latest jwt lib. Also start using flake8 for more idiomatic code. 2026-01-31 23:07:17 +01:00
Sebastian Jeltsch 369785a7f1 Change client library's license to a "OSL-3.0 OR Apache-2.0" dual license. #192 2026-01-27 09:38:52 +01:00
Sebastian Jeltsch 5898fc9dba Merge WASM-host implementations for HTTP/Job handlers and SQLite functions. Also extend SQLite function state life-cycle to persist and be shared. 2026-01-23 13:34:57 +01:00
Sebastian Jeltsch fd9a026631 Update JavaScript dependencies & and downgrade Astro (newer versions break our docs, client islands broken?). 2026-01-20 15:12:41 +01:00
Sebastian Jeltsch 8ad3783716 Minor: update tag line. 2026-01-18 22:39:32 +01:00