Erin Power
01ebc71a15
chore: remove unused dependencies. #175
2025-11-17 10:38:53 +01:00
Sebastian Jeltsch
7fe146e1a5
Remove column schema assertions, which may be temporarily violated, e.g. when streaming in row-by-row during a scheme alteration.
2025-11-13 22:28:21 +01:00
Sebastian Jeltsch
8c55e406c8
Remove singleton json schema registry.
2025-11-11 13:16:37 +01: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
d94f491b81
Create a new unique filename for uploads {stem}_{rand#10}.{ext} in accordance with e.g. vite or PB. Use this as the primary way of accessing files. Having a filename extension may be useful for some consumers and having a unique name helps with content-caching strategies. #155
...
Also strip/hide uuid. Not really secret but we don't want folks to rely on it over the unique filename.
2025-09-26 14:19:18 +02:00
Sebastian Jeltsch
80519668ef
Minor: address clippy lint issues.
2025-09-23 13:55:23 +02:00
Sebastian Jeltsch
07ecd4daf0
Simplify the acquisition of transaction locks in JS runtime.
2025-08-25 11:52:07 +02:00
Sebastian Jeltsch
bb91f3e11f
Back-port tb-sqlite improvements: support for ArcLock, improve connectoin setup, and remove no longer needed add_preupdate_hook.
2025-08-25 11:35:26 +02:00
Sebastian Jeltsch
29d73d996d
Add an experimental /api/transaction/v1/execute endpoint for mutating (create, update and delete) records across multiple APIs in a single transaction. #124
...
The endpoint is disabled by default and needs to be enabled in the configuration. Indepdently, the various client libraries do not yet support this new API.
2025-08-16 20:57:05 +02:00
Sebastian Jeltsch
b7349dd91c
Update Rust toolchain to latest stable: 1.89.0.
2025-08-10 17:48:14 +02:00
Sebastian Jeltsch
b7695d12dd
Fix cleanup of pending file deletions and add more tests.
2025-08-07 13:44:36 +02:00
Sebastian Jeltsch
7a8c31c8e9
Cleanup: move all Rust code into a crates/ directory.
2025-08-07 10:02:32 +02:00