Commit Graph

69 Commits

Author SHA1 Message Date
Sebastian Jeltsch
ce1b382c46 Add support for bulk record creation using the same POST entry point and update all clients. 2025-02-07 20:11:21 +01:00
Sebastian Jeltsch
ea61aeab45 Add dedicated documentation on how to model data and relations with SQLite and TrailBase. 2025-02-04 12:39:34 +01:00
Sebastian Jeltsch
933c55589e Fix stray COUNT field in list responses and add list counting support to the dart client. 2025-01-31 13:22:30 +01:00
Sebastian Jeltsch
5cec5482ee Also fail internal list handlers on invalid queries + various Admin UI state management issues.
The former surfaced a few issues in the admin UI, around FilterBar and
search query handling, i.e.
 * the filter bar value getting out of sync
 * filter not being reset when switching tables

Also fix stale config issue and hide "sqlite_" internal tables.
2025-01-31 12:43:49 +01:00
Sebastian Jeltsch
7e6512a95e Add filesystem API declarations to JS runtime. 2025-01-24 13:44:42 +01:00
Sebastian Jeltsch
4d54bba507 Publish new clients for rust and dotnet. 2025-01-22 13:13:07 +01:00
Sebastian Jeltsch
ebf25fa821 Add RecordApi.list examples to docs and streamline the list APIs for rust and dotnet. 2025-01-22 13:13:01 +01:00
Sebastian Jeltsch
288d13f7f8 Improve docs: add record API examples for Rust. 2025-01-21 17:05:00 +01:00
Sebastian Jeltsch
fb083bbd5b Publish a dart client update. 2025-01-20 14:41:14 +01:00
Sebastian Jeltsch
8f9d8ada9c Improve RecordApi docs by adding code examples (only Dart for now) and fix a small heartbeat decoding issue.
Partially addresses some of the issues with our lackluster docs: #22.
2025-01-20 13:08:31 +01:00
Sebastian Jeltsch
1042ea20e1 Prepare new release v0.5.0 and push new client versions. 2025-01-19 16:49:06 +01:00
Sebastian Jeltsch
2fb294f17c Breaking: nest records in output of RecordAPI.list to contain cursor now and potentially more in the future.
Also update all the client libraries to accept the new format.
2025-01-19 15:40:09 +01:00
Sebastian Jeltsch
04ceeb0913 Rust client: hide internal decode_auth_token. 2025-01-18 11:54:36 +01:00
Sebastian Jeltsch
98133052b0 Add support for "realtime" subscriptions to rust client. 2025-01-18 00:38:55 +01:00
Sebastian Jeltsch
9fdc206587 Optimize rust client: less allocations and locking. 2025-01-17 23:02:03 +01:00
Sebastian Jeltsch
b3d4cbd99f Add a rust client library to connect to a TrailBase instance via HTTP. 2025-01-17 15:21:07 +01:00
Sebastian Jeltsch
ade0e0b814 Release a new version of the dotnet client after bundling a documentation xml. 2025-01-15 23:26:58 +01:00
Sebastian Jeltsch
8e070f37df Break up dotnet client into src, test, and docs. 2025-01-15 22:31:17 +01:00
Sebastian Jeltsch
c719d8708b Add documentation to dotnet client. 2025-01-15 22:00:02 +01:00
Sebastian Jeltsch
83d67b8381 Fix stale record API paths in documentation, add subscriptions, and drive-by cleanup of dart tests.
Addresses #20.
2025-01-15 13:04:10 +01:00
Sebastian Jeltsch
351f5d2d9b Update and publish clients for JS/TS, dotnet, and Python. 2025-01-14 22:59:58 +01:00
Sebastian Jeltsch
0cd5df17ba Update Dart dependencies and publish an updated client version. 2025-01-14 22:48:36 +01:00
Sebastian Jeltsch
932e4d57af Minor documentation brush up. 2025-01-14 16:44:09 +01:00
Sebastian Jeltsch
205b16ac6a Add a PoC generator-based subscription API to the sync! python client.
To be actually useful short from running a separate subscription thread,
this should for sure be an async API. However, we don't currently have
an async client - TBD.
2025-01-14 16:14:14 +01:00
Sebastian Jeltsch
0d3ec835cd Improve python setup. 2025-01-14 16:14:14 +01:00
Sebastian Jeltsch
d295330e12 First version of a subscription API for the dotnet client. 2025-01-13 22:44:48 +01:00
Sebastian Jeltsch
5dde9c5c1f Add support for record and table-wide "realtime" subscriptions to the Dart client. 2025-01-13 22:40:51 +01:00
Sebastian Jeltsch
30f295e6fd Add "realtime" subscriptions for a specific record, i.e. updates and deletion. 2025-01-13 22:38:14 +01:00
Sebastian Jeltsch
4ae0966810 Update Axum to 0.8. 2025-01-06 11:36:04 +01:00
Sebastian Jeltsch
083dddc021 Poetry v2 redefined -C thus switching to -P restoring the original behavior. 2025-01-06 00:07:16 +01:00
Sebastian Jeltsch
fd31f9dcca Fix python formatter and linter after external python tooling update. 2025-01-05 14:34:23 +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
d2bd4971ac Sym-link trailbase-ts client to consolidate all JS deps under trailbase-core for package building. 2025-01-04 22:03:42 +01:00
Sebastian Jeltsch
b8305ecf5b Move UI assets into trailbase-core crate. 2025-01-02 09:48:16 +01:00
Sebastian Jeltsch
7e43e3b149 Update all dependencies. 2024-12-30 10:01:57 +01:00
Sebastian Jeltsch
8177a1ab22 Update JS dependencies. 2024-12-24 10:16:18 +01:00
Sebastian Jeltsch
c322d7817c Prepare v0.3.2 release. 2024-12-17 22:35:51 +01:00
Sebastian Jeltsch
af115d03f8 Update JS dependencies. 2024-12-11 22:05:40 +01:00
Sebastian Jeltsch
38b60b34c9 Make dotnet client AOT compatible. 2024-12-09 14:38:01 +01:00
Sebastian Jeltsch
03da541e14 Fix typo in NPM packages repository link. 2024-12-08 21:13:22 +01:00
Sebastian Jeltsch
fde7f4bfb0 Make sure that all clients encode special url characters correctly across all client libraries.
Drive-by: make their READMEs consistent again.
2024-12-08 11:28:44 +01:00
Sebastian Jeltsch
711536c12c Use URLSearchParams for params construction and fix filter splitting in JS. 2024-12-08 00:50:04 +01:00
Sebastian Jeltsch
05f4dea774 Update minor versions of JS dependencies. 2024-12-05 23:05:32 +01:00
Sebastian Jeltsch
fb0fe373f5 Remove query apis and improve docs in preparation for v3.0.
More context in the CHANGELOG.
2024-12-05 22:17:47 +01:00
Sebastian Jeltsch
697b2459ef Update JS and Dart dependencies. 2024-11-28 00:39:36 +01:00
Sebastian Jeltsch
70deee0c98 Update documentation after publishing python client to pypi. 2024-11-27 23:33:18 +01:00
Sebastian Jeltsch
07f0500f9f Add fist version of a TrailBase Python client including tests and CI setup 2024-11-27 13:29:56 +01:00
Sebastian Jeltsch
bc09fde7ab Implemented a custom JS event loop and use call_function_immediate with custom completers to allow interleaving multiple requests into the same isolate.
This avoids idle while JS is doing I/O and avoid corner-case of livelock when running out of free workers while TB calls itself.
2024-11-23 23:13:34 +01:00
Sebastian Jeltsch
338c4c77bb Add support for periodic tasks to JS runtime. 2024-11-21 13:15:02 +01:00
Sebastian Jeltsch
b004188a5a Introduce Method type to narrow js/ts runtime APIs. 2024-11-20 13:48:41 +01:00