Prepare new release v0.8.0.

This commit is contained in:
Sebastian Jeltsch
2025-03-18 16:05:30 +01:00
parent 36d49cd46a
commit 910cac80c0
2 changed files with 28 additions and 16 deletions

View File

@@ -1,3 +1,14 @@
## v0.8.0
* Add support for periodic cron jobs:
* Add dashboard to admin UI to inspect, configure and trigger cron jobs.
* Users can register their own cron jobs from the JS runtime.
* Replace internal periodic tasks with cron jobs to increase configurability,
discoverabilty, and avoid drift.
* BREAKING: removed `backup_interval_sec` from proto config. When explicitly specified,
users will need to remove it from their `<traildepot>/config.textproto` and set an
appropriate cron schedule instead.
## v0.7.3
* Cleanup logs DB schema and log ids of authenticated users.

View File

@@ -231,7 +231,7 @@ function ServerSettings(props: CommonProps) {
);
}
function BackupImportSettings(props: CommonProps) {
function ImportSettings(props: CommonProps) {
const config = createConfigQuery();
const Form = (p: { config: ServerConfig }) => {
@@ -269,18 +269,19 @@ function BackupImportSettings(props: CommonProps) {
<div class="flex flex-col gap-4">
<Card class="text-sm">
<CardHeader>
<h2>Data Import {"&"} Export</h2>
<h2>Import {"&"} Export</h2>
</CardHeader>
<CardContent>
<p class="mt-2">
Data import and export is not yet supported via the UI, however
one can use any of the usual suspects like
<span class="font-mono">sqlite3</span>. This is thanks to
TrailBase non-invasive nature and not needing special metadata.
Any table <span class="font-mono">STRICT</span> typing and{" "}
Importing and exporting data via the UI is not yet supported,
however one can simply use the{" "}
<span class="font-mono">sqlite3</span> command-line utility.
Thanks to TrailBase's non-invasive nature, i.e. not requiring
special metadata, any table with{" "}
<span class="font-mono">STRICT</span> typing and an{" "}
<span class="font-mono">INTEGER</span> or UUIDv7 primary key
column, can be exposed via APIs.
column can be exposed via APIs.
</p>
<p class="my-2">Import, e.g.:</p>
@@ -432,20 +433,20 @@ const sites = [
label: "Auth",
child: AuthSettings,
},
{
route: "schema",
label: "Schemas",
child: SchemaSettings,
},
{
route: "jobs",
label: "Jobs",
child: JobSettings,
},
{
route: "import",
label: "Import & Export",
child: BackupImportSettings,
route: "schema",
label: "Schemas",
child: SchemaSettings,
},
{
route: "data",
label: "Data",
child: ImportSettings,
},
] as const;