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
c35c2acc41
It's been a little over 6 weeks since v0.19 removing V8 from the trail binary. This change now removes the code.
...
I wasn't sure how long to keep the code around as an optional feature. However, the latest wasmtime release pins serde to a version, which is incompatible with the latest (somewhat stale) deno/V8/SWC dependencies. In other words, updating wasmtime right now would break the V8 build :/. The state of the rustyscript/deno dependency chain had certainly been one of the driving factors to move to WASM. While it feels validating, it's a little sad to see V8 go... but at the least we want to make the removal eplicit (as opposed to a broken build) with this change.
2025-11-23 22:17:03 +01: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
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
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
7a8c31c8e9
Cleanup: move all Rust code into a crates/ directory.
2025-08-07 10:02:32 +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
a03dd11a5f
PoC @tanstack/db local-first example using record subscriptions.
...
There's still many open questions:
* What's the future of @tanstack/db? Currently a rapidly moving target.
* What's a good way to persist state locally to reduce gap to intitial
fetch.
* Could Compare-and-Swap (CaS) insert semantics help us.
2025-06-24 13:59:48 +02:00
Sebastian Jeltsch
e0f3cd5524
Update JS dependencies.
2025-06-11 12:38:04 +02:00
Sebastian Jeltsch
385a9ecceb
Use --prefer-offline over plain --offline for installing JS deps.
2025-06-04 11:12:24 +02:00
Sebastian Jeltsch
e897169aac
Move JS runtime into a separate crate.
2025-04-29 13:47:10 +02:00
Sebastian Jeltsch
2789a54eac
Move JS assets into a separate crate to avoid unecessary rebuilds as much as possible.
2025-04-08 22:50:50 +02:00
Sebastian Jeltsch
97dcc8e284
Minor: failed attempt of getting rid of second workspace. At least improve build.rs output.
2025-02-09 12:11:08 +01:00
Sebastian Jeltsch
c3a81d7359
Clean up examples and tutorials as well as minor doc tweaks.
...
Also add a reconnect loop to collab clicker.
2025-01-24 14:26:16 +01:00
Sebastian Jeltsch
a41f5f8f32
Add a collaborative clicker example demonstrating both realtime APIs and SSR, i.e. rendering HTML using SolidJS within the TrailBase JS/TS runtime.
2025-01-24 13:44:04 +01:00
Sebastian Jeltsch
f3d24e5bf2
Improve docs: add record API code examples for JS/TS.
2025-01-20 14:41:11 +01:00
Sebastian Jeltsch
c117bb9ba8
Move JS/TS client into trailbase-core/js/client to reduce the reliance on symlinks and fix windows builds.
2025-01-05 12:35:00 +01:00
Sebastian Jeltsch
b8305ecf5b
Move UI assets into trailbase-core crate.
2025-01-02 09:48:16 +01:00
Sebastian Jeltsch
6bb517a1b3
Add a new vector search + Web UI example.
2024-11-20 13:23:00 +01:00
Sebastian Jeltsch
5929582168
Move js runtime out with offline transpilation.
2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
bdb3735840
Squash all commits for a fresh start.
...
This is only to avoid accidentally leaking any secrets from early development especially in the light of short-sha attacks.
2024-10-30 23:38:56 +01:00