Commit Graph

209 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
f942fb7771 Prepare minor release: v0.4.1. v0.4.1 2025-01-18 12:14:59 +01:00
Sebastian Jeltsch
ade3b78862 Update Rust deps fixing swagger builds. 2025-01-18 12:11:04 +01:00
Sebastian Jeltsch
04ceeb0913 Rust client: hide internal decode_auth_token. 2025-01-18 11:54:36 +01:00
Sebastian Jeltsch
756ed7a838 Update docs to include rust client and benchmarks to include rust client latencies. 2025-01-18 11:31:22 +01:00
Sebastian Jeltsch
4cfed81a69 Update stale Cargo.lock fixing CI. 2025-01-18 10:33:29 +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
Jaga Santagostino
273bea0ef6 Update starting-up.mdx link to schema 2025-01-16 23:10:12 +01:00
Sebastian Jeltsch
1aa8a40507 Update Rust dependencies. 2025-01-16 22:24:59 +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
6b65b5d616 Fix: Deleting a table must also delete record APIs referencing it to avoid leaving the config in an invalid state.
There's still an issue, where deleting a table will now update the
config bringing it out-of-sync with the client-side config cache, thus
temporarily preventing further config updates until periodic refetch.
2025-01-15 13:57:49 +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
0f1d38732f Bump Flutter version in GitHub test action . 2025-01-14 23:04:44 +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
0e14b84440 Update JS deps and prepare v0.4.0 release. v0.4.0 2025-01-14 16:14:14 +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
8712c5cf17 Minor: tidy up client-side subscription cleanup and add more tests. 2025-01-14 16:14:09 +01:00
Sebastian Jeltsch
a94b0113f1 Update Rust dependencies and address minor linter issues. 2025-01-14 11:11:17 +01:00
Sebastian Jeltsch
7e30940f79 Minor documentation updates. 2025-01-13 22:44:48 +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
acdc888653 Add more "realtime" tests especially for ACL checking 2025-01-13 22:44:03 +01:00
Sebastian Jeltsch
dfedb76342 Pro-active client-side subscription cleanup, e.g. on disconnect.
When the handler and thus the receiver gets dropped, a continuation is
scheduled to remove the dead subscription.
2025-01-13 22:41:18 +01:00
Sebastian Jeltsch
4614ec1215 Add realtime/subscription APIs to JS/TS client. 2025-01-13 22:41:18 +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
1828ebad5a Optimization: reduce allocations, cloning and re-encoding. 2025-01-13 22:40:27 +01:00
Sebastian Jeltsch
e2b0c0d05e Add support for table/recordapi-wide "realtime" subscriptions, i.e. insertions, updates, and deletions.
Remove subscriptions for missing table.
2025-01-13 22:38:50 +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
5706ff85fe Prepare release v0.3.4. v0.3.4 2025-01-08 22:38:48 +01:00
Sebastian Jeltsch
b73116f59f Update Rust deps again and remove pinned v8 version (head was previously borked). 2025-01-08 21:23:48 +01:00
Sebastian Jeltsch
6a607f5492 Fix benchmark. 2025-01-07 16:31:26 +01:00
Sebastian Jeltsch
ca285c0108 Update Rust dependencies and publish trailbase crate v0.0.2. 2025-01-07 16:10:25 +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
98922eedb6 Further reduce reliance on symlinks. We're still relying on symlinks for assets, thus Windows builds will still require a correct symlink setup (git + permissions). 2025-01-05 22:36:27 +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
263ec54375 Minor: mark rust example as unpublished and turn off noisy logging. 2025-01-04 22:28:24 +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
bd1f0d03c9 Move proto/ into trailbase-core. 2025-01-03 10:56:35 +01:00
Sebastian Jeltsch
a323429c05 Depend on forked refinery crates. 2025-01-03 10:32:37 +01:00
Sebastian Jeltsch
7ef775db78 Rename trailbase-core to trailbase (avoided directory rename for now).
Still can't publish a crate due to refinery. Refinery's latest release
doesn't work with the already weathered rusqlite.
2025-01-02 15:27:18 +01:00
Sebastian Jeltsch
b8305ecf5b Move UI assets into trailbase-core crate. 2025-01-02 09:48:16 +01:00
Sebastian Jeltsch
b71bab8336 Update Rust dependencies. 2025-01-02 09:45:20 +01:00