Commit Graph

180 Commits

Author SHA1 Message Date
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
Sebastian Jeltsch
5802219c39 Update JavaScript dependencies. 2025-09-18 15:57:52 +02:00
Sebastian Jeltsch
4ac105a266 Update wstd and publish new trailbase-wasm v0.2.0. 2025-09-18 09:52:52 +02:00
Sebastian Jeltsch
74940e2a8c cleanup: remove dangling Cargo.locks. 2025-09-16 10:34:42 +02:00
Sebastian Jeltsch
907f6bcbcf Update blog example to tailwind v4. 2025-09-12 13:30:00 +02:00
Sebastian Jeltsch
3dc74d4df9 Update admin UI to tailwind v4. 2025-09-12 12:56:06 +02:00
Sebastian Jeltsch
0db9a90e71 Update examples/collab-clicker-ssr to tailwind v4. 2025-09-12 11:47:42 +02:00
Sebastian Jeltsch
ced96071f4 Update JavaScript dependencies. 2025-09-12 11:14:37 +02:00
Sebastian Jeltsch
bacf981203 Publish rust wasm guest runtime and make examples/wasm-guest-rust hermetic. 2025-09-10 22:02:26 +02:00
Sebastian Jeltsch
c0a78c2963 Prepare npmjs release of "trailbase-wasm" and make examples/wasm-guest-(js|ts) standalone. 2025-09-10 15:22:03 +02:00
Sebastian Jeltsch
4b9df89104 Update JS dependencies. 2025-09-09 20:45:28 +02:00
Sebastian Jeltsch
b4f651498b Migrate examples/collab-clicker-ssr to WASM. 2025-09-09 18:22:36 +02:00
Sebastian Jeltsch
5cb677ae55 Migrate examples/coffee-vector-search to WASM. 2025-09-09 18:22:36 +02:00
Sebastian Jeltsch
1fbf0f862e Add TypeScript WASM guest runtime and examples. 2025-09-09 18:22:33 +02:00
Sebastian Jeltsch
f1ec808622 Add Rust WASM guest runtime and examples. 2025-09-09 15:39:38 +02:00
Sebastian Jeltsch
55149a1734 Add WASM host-runtime to TrailBase and rebrand relevant command-line flags. 2025-09-09 15:39:35 +02:00
Sebastian Jeltsch
e48623ae35 Update JS dependencies. 2025-08-31 11:58:28 +02:00
Sebastian Jeltsch
aaf4f09bab Fix permissions of collab-clicker-ssr example. 2025-08-28 14:28:12 +02:00
Sebastian Jeltsch
23cb966f6d Update Rust and JS dependencies. 2025-08-19 17:40:26 +02:00
Sebastian Jeltsch
3365e3a867 Update solid-js and fix form tests it broke. 2025-08-12 15:06:03 +02:00
Sebastian Jeltsch
84a78d26ea Update JS deps. 2025-08-12 13:41:40 +02:00
Sebastian Jeltsch
e6cabbf01c Update dependencies. 2025-08-08 09:05:50 +02:00
Sebastian Jeltsch
7a8c31c8e9 Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
Sebastian Jeltsch
b478bec65e Docs: update roadmap. 2025-08-05 12:45:33 +02:00
Sebastian Jeltsch
598f15cc06 Rename redirect_to query parameter to redirect_uri in accordance with RFC 6749.
Reference: https://datatracker.ietf.org/doc/html/rfc6749#appendix-A.6
2025-08-05 11:51:02 +02:00
Sebastian Jeltsch
65a6ed9045 Move TanStack/db example to a less missleading location, document it and update JS dependencies. 2025-08-05 11:50:02 +02:00
Sebastian Jeltsch
f638b52531 Update JS dependencies. 2025-08-04 21:10:54 +02:00
Sebastian Jeltsch
864b26bbd9 Avoid workspace references for examples to allow copying (including Docker coyping it into a build environment) #121 2025-08-04 13:58:23 +02:00
Sebastian Jeltsch
8aa922984d Update JS dependencies. 2025-07-31 16:11:56 +02:00