1147 Commits

Author SHA1 Message Date
Sebastian Jeltsch 0ee62bab62 Prepare new release v0.20.4. v0.20.4 2025-10-30 15:24:05 +01:00
Sebastian Jeltsch 5d4cc4ce25 Address overflowing UI elements for column presets in admin UI. 2025-10-30 15:11:34 +01:00
Sebastian Jeltsch 8996d5ec2b Minor: drive by code de-nesting. 2025-10-30 14:46:17 +01:00
Sebastian Jeltsch feb59a3532 Responsively move admin UI's main nav to the top on small screens. 2025-10-30 14:26:57 +01:00
Sebastian Jeltsch f4dc44554e Switch to more actively maintained aes-gcm-siv crate (from aes-gcm) and clean-up cursor encryption code. 2025-10-30 12:42:12 +01:00
Sebastian Jeltsch 387f8ab9ab Update Rust dependencies, remove js-runtime from default crates, and address clippy issues. 2025-10-30 11:11:22 +01:00
Sebastian Jeltsch be98526619 Add missing (but unused) metadata.proto ts bindings. 2025-10-29 12:04:37 +01:00
Sebastian Jeltsch 7437614f44 Build static MUSL version for docker image. The "static" GLibc builds have known issues and we critically rely on not looking up hostnames. 2025-10-29 07:49:00 +01:00
Sebastian Jeltsch ab5dc6b2e1 Prepare new release v0.20.3. v0.20.3 2025-10-27 18:48:38 +01:00
Sebastian Jeltsch 3353182e59 Update Rust dependencies. 2025-10-27 18:48:38 +01:00
Sebastian Jeltsch 801d691768 Add untested Apple (or "Sign-in with Apple) OAuth provider.
I do not like adding untested code unstream, however apple makes it very hard to test, e.g. you cannot have a dev-service that accepts localhost callback addresses... . If you know of a way of testing "Sign-in with Apple" locally, please let me know 🙏.
2025-10-27 18:48:33 +01:00
Sebastian Jeltsch d6ca41ae03 Prepare new release v0.20.2. v0.20.2 2025-10-25 12:49:56 +02:00
Sebastian Jeltsch 5b1159d037 Update Rust dependencies. 2025-10-24 22:52:23 +02:00
Sebastian Jeltsch 27e582621d Simplify static asset handling and remove caching from index.html for all client-side routed SPA paths. 2025-10-24 20:38:06 +02:00
Sebastian Jeltsch b45ae6875f Prepare new release v0.20.1. v0.20.1 2025-10-23 13:40:03 +02:00
Sebastian Jeltsch 59360759cf Disable caching for static index.html assets. 2025-10-23 13:39:08 +02:00
Sebastian Jeltsch 3b5beb8fc9 Update Rust dependencies. 2025-10-23 10:32:03 +02:00
Sebastian Jeltsch 00896f2676 Fix issue with stale cached query results in admin SQL editor.
With v0.20.0 the internal representation of SQL values changed, which meant that the UI can no longer render the old format. Because the editor caches results, this lead to an error that could only be recovered from by deleting the browser's respective local storage. This change introduces an error boundary that informs the user and simply lets them re-execute the script to re-fetch data in the new format. This only affected existing users with pre-existing cached query results.
2025-10-23 10:25:05 +02:00
Sebastian Jeltsch 3aa0d208fe Prepare new release v0.20.0. v0.20.0 2025-10-22 11:20:16 +02:00
Sebastian Jeltsch 117bbcce82 Move trailbase-common to trailbase-sqlvalue.
Note that both trailbase-sqlvalue and trailbase-wasm-common should probably go away with WASIp3 using WASI for for all guest-host interactions.
2025-10-22 09:50:31 +02:00
Sebastian Jeltsch 3cebb7fa67 Minor: streamline some WASM Rust guest dependencies. 2025-10-22 09:50:08 +02:00
Sebastian Jeltsch 2b27613f38 Update Rust dependencies. 2025-10-22 00:44:01 +02:00
Sebastian Jeltsch 6b7c678934 Add a switch to change blob encoding in admin UI. 2025-10-22 00:30:58 +02:00
Sebastian Jeltsch b29d5b9cc3 Fix admin image url construction after changing to SqlValue. 2025-10-21 22:13:26 +02:00
Sebastian Jeltsch a245b458e6 More straight forward encoding APIs in TS client and remove non-url-safe public encoders. 2025-10-21 16:41:29 +02: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 a94650056f Fix blog for stricter SQL type parsing, i.e. change BOOLEAN to INTEGER. 2025-10-21 16:26:31 +02:00
Bilux c0f896f621 Provide a base64_url_safe modeled based on SQLite's own base64() extension. 2025-10-21 10:18:37 +02:00
Sebastian Jeltsch dc1978ff2e Update Rust dependencies. 2025-10-18 22:17:22 +02:00
Sebastian Jeltsch 605843b1c0 Model parsed column type information more closely after SQLite's. 2025-10-18 00:40:32 +02:00
Sebastian Jeltsch 27eee1c3ea Prepare a new release v0.19.2. v0.19.2 2025-10-14 14:47:57 +02:00
Sebastian Jeltsch 45312e94f4 Update Rust dependencies. 2025-10-14 14:38:57 +02:00
Sebastian Jeltsch fc968b7621 Developer experience: add a hot-reload watcher setup to TS/JS WASM examples. #161
Simply run `npn run dev`.
2025-10-14 14:15:17 +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 89eceb2b84 TS client tests: shuffle messages to ensure we're not just ordering by insertion order. 2025-10-13 15:45:54 +02:00
Brian Hicks 30c72034ea say to use _ROW_ on doc retrieval 2025-10-13 15:32:28 +02:00
Sebastian Jeltsch 82ae590442 Prepare new release v0.19.1. v0.19.1 2025-10-09 21:10:50 +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 642931d5b5 Parse large integer values as BigInt and display them correctly in the explorer/table view. 2025-10-09 20:29:13 +02:00
Sebastian Jeltsch 3f01ba5df8 TS client: stringify and parse i64 to BigInt when appropriate. Add tests. 2025-10-09 20:28:52 +02:00
Sebastian Jeltsch e149a065fa Use more column type information when un-parsing query params for filtered record listings. 2025-10-09 14:35:28 +02:00
Sebastian Jeltsch 4cfffe1901 Remove lossy query-parameter (qs) parse to Bool. We really can't now if "TRUE" was meant as a string or a boolean until we look at the data-type.
The `qs::Value::Double(_)` is technically lossy as well put one step at a time.
2025-10-09 13:25:23 +02:00
Sebastian Jeltsch c42d35ca5d Update Rust dependencies. 2025-10-09 12:58:59 +02:00
Sebastian Jeltsch ade42fc261 Prepare new release v0.19.0. Breaking changes: WASM-only and unique filenames in favor of index-based file access. v0.19.0 2025-10-07 21:51:01 +02:00
Sebastian Jeltsch ad5c65c537 Breaking change: remove support for getting files by index. 2025-10-07 21:51:01 +02:00
Sebastian Jeltsch 45b5dd2a7f Update TS client to use filenames instead of index-based files access. 2025-10-07 21:51:01 +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 06ed63c896 Prepare new release v0.18.5. v0.18.5 2025-10-07 15:05:33 +02:00
Sebastian Jeltsch 386a75aebc Add an explicit log warning where V8 is still in use. 2025-10-07 14:56:45 +02:00