Commit Graph

58 Commits

Author SHA1 Message Date
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
Sebastian Jeltsch
fd050bd719 Publish dotnet client on NuGet.org. 2024-11-19 22:25:29 +01:00
Sebastian Jeltsch
dbd582275e Prepare release v0.2.2. 2024-11-19 14:40:47 +01:00
Sebastian Jeltsch
3fa8f51b8b Enable "web" APIs in JS runtime and test it. 2024-11-19 14:27:07 +01:00
Sebastian Jeltsch
dc261e3405 Release v0.2.0 with JS/ES6/TS runtime based on V8-engine and dotnet client. 2024-11-14 21:37:35 +01:00
Sebastian Jeltsch
21b59dce6e Wire user auth state into JS runtime. 2024-11-14 20:45:38 +01:00
Sebastian Jeltsch
0755444169 First stab at JS/TS scripting documentation. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
ad8839f28d Add HttpError custom exception to js runtime. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
8fa26c246f Minor: Write out js runtime to traildepot and rely on relative includes. Also some opportunistic cleanups along the way. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
7465203174 Add conversions and convenience for various content-types to the js runtime. Make handlers async. Also extend the test spin up wait time with the longer build times with v8. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
ab5513c825 Minor: Improve error handling and typescript integration. 2024-11-14 20:45:37 +01:00
Sebastian Jeltsch
6d37024ec4 Initial HTTP router setup: allow routing HTTP req/resp into and out of JS. 2024-11-14 20:45:37 +01:00