Hub 2.5.0: a New install of Events 3.x installs the church's Accounts first

A release's "requires accounts" is met at install: Accounts then the
product in one batch (the product runs only after Accounts succeeded; a
failed Accounts fails the product's record and frees its ports). Accounts
domain from the form, or accounts.<rest of the domain>. An Accounts older
than required is refused. Contracts 1.8.0 vendored. 4 new tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 14:17:58 +02:00
co-authored by Claude Opus 5.5
parent 575c0cac68
commit 05d043e0a3
10 changed files with 172 additions and 24 deletions
+18
View File
@@ -5,6 +5,24 @@ versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [2.5.0] - unreleased
For Cross Events 3.0 (crosscode-platform `docs/EVENTS-3.0-PLAN.md` §9), which signs in through the
church's Accounts. Contracts 1.8.0 (`backend/vendor/`).
### Added
- **New install meets the release's requirements.** A release that needs Accounts ("— requires
accounts 1.1.0" in its notes, as Cross Events 3.0) installs the church's Accounts first when it
has none: two installs in one batch, Accounts (an `install` job, or `add-product` next to the
church's other products) and then the product (`add-product`), which only runs once Accounts
succeeded. If Accounts fails, the product's record fails and its ports are freed. Accounts goes
on `accounts.<the rest of the domain>` (`events.grace.co.za` → `accounts.grace.co.za`) unless the
form's new **Accounts domain** says otherwise. A church whose Accounts is older than required is
refused ("Update its Accounts first"), as is a release no Accounts release is new enough for.
Cross Events 3.0 connects itself to the church's Accounts once both are listed, so no one has to
press Connect.
## [2.4.0] - 2026-11-19
### Added