Commit Graph

208 Commits

Author SHA1 Message Date
Sebastian Jeltsch 4dc6ce0b90 Load *.wasm components via symlinks. Fixes blog example's auth UI.
Minor: also fix avatar fallback in blog example.
2026-04-14 16:17:17 +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 3ab6f288c0 Update Rust and JS dependencies. 2026-04-08 14:05:45 +02:00
yguenduez 0936519c1b Blog example: Increase Node version to 22 in Dockerfile
The used `Astro` does not support node v20 anymore.
2026-03-27 20:12:02 +01:00
Sebastian Jeltsch 1e8cd99fb4 TS client: rename s/Event/ChangeEvent + re-export as Event to stop confusing rollup. 2026-03-27 17:10:50 +01:00
Sebastian Jeltsch 4b0f33264a Update JS dependencies. Upgrade to TS6. 2026-03-26 11:21:16 +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 53b6f11337 Update stale "realtime SSR" docs to use WASM. 2026-02-25 11:54:50 +01:00
Sebastian Jeltsch def4c72b49 Stop rolling up trailbase-wasm types to avoid duplicating types per module and confusing tsc. 2026-02-19 14:51:22 +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 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 217d95a927 Update JavaScript dependencies. 2026-01-15 21:58:33 +01:00
Sebastian Jeltsch 8cd343013b Update JavaScript dependencies. 2026-01-11 23:02:27 +01:00
Sebastian Jeltsch 2a8a0eaa4a Update Rust dependencies. 2026-01-02 23:30:56 +01:00
Sebastian Jeltsch 0ab548e164 Update JavaScript dependencies. 2026-01-02 23:22:02 +01:00
Sebastian Jeltsch 91f6ca349a Add RUST_BACKTRACE=1 to example's WASM hot-reload script.
There seems to be a panic on Macs were sync sqlite-function WASM runtimes spawn a nested tokio runtime.
2025-12-26 08:55:56 +01:00
Sebastian Jeltsch e804788e5c Update JavaScript dependencies. 2025-12-18 12:13:02 +01:00
Sebastian Jeltsch 2073165810 Minor: fix typo in SSR example. 2025-12-16 22:05:29 +01:00
Sebastian Jeltsch 80f2f5e514 Update Rust and JavaScript dependencies. 2025-12-15 14:47:54 +01:00
Sebastian Jeltsch dc87b658d1 Move "main" DB migrations into <traildepot>/migrations/main to follow latest best practices. 2025-12-12 13:04:02 +01:00
Sebastian Jeltsch eda0f9303b Update JavaScript dependencies. 2025-12-05 14:58:38 +01:00
Sebastian Jeltsch df0f6894b6 Update Rust and JavaScript dependencies. 2025-12-03 20:55:02 +01:00
Sebastian Jeltsch e90d78e23b Update JavaScript dependencies. 2025-12-03 12:30:22 +01:00
Sebastian Jeltsch ed53c3e0c6 Update Rust and JavaScript dependencies. 2025-11-17 12:49:26 +01:00
Sebastian Jeltsch b30390cab1 Update Rust and JS dependencies. 2025-11-14 14:07:38 +01:00
Sebastian Jeltsch b010923ad4 Make example access clicker count more defensively, in case it was deleted (relevant for public demo). 2025-11-13 16:05:44 +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 8566b9ba96 Update JavaScript dependencies. 2025-11-03 10:59:06 +01:00
Sebastian Jeltsch 3b5beb8fc9 Update Rust dependencies. 2025-10-23 10:32:03 +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
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 940c329770 Update JavaScript dependencies. 2025-10-13 15:45:54 +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 9e766f1646 Use filename rather than index in admin UI when fetching images. 2025-10-07 13:51:33 +02:00
Sebastian Jeltsch db945733e9 Update Rust and JS dependencies. 2025-10-06 22:53:04 +02:00
Sebastian Jeltsch ba18a1a08a Update all workspace:* references to plain * and set prefer-workspace-packages to make examples more copyable. 2025-10-06 20:39:34 +02:00
Sebastian Jeltsch 7a384f2ca7 Update Rust dependencies. 2025-10-03 13:00:05 +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 0c2c59537f Restore ability of APIs to deal with STRICT tables weilding ANY columns. 2025-09-26 21:36:06 +02:00
Sebastian Jeltsch 353b913fe3 Update JavaScript dependencies. Fixes #157. 2025-09-25 23:16:04 +02:00
Sebastian Jeltsch 9b60cea394 Prepare new release v0.18.0. 2025-09-24 10:24:55 +02:00
Sebastian Jeltsch 06feb8d180 Remove built-in auth ui in favor of component. To install the comoponentized auth-ui run trail components add trailbase/auth_ui. 2025-09-23 22:24:47 +02:00
Sebastian Jeltsch 5d422ec713 Add metadata.textproto to .gitignore. 2025-09-22 15:41:23 +02:00