Commit Graph

1082 Commits

Author SHA1 Message Date
Sebastian Jeltsch be3cd2f6f7 Add an initial Kotlin client. #146 #144
Missing:
 * No docs examples yet.
 * No realtime subscriptions yet.

I'm not overly familar with Kotlin, so another set of eyes would be appreciated to converge towards a more idiomatic implementation.
2025-10-01 14:51:38 +02:00
Sebastian Jeltsch 972f6a50af Dart client: test addFilterParams and simplify token constructor. 2025-10-01 14:32:17 +02:00
Sebastian Jeltsch b7a0124d43 Dart client: remove abstractions, questionable APIs and failure modes. 2025-09-30 23:42:04 +02:00
Sebastian Jeltsch c09666f447 Prepare new release v0.18.3. v0.18.3 2025-09-30 18:05:21 +02:00
Sebastian Jeltsch 21ed66fefc Make clippy happy. 2025-09-30 17:27:39 +02:00
Sebastian Jeltsch 362e284d03 Remove WIT thread-id method after changing the execution model. 2025-09-30 17:22:01 +02:00
Sebastian Jeltsch be4e54fb53 Update Rust dependencies. 2025-09-30 16:31:51 +02:00
Sebastian Jeltsch 33a770d4ea Change WASM execution model from a per-component executor to a shared executor.
Previously, we were aiming for a simple non-Send parallel execution model to minimize overhead. However, wanting to allow many components, the isolation may become prohibitive. Now use a dedicated but shared Tokio runtime with `--runtime-threads` parallelism. This means WASM tasks, i.e. continuuations, are sent between threads. Naively, we would expect that work-stealing and higher utilization, will benefit most workloads.
2025-09-30 13:07:29 +02:00
Sebastian Jeltsch 3740d7da1f Prepare new release v0.18.2. v0.18.2 2025-09-29 12:57:13 +02:00
Sebastian Jeltsch 29c376564d Update Rust dependencies. 2025-09-29 12:49:44 +02:00
Sebastian Jeltsch 80a90c5062 Streamline filter query parsing and allow $and/$or sequences of length >= 1. 2025-09-29 12:48:54 +02:00
Shiv Kokroo 02915446e5 Fix multiple filters on the same column. #158
Previously, applying multiple filters to the same column (e.g., $gte and $lte for date ranges) would fail because the filter parsing logic only handled single operators per column. This commit modifies the filter parsing to detect when multiple operators are applied to the same column and automatically converts them into an AND composite filter.

This enables common use cases like filtering records within a date range:
- filter[date][$gte]=2025-01-01&filter[date][$lte]=2025-12-31

The fix is applied to parsing paths in filter.rs and includes a test to verify the behavior.
2025-09-29 11:15:54 +02:00
Sebastian Jeltsch 56c78c2ad8 Add support for record-filtered subscriptions to dotnet client. 2025-09-27 10:46:37 +02:00
Sebastian Jeltsch 280ec8c5df Prepare new release of TS client: v0.7.4. 2025-09-27 01:10:11 +02:00
Sebastian Jeltsch 171be0805f Update dart client to use http instead of dio and prepare new release v0.5.0. 2025-09-27 01:08:01 +02:00
Sebastian Jeltsch 42ea051772 Update blog example's JSON schemas and generated types after changing FileUpload. Also update dart/Flutter dependencies. 2025-09-26 22:05:06 +02:00
Sebastian Jeltsch 0c2c59537f Restore ability of APIs to deal with STRICT tables weilding ANY columns. 2025-09-26 21:36:06 +02:00
Sebastian Jeltsch 21b7a2e566 Add support for record-filters to realtime subscriptions in Dart client. 2025-09-26 17:58:58 +02:00
Sebastian Jeltsch 7b52aec71c Prepare new release v0.18.1. v0.18.1 2025-09-26 14:19:23 +02:00
Sebastian Jeltsch 45c5a3c375 Update Rust dependencies. 2025-09-26 14:19:23 +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 b930ad4070 Support SQL LIKE in subscription filters and comparing real to integer. 2025-09-26 09:56:16 +02:00
Sebastian Jeltsch da5cee0fd5 Add subscription filter support to ts-client. 2025-09-25 23:45:13 +02:00
Sebastian Jeltsch 2b9ca865a3 Allow specifying ?filter= query params on record table subscriptions for per-subscription filtering. 2025-09-25 23:26:55 +02:00
Sebastian Jeltsch 353b913fe3 Update JavaScript dependencies. Fixes #157. 2025-09-25 23:16:04 +02:00
Sebastian Jeltsch ca5d257182 Forward v8 feature to CLI. 2025-09-25 23:01:18 +02:00
Sebastian Jeltsch 6caf4e1a91 Clean up runner image before run. We started to run out of disk space. 2025-09-25 18:46:55 +02:00
Sebastian Jeltsch 7661f6599c Small cleanups and add a placeholder for record filters to subscription impl. 2025-09-24 22:46:00 +02:00
Sebastian Jeltsch b3084aee96 Add auth UI installation to getting started sections. 2025-09-24 22:14:49 +02:00
Sebastian Jeltsch 547754571c minor: tidy up rust client tests. 2025-09-24 14:14:45 +02:00
Sebastian Jeltsch 3964993abf Allow retrieving file contents by index and UUID. #155 2025-09-24 13:45:22 +02:00
Sebastian Jeltsch 5161295a38 Fix new user registeration. v0.18.0 2025-09-24 12:27:56 +02:00
Sebastian Jeltsch 9b60cea394 Prepare new release v0.18.0. 2025-09-24 10:24:55 +02: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 39380d5475 Update Rust dependencies. 2025-09-23 17:36:46 +02:00
Sebastian Jeltsch b83e0afa96 Prepare new release v0.17.4. v0.17.4 2025-09-23 14:13:28 +02:00
Sebastian Jeltsch d3db3282b1 Add super basic WASM component management for first-party components (currently only auth-ui) to the CLI.
Something like this could involve into a plugin eco-system but that is a long way. Also this is not a package/dependency manager, there's no notion of transitivity etc.
2025-09-23 13:58:08 +02:00
Sebastian Jeltsch 80519668ef Minor: address clippy lint issues. 2025-09-23 13:55:23 +02:00
Sebastian Jeltsch bd4cc18e84 Cleanup version handling. Parse out git version tag. 2025-09-23 12:24:07 +02:00
Sebastian Jeltsch 5d422ec713 Add metadata.textproto to .gitignore. 2025-09-22 15:41:23 +02:00
Sebastian Jeltsch e618d0f460 Add file upload integration test using multipart forms. 2025-09-22 12:43:51 +02:00
Sebastian Jeltsch cd56643092 Update Rust dependencies. 2025-09-22 12:11:00 +02:00
Bilux b4f4a2047c Add integation tests for JSON file upload using base64. 2025-09-22 11:51:19 +02:00
Sebastian Jeltsch 4f6276087f Add an init argument to init-endpoint to pass version and for future proofing. 2025-09-20 18:23:13 +02:00
Sebastian Jeltsch b3b5ae1f4d (De)serialize FileUploadInput's contents as bytes or base64 dependning on serialization format. #152 2025-09-20 09:55:38 +02:00
Sebastian Jeltsch 1d6209df70 Add a new metadata.Metadata proto separate from config to keep track of things last binary version. 2025-09-20 09:48:20 +02:00
Sebastian Jeltsch 2922606d4b Add a dedicated README.md to auth ui crate. 2025-09-19 20:25:42 +02:00
Sebastian Jeltsch e3e64137c0 Update Rust toolchain to latest stable 1.90. 2025-09-18 23:03:17 +02:00
Sebastian Jeltsch 70ed681863 Prepare new release v0.17.3. v0.17.3 2025-09-18 16:04:54 +02:00
Sebastian Jeltsch 5802219c39 Update JavaScript dependencies. 2025-09-18 15:57:52 +02:00