Commit graph

  • fd1d3c6d05 Increase default statement cache size from 16 to 256. async-tx Sebastian Jeltsch 2026-04-21 11:08:41 +0200
  • ee5391cfb6 Add a dedicated backup function. Sebastian Jeltsch 2026-04-21 09:50:30 +0200
  • 395dcc206c Minor: use prepared_cached in more places. Sebastian Jeltsch 2026-04-21 09:18:46 +0200
  • 7a51bf684b PoC: Dummy client with custom Statement impl to bind parameters. Sebastian Jeltsch 2026-04-20 23:09:30 +0200
  • 51c392f417 PoC: Have bind use new Statement abstraction. Sebastian Jeltsch 2026-04-20 19:20:09 +0200
  • 20ec8b62d9 Remove more leaky uses of rusqlite types. Sebastian Jeltsch 2026-04-20 18:57:20 +0200
  • 20d1c87998 Reduce ToSqlProxy's minimal lifetime to make it more applicable. Sebastian Jeltsch 2026-04-20 13:13:11 +0200
  • a1bb4dbbcb WIP: Add statement abstraction for bind. Sebastian Jeltsch 2026-04-20 13:06:57 +0200
  • a982610b04 Remove unused code. Sebastian Jeltsch 2026-04-19 21:16:36 +0200
  • 62b8deb932 Introduce a new SyncConnectionTrait. Sebastian Jeltsch 2026-04-19 21:06:35 +0200
  • ffba509511 WIP: Move batch record APIs to new SQLite APIs. Not working yet. Sebastian Jeltsch 2026-04-19 10:29:42 +0200
  • cd6be154df WIP: Remove more uses of leaky call_writer. Sebastian Jeltsch 2026-04-18 22:22:09 +0200
  • ec84d88218 Minor. Sebastian Jeltsch 2026-04-18 22:06:39 +0200
  • 06580d264c Replace Transaction::query_row_get with less generic Transaction::query_row. Sebastian Jeltsch 2026-04-18 20:25:40 +0200
  • adb204a336 Tidy up refinery implementation. Sebastian Jeltsch 2026-04-18 20:13:33 +0200
  • 33752bfb7f WIP: use trailbase_sqlite transactions in more places. Sebastian Jeltsch 2026-04-18 13:54:33 +0200
  • 279b5b4776 PoC: Adopt new async migration runner in one place. Sebastian Jeltsch 2026-04-18 13:19:31 +0200
  • c6d298ecc0 Add an untested refinery migration driver for trailbase_sqlite::Connection and extend transaction API for that. Sebastian Jeltsch 2026-04-18 12:53:30 +0200
  • cd8465fa6e Use new transaction abstractions for TransactionRecorder. Sebastian Jeltsch 2026-04-18 10:37:14 +0200
  • 94afd88318 WIP: Adopt new transaction API in more places. Sebastian Jeltsch 2026-04-18 10:03:26 +0200
  • 9c6e1a299b PoC: use new transaction APIs. Sebastian Jeltsch 2026-04-17 22:26:25 +0200
  • 8c5476589d Add a basic PoC transaction async callback API. Sebastian Jeltsch 2026-04-17 16:13:29 +0200
  • 47c061b900 Prepare new release v0.26.4. main v0.26.4 dev Sebastian Jeltsch 2026-04-17 17:17:43 +0200
  • 3e5a030be2 Update Rust dependencies. Sebastian Jeltsch 2026-04-17 17:00:17 +0200
  • 919dad9634 Remove more immediate uses of rusqlite::Connection. Sebastian Jeltsch 2026-04-17 13:14:17 +0200
  • fd7e34a8c3 Make server limits configurable. Sebastian Jeltsch 2026-04-17 12:34:24 +0200
  • e08e648a0f Model DB transactions from WASM as a WASI resource and use a watchdog task to force unlock the DB after 60s. Sebastian Jeltsch 2026-04-16 21:12:49 +0200
  • 810d3073b6 Remove dedicated begin method from Transaction WASI resource and instead rely on async constructor. wasi-tx Sebastian Jeltsch 2026-04-17 11:11:22 +0200
  • 055a9cb4da Add a watcher task to force-unlock pending transactions from WASM after 60s. Sebastian Jeltsch 2026-04-17 10:38:57 +0200
  • 21d419b566 Share WASI transaction implementations. Sebastian Jeltsch 2026-04-17 09:22:45 +0200
  • 974b0d7630 Model transaction resources as a backward-compatible minor WIT update. Sebastian Jeltsch 2026-04-17 08:12:11 +0200
  • 4a531eae64 Add a RAII cleanup test. Sebastian Jeltsch 2026-04-17 07:48:07 +0200
  • 732ffb179d Ues Transaction WASI resource in JS and bump WASI component versions. Sebastian Jeltsch 2026-04-17 00:48:10 +0200
  • 3f9ae2f0c8 Implement Transaction WASI resource for Rust host and guest (JS guest pending). Sebastian Jeltsch 2026-04-17 00:25:37 +0200
  • 7581ea0edb WIP Sebastian Jeltsch 2026-04-16 21:12:49 +0200
  • a692d8857a Have DB transcation WASM host implementations await a DB lock asynchronously. Add more tests. Sebastian Jeltsch 2026-04-16 17:35:58 +0200
  • b95fd271b5 Explicitly mark read-only sqlite connections using the query_only pragma. Sebastian Jeltsch 2026-04-15 16:30:39 +0200
  • c09821de0b Add updated/created timestamps to accounts page in the admin dashboard. Sebastian Jeltsch 2026-04-15 16:16:25 +0200
  • 81b4853aed Cleanup trailbase-sqlite error handling. Sebastian Jeltsch 2026-04-15 15:56:53 +0200
  • eac139dcfe Use index-0 SQLite thread both for reading and writing. Additionally, some more API consistency/cleanups. Sebastian Jeltsch 2026-04-15 15:06:52 +0200
  • a58af3e612 Audit remaining uses of "leaky" trailbase_sqlite APIs and remove some unecessary uses. Sebastian Jeltsch 2026-04-15 13:06:58 +0200
  • 6e9f0bb1e3 Move trailbase-sqlite APIs around and further untangle rusqlite from Row[s]. Sebastian Jeltsch 2026-04-15 10:23:31 +0200
  • 32648c44aa Minor: update PocketBase comparison docs. Sebastian Jeltsch 2026-04-14 16:57:14 +0200
  • fdec5d359f Prepare new client releases. Sebastian Jeltsch 2026-04-14 16:51:40 +0200
  • 1c7bccef08 Prepare new release v0.26.3. v0.26.3 Sebastian Jeltsch 2026-04-14 16:27:39 +0200
  • 68221d0545 Update Rust dependencies. Sebastian Jeltsch 2026-04-14 16:16:04 +0200
  • 9fb76a07ba Swift client: log out on 401 token refresh. Sebastian Jeltsch 2026-04-14 15:31:44 +0200
  • fefe1c73eb Rust client: log out on 401 token refresh. Sebastian Jeltsch 2026-04-14 14:26:59 +0200
  • c522194617 Python client: log out on 401 token refresh. Sebastian Jeltsch 2026-04-14 14:07:43 +0200
  • 65a063d483 Kotlin client: log out on 401 token refresh. Sebastian Jeltsch 2026-04-14 14:02:32 +0200
  • f2b613e5ce Go client: log out on 401 refresh token. Sebastian Jeltsch 2026-04-14 13:47:48 +0200
  • 938cc346d3 Dotnet client: log out on 401 token refresh. Sebastian Jeltsch 2026-04-14 13:22:40 +0200
  • c752fda85e Dart client: log out on 401 token refresh. Sebastian Jeltsch 2026-04-14 13:12:59 +0200
  • f4c4d540c7 Improve error message from unexpected WASM component failures, e.g. a component panics. Sebastian Jeltsch 2026-04-14 11:46:51 +0200
  • 5e907590f4 Stricter WASM SQLite query filter to avoid specific sqlean SELECT queries to run on read-only connections. Sebastian Jeltsch 2026-04-14 11:20:00 +0200
  • 62e5553204 Minor: cleanup blog example. Remove unnecessary use of sqlean. Sebastian Jeltsch 2026-04-14 10:29:12 +0200
  • 62cd6f4ce5 TS client: 401s during token refresh now unset the user. There's no means to recover. Sebastian Jeltsch 2026-04-14 10:28:34 +0200
  • d4cd85dd73 Make auth-ui's profile login more resilient to invalid cookies. Sebastian Jeltsch 2026-04-14 10:28:03 +0200
  • 4dc6ce0b90 Load *.wasm components via symlinks. Fixes blog example's auth UI. Sebastian Jeltsch 2026-04-14 09:40:37 +0200
  • 4f6b305497 Clean-up trailbase_sqlite::Connection options and fix benchmark builds. Sebastian Jeltsch 2026-04-13 23:05:21 +0200
  • 3e0ae46971 Absorb rusqlite's FromSql trait and start experimenting with a polymorphic connection type. Sebastian Jeltsch 2026-04-13 15:17:35 +0200
  • 01f0edb5ef PoC: split sqlite connection into a public API and an internal minimal rusqlite executor. Sebastian Jeltsch 2026-04-13 11:35:23 +0200
  • 5defef582f Fix invalid use of sqlean's SELECT define() in test setup. Sebastian Jeltsch 2026-04-14 10:41:21 +0200
  • 59ec41a260 Further reduce leaky trailbase_sqlite::Connection API surface. Sebastian Jeltsch 2026-04-12 12:52:34 +0200
  • 02744361fa Remove leaky rusqlite::Error from public APIs. We're still leaking rusqlite::Connection itself in Connection::call.* and locking APIs. sqlite Sebastian Jeltsch 2026-04-11 12:23:54 +0200
  • 61c18b7b39 Stop leaking rusqlite::types::Value and use trailbase_sqlite::Value. This is generally good practice but also a pre-requisite if we ever wanted to support other DBs. Sebastian Jeltsch 2026-04-11 10:50:00 +0200
  • 23b659b8c6 Introduce our own Value/ValueRef types to trailbase_sqlite. This is generally good practice but also a pre-requisite if we ever wanted to support other DBs. Sebastian Jeltsch 2026-04-11 01:38:08 +0200
  • 4076942b97 WIP: trailbase_sqlite gets its own Value/ValueRef types. Sebastian Jeltsch 2026-04-11 01:38:08 +0200
  • 45d57de178 Prepare new release v0.26.2. v0.26.2 Sebastian Jeltsch 2026-04-09 11:18:55 +0200
  • 4e9ea268ff Remove unsafe query construction from WASM guest examples and add a safe string-literal construction utility to guest runtimes. Sebastian Jeltsch 2026-04-09 10:42:29 +0200
  • 083a2880b2 Reduce locking during config access in reactivity library - use ArcSwap instead - and use it downstream. Sebastian Jeltsch 2026-04-08 19:48:04 +0200
  • 023ea1f72d Return Arc<Config> from AppState::get_config(). reader Sebastian Jeltsch 2026-04-08 22:06:28 +0200
  • 724e03766a Use ArcSwap. Sebastian Jeltsch 2026-04-08 21:51:18 +0200
  • 9dd573dbaa Add Sync and remove inplace update. Sebastian Jeltsch 2026-04-08 20:11:16 +0200
  • 0e63dde062 Use RwLock for reactive values. Sebastian Jeltsch 2026-04-08 19:48:04 +0200
  • 57375d29e8 Fork and streamline reactivate. Sebastian Jeltsch 2026-04-08 17:43:59 +0200
  • e4e109cb29 Prepare new release v0.26.1. v0.26.1 Sebastian Jeltsch 2026-04-08 14:09:02 +0200
  • 3ab6f288c0 Update Rust and JS dependencies. Sebastian Jeltsch 2026-04-08 14:05:45 +0200
  • eeb52692a8 Fix migration filename and named placeholder construction to work for any unicode character. Sebastian Jeltsch 2026-04-08 13:54:03 +0200
  • dcb5a7636d Add an allowlist for custom auth redirects. Sebastian Jeltsch 2026-04-07 20:11:04 +0200
  • 9c07c1693f Prepare client releases. Sebastian Jeltsch 2026-04-07 14:22:58 +0200
  • b4250f517e Prepare new release v0.26.0. v0.26.0 Sebastian Jeltsch 2026-04-07 13:43:17 +0200
  • 30d1920ce5 TS client: add an onLoss callback option to trigger some response to event loss. Sebastian Jeltsch 2026-04-07 11:24:21 +0200
  • f044969298 Kotlin client: add support for programmatic change event errors. Sebastian Jeltsch 2026-04-07 10:50:34 +0200
  • d77df8e18b Rust client: support programmatic change event error statuses. Sebastian Jeltsch 2026-04-07 10:13:32 +0200
  • 9dff848c37 Dart client: add more event decoding tests. Sebastian Jeltsch 2026-04-07 10:01:42 +0200
  • 0e5d7bc33f Python client: add event abstraction, parsing of programmatic error and sequence numbers. Sebastian Jeltsch 2026-04-07 07:44:53 +0200
  • ec9a8f605d Go client: support structured change event errors and sequence numbers. Sebastian Jeltsch 2026-04-06 21:49:07 +0200
  • 3138c732e6 C#/Dotnet Client: support new ErrorEvent format with programmatic status and add sequence numbers. Sebastian Jeltsch 2026-04-06 20:34:52 +0200
  • 1e5aa4a296 TS Client: support new error ChangeEvent encoding with programmatic status. Sebastian Jeltsch 2026-04-06 18:03:22 +0200
  • 7ca34c310c Switch ErrorEvent statuses to an integer representation and update Dart client to support it as well as sequence numbers. Sebastian Jeltsch 2026-04-04 22:15:59 +0200
  • e8eaacfc7c Massively overhaul change event execution model. Sebastian Jeltsch 2026-04-02 16:46:30 +0200
  • 175800287f Update Rust dependencies. Sebastian Jeltsch 2026-04-07 09:51:02 +0200
  • 847697c069 Fix WASM "ATTACH DATABASE" and sqlite error unpacking. #221 Sebastian Jeltsch 2026-04-07 08:15:59 +0200
  • d65979766e Simplify the brokering logic and locking. Sebastian Jeltsch 2026-04-01 16:32:59 +0200
  • 1f918d9022 Break up record api subscriptions into multiple files. Sebastian Jeltsch 2026-04-01 14:07:41 +0200
  • 299ab0f3d6 Add a stress test for subscriptions. Sebastian Jeltsch 2026-04-01 12:44:34 +0200
  • 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. Sebastian Jeltsch 2026-03-17 11:13:18 +0100
  • bb359d1588 TS client: add an onLoss callback option to trigger some response to event loss. sse-concurrency Sebastian Jeltsch 2026-04-07 11:24:21 +0200
  • f885613636 Kotlin client: add support for programmatic change event errors. Sebastian Jeltsch 2026-04-07 10:50:34 +0200