Sebastian Jeltsch
a9f56a8ee0
Update rust dependencies.
2025-04-13 11:59:26 +02:00
Sebastian Jeltsch
914a9b3f03
Make query mix benchmark's slow queries slower and group benchmarks with throughput as requested.
2025-04-13 11:12:08 +02:00
Sebastian Jeltsch
844ccfa80c
Add a mixed query benchmark to trailbase-sqlite and make all benchmarks concurrently hammer the connection.
2025-04-12 15:23:17 +02:00
Sebastian Jeltsch
faa1712601
Add read benchmarks to trailbase-sqlite.
2025-04-12 13:09:22 +02:00
Sebastian Jeltsch
d0d60857eb
Add a shared and TL/pool SQLite connection implementation to the benchmarks as a mere reference.
...
These implementations are dangerous since despite being behind an async
API, they block on I/O and can thus clog up the tokio runtime. Which is
fine if SQLite is all you do but really bad if other, independent work
gets stalled.
2025-04-12 11:56:47 +02:00
Sebastian Jeltsch
458adcf9ec
Add a benchmark scaffold to sqlite.
2025-04-12 10:35:55 +02:00
Sebastian Jeltsch
871a4db6be
Prepare new release v0.9.1.
v0.9.1
2025-04-09 12:06:39 +02:00
Sebastian Jeltsch
79a2dbd155
Fix: JSON API schemas are now properly tied to API rather than table with correct expansion config.
2025-04-09 11:48:06 +02:00
Sebastian Jeltsch
2df6fe7988
Minor: slightly stricter SQL parser admin API.
2025-04-09 09:23:07 +02:00
Sebastian Jeltsch
a2d84ca059
Update Rust dependencies.
2025-04-08 22:56:25 +02:00
Sebastian Jeltsch
2789a54eac
Move JS assets into a separate crate to avoid unecessary rebuilds as much as possible.
2025-04-08 22:50:50 +02:00
Sebastian Jeltsch
f34ee1968f
Move json_schema to schema crate.
2025-04-08 15:29:29 +02:00
Sebastian Jeltsch
8a9fc26d08
Move Table/View Metadata to schema column.
2025-04-08 14:03:46 +02:00
Sebastian Jeltsch
f863f46b67
Move sqlite schema representation to schema crates.
2025-04-08 13:11:12 +02:00
Sebastian Jeltsch
c0c7681f4a
Restructure crates: make the sqlite execution model more standalone, i.e. move more extension stuff back to extension crate and schema stuff to a new schema crate.
2025-04-08 12:25:10 +02:00
Sebastian Jeltsch
503d7cae9b
Pass connection constructor to prepare for broader concurrency models.
2025-04-08 10:05:56 +02:00
Sebastian Jeltsch
15bd04ec28
Update routing in docs to match new routing syntax in axum v0.8. Thanks @Newex. Fixes #43 .
2025-04-07 22:24:47 +02:00
Sebastian Jeltsch
599b6a4d06
Cherry-pick better rule validation from _fields_ branch.
2025-04-06 17:05:08 +02:00
Sebastian Jeltsch
c127e492eb
Update Rust dependencies.
2025-04-06 11:49:54 +02:00
Sebastian Jeltsch
5f1702a560
Minor: fix link for Rust client on the website.
2025-04-05 17:58:00 +02:00
Sebastian Jeltsch
ff17f913fb
Minor: fix drizzle name typo in benchmark graph.
2025-04-04 20:59:04 +02:00
Sebastian Jeltsch
fdfd363cfd
Prepare new release v0.9.0.
v0.9.0
2025-04-04 14:39:36 +02:00
Sebastian Jeltsch
5936cd6a9d
Bump Rust version for docker builds to latest stable v1.86.
2025-04-04 13:27:14 +02:00
Sebastian Jeltsch
f7cce2dc44
Fix logging: deterministically and separately initialize log and tracing.
2025-04-04 13:23:26 +02:00
Sebastian Jeltsch
ecad4d14ee
Update benchmark results.
2025-04-04 01:39:37 +02:00
Sebastian Jeltsch
31d7dc4158
Use statement cache in more places.
2025-04-03 21:59:23 +02:00
Sebastian Jeltsch
355b86576a
Bump Rust version to 1.85 for docker builds to allow for async closures.
2025-04-03 10:46:56 +02:00
Sebastian Jeltsch
011b0a5550
Update Rust dependencies.
2025-04-03 10:28:56 +02:00
Sebastian Jeltsch
0e6886d5bf
Update JS deps.
2025-04-03 10:04:23 +02:00
Sebastian Jeltsch
5ce5819780
Cherry-pick improvements and cleanups from experimental hidden-columns branch.
2025-04-03 09:43:34 +02:00
Sebastian Jeltsch
e7ac7d81f9
Constrain select queries for record reads/listing to specific columns.
2025-04-02 18:24:18 +02:00
Sebastian Jeltsch
8dd3ee6fe7
Remove last dependencies from record API on the underlying view/table schema. This will allow defining a per API schema.
2025-04-02 17:49:02 +02:00
Sebastian Jeltsch
e773dc0f26
Move more responsibility to the RecordAPI in preparation for filtering columns.
2025-04-02 15:57:24 +02:00
Sebastian Jeltsch
b12deb7702
Clean out Table and View metadata and move more responsibility to RecordApi.
2025-04-02 14:53:04 +02:00
Sebastian Jeltsch
b45cfb837f
Further improve file handling: limit deletion retries and RAII wrapper to ensure file cleanup on update/create failure.
2025-04-02 12:22:56 +02:00
Sebastian Jeltsch
b07b378a4b
Make rust client's error handling more explicit, less leaky and easier to match.
2025-04-02 11:14:07 +02:00
Sebastian Jeltsch
c060e7e863
Cleanup overridden files on upsert.
2025-04-02 00:17:07 +02:00
Sebastian Jeltsch
54e42cb254
Add a periodic cleanup job to retry failed file deletions.
2025-04-02 00:17:07 +02:00
Sebastian Jeltsch
f85d8ded07
Write errors back to pending file deletions.
2025-04-02 00:17:07 +02:00
Sebastian Jeltsch
edfbd4c4f6
Manage file deletions through an auxiliary table: "_file_deletions" and triggers.
...
This allows deleting files eagerly w/o a transaction (i.e. pre-op query to get
old values), allows for defered cleanups, and retries.
2025-04-02 00:15:05 +02:00
Sebastian Jeltsch
a10df1c50a
More minor cleanups to create record API path. Moreover, document an issue with dangling files.
2025-03-31 15:36:32 +02:00
Sebastian Jeltsch
4da0e42183
Minor: clean up some email code and add more tests.
2025-03-31 12:21:28 +02:00
Sebastian Jeltsch
d9525cd754
Minor: remove log dep from library crates.
2025-03-31 11:26:03 +02:00
Sebastian Jeltsch
911f27abdc
Add loginMessage?= to demo links.
2025-03-30 22:15:03 +02:00
Sebastian Jeltsch
c5b82c9ef3
Prepare new release v0.8.4.
v0.8.4
2025-03-30 17:48:58 +02:00
Sebastian Jeltsch
13f5a8e09c
Minor: some of indirection in subscription access checking.
2025-03-30 13:39:21 +02:00
Sebastian Jeltsch
d89738ca3e
Move subscription read record query construction from preUpdateHook time to RecordApi-construction-time.
2025-03-30 13:10:14 +02:00
Sebastian Jeltsch
82e0799dfc
Move UpdateRecordAccessQuery to templates, cleanup templates and add more tests.
2025-03-30 12:41:24 +02:00
Sebastian Jeltsch
3737ee1846
Move auth UI from minijinja to askama.
2025-03-29 22:53:10 +01:00
Sebastian Jeltsch
f5cc1b349e
Use askama jinja templates for more complex queries.
2025-03-29 22:50:20 +01:00