Commit graph

343 commits

Author SHA1 Message Date
Sebastian Jeltsch
3e5a030be2 Update Rust dependencies. 2026-04-17 17:00:17 +02:00
Sebastian Jeltsch
eac139dcfe Use index-0 SQLite thread both for reading and writing. Additionally, some more API consistency/cleanups. 2026-04-15 15:06:52 +02:00
Sebastian Jeltsch
fdec5d359f Prepare new client releases. 2026-04-14 16:51:40 +02:00
Sebastian Jeltsch
68221d0545 Update Rust dependencies. 2026-04-14 16:17:28 +02:00
Sebastian Jeltsch
01f0edb5ef PoC: split sqlite connection into a public API and an internal minimal rusqlite executor. 2026-04-14 12:17:26 +02:00
Sebastian Jeltsch
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.
Also stop leaking `rusqlite::Error`. Note that we're still leaking `rusqlite::Connection` itself in `Connection::call.*` and locking APIs.
2026-04-11 13:06:16 +02:00
Sebastian Jeltsch
4e9ea268ff Remove unsafe query construction from WASM guest examples and add a safe string-literal construction utility to guest runtimes. 2026-04-09 11:11:45 +02:00
Sebastian Jeltsch
083a2880b2 Reduce locking during config access in reactivity library - use ArcSwap instead - and use it downstream.
Previously accessing the config would require claiming an exclusive lock, sometimes warranting an expensive clone.
2026-04-09 11:10:52 +02:00
Sebastian Jeltsch
57375d29e8 Fork and streamline reactivate. 2026-04-08 17:43:59 +02:00
Sebastian Jeltsch
3ab6f288c0 Update Rust and JS dependencies. 2026-04-08 14:05:45 +02:00
Sebastian Jeltsch
9c07c1693f Prepare client releases. 2026-04-07 19:48:36 +02:00
Sebastian Jeltsch
d77df8e18b Rust client: support programmatic change event error statuses. 2026-04-07 14:09:34 +02:00
Sebastian Jeltsch
7ca34c310c Switch ErrorEvent statuses to an integer representation and update Dart client to support it as well as sequence numbers. 2026-04-07 14:09:26 +02:00
Sebastian Jeltsch
175800287f Update Rust dependencies. 2026-04-07 14:09:26 +02:00
Sebastian Jeltsch
299ab0f3d6 Add a stress test for subscriptions. 2026-04-07 14:09:26 +02:00
Sebastian Jeltsch
8cf7c09eb2 Fix builds for Rust client's ws feature. 2026-04-06 18:36:28 +02:00
Sebastian Jeltsch
f9baa6c8ae Update Rust dependencies. 2026-03-31 20:52:24 +02:00
Sebastian Jeltsch
9ecd7c11b7 Allow concurrent SELECTs from WASM guests, while still allowing the use of ATTACH/DETACH DATABASE. #221 2026-03-31 11:01:40 +02:00
Sebastian Jeltsch
d539a61057 Prepare and push new client releases. 2026-03-27 09:49:37 +01:00
Sebastian Jeltsch
fcc3f1353b Update Rust dependencies. 2026-03-26 11:07:43 +01:00
Sebastian Jeltsch
0d375aa3ef Update wasmtime v42 -> v43: pre-condition for eventually supporting WASIp3. 2026-03-23 20:35:15 +01:00
Sebastian Jeltsch
e6c47f2f6a Rust client: introduce a trait to allow for custom transport implementations #66.
Based on some prior definitions from "Sand I/O" I've seen, this probably
isn't entirely it, since there's still use of async I/O. At least this
should make testing easier.
2026-03-20 20:46:40 +01:00
Sebastian Jeltsch
ceba15c520 Update Rust dependencies. 2026-03-19 23:07:16 +01:00
Sebastian Jeltsch
0da2d46369 Prepare new client releases. 2026-03-16 22:07:50 +01:00
Sebastian Jeltsch
ab6cf97e55 Major Rusqlite version update. 2026-03-16 13:01:08 +01:00
Sebastian Jeltsch
1524d73cbc Rust client: add two-factor and OTP login support. 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
aa207c3710 Update Rust dependencies. 2026-03-10 09:06:31 +01:00
Sebastian Jeltsch
c0d077c2d7 Push temporary FOREIGN KEY constraint disablement into our version of refinery.
Also assert some invariants around our 1st party migrations.
2026-03-07 11:16:34 +01:00
Sebastian Jeltsch
9beeaffc39 Update Rust dependencies. 2026-03-06 12:43:14 +01:00
Sebastian Jeltsch
ed047361ef Update Rust dependencies. 2026-02-27 21:51:57 +01:00
Sebastian Jeltsch
09da29c69e Update Rust dependencies. 2026-02-25 12:09:12 +01:00
Sebastian Jeltsch
4cb5a7085b Fix botched workspace setup and update Rust dependencies. 2026-02-24 20:59:35 +01:00
Sebastian Jeltsch
05d868cbeb Minor: clean up trailbase-sqlite's dependencies. 2026-02-24 09:42:40 +01:00
Sebastian Jeltsch
ff58546960 Fix benchmark build and simplify Cargo workspace seutp. 2026-02-21 15:38:30 +01:00
Sebastian Jeltsch
18f08cad18 Update Rust dependencies. 2026-02-20 20:28:44 +01:00
Sebastian Jeltsch
617045cbd0 Make geos+litegis an optional build dependency for the core. Also remove wasm as a default feature to make breakages more apparent (also fixed an issue). 2026-02-20 20:28:40 +01:00
Sebastian Jeltsch
f3ee92ff94 Prepare releases of new client versions. 2026-02-19 19:17:59 +01:00
Sebastian Jeltsch
9a0abf85a3 Use bundled static GEOS build. 2026-02-19 16:25:19 +01:00
Sebastian Jeltsch
866ae62d08 Update Rust dependencies. 2026-02-19 15:30:10 +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
0c87da2a84 Update Rust dependencies. 2026-02-17 17:55:24 +01:00
Sebastian Jeltsch
3efec2186d Enable building an easily loadable standalone SQLite extension with all of TB's custom functions to minimize lock-in. #210
Remove trailbase-extension-so (due to compile limitations) from full --workspace test and clippy runs.
2026-02-16 12:06:30 +01:00
Sebastian Jeltsch
e840ffb417 Update Rust dependencies. 2026-02-13 11:39:48 +01:00
Sebastian Jeltsch
99646bb105 Add a bcrypt password-hash fallback to better support user imports from other providers and add auth0 user import via the CLI.
We will continue to use argon2 as the default for first-class TrailBase users.
2026-02-13 11:23:43 +01:00
Sebastian Jeltsch
da8bdccc63 Update Rust dependencies. 2026-02-10 14:57:10 +01:00
Sebastian Jeltsch
b1e6e02e42 Update Rust dependencies. 2026-02-06 13:24:17 +01:00
Sebastian Jeltsch
9419b27872 Update Rust dependencies. 2026-02-05 14:15:17 +01:00
Sebastian Jeltsch
bd07c1201f Update Rust dependencies. 2026-02-04 14:42:51 +01:00
Sebastian Jeltsch
c7714cfd5b Update Rust dependencies. 2026-02-03 16:08:55 +01:00