Runway 1.2.0

This commit is contained in:
Runway committed 2026-10-30 11:24:46 -06:00
1 parent 5fa0c1ef9f
commit 9144c206be
90 files changed
+2737 -554

No files matched your search

+15 -7
View File
@@ -11,23 +11,31 @@ settings — stays on files; this plugin is for plugins.
resuming after a failure.
- **Backups**: a site's full backup carries its database data in a portable format (PostgreSQL ↔ MariaDB); a restore
builds a new generation and switches only when everything loaded.
- **A health screen** in the application console (**Settings → Database**) with connection tests and recovery
actions; one line on each site's dashboard.
- **A health screen** in the application console (**Settings → Database**) with recovery actions; **connection
tests** below this plugin's settings form, which try the running connection and each provider's saved settings
before a restart applies them; one line on each site's dashboard.
- **Runway never fails to start because of the database**: the plugin connects after startup, on its own thread.
The product comes from a provider plugin — [`database-postgresql`](../database-postgresql) or
[`database-mariadb`](../database-mariadb) — which brings the driver; every statement Runway runs is written here.
[`database-mariadb`](../database-mariadb) — which brings the driver and, since 2.0.0, holds the server's settings
(host, account, password, TLS) on its own settings page; every statement Runway runs is written here. This plugin's
settings are the provider choice (`auto`: the one installed), the namespace and the limits.
- **Plugin id:** `database` (v`1.0.0`) — install folder `external/plugins/database/`
- **Requires:** Runway with SPI `1.1.0` or later (`requiresSpi: ">=1.1.0"`) and one provider plugin
- **Plugin id:** `database` (v`2.0.0`) — install folder `external/plugins/database/`
- **Requires:** Runway with SPI `1.2.0` or later (Runway 1.2.0; `requiresSpi: ">=1.2.0"`) and one provider plugin
2.0.0 or later
- **Bundles:** HikariCP `7.0.2` (Apache-2.0) in `lib/`; its license is in `THIRD-PARTY-NOTICES`
- **Publishes:** `mx.quest.database.spi` — the consumer interface (`DatabaseConsumer`, `Databases`, `PluginDatabase`,
`Scope`, `Dialect`) and the provider interface (`DatabaseProvider`, `ConnectionSettings`)
`Scope`, `Dialect`) and the provider interface (`DatabaseProvider`, `ConnectionSettings`, `ProviderSettings`,
`ProviderSettingsProps`)
## For operators
Installation, the server's grants, every setting, TLS, clusters, backups and recovery are in the kernel's
**ADMINISTRATION §11.1**.
**ADMINISTRATION §11.1**: *Setting it up, step by step*, *Setting it up without the console* (the provider's
`external/plugin-settings/database-postgresql.yml` or `database-mariadb.yml` file and its password), *Upgrading from
database 1.x* and *When it does not connect*. What site managers
see (the dashboard card, backups, the guestbook) is in the **SITE-MANAGER-GUIDE**, §8 and §12.
## For plugin authors