Hub 2.24.0: update everything at a church to latest

A customer's Sites card has "Update everything to latest": every product
that's behind, in one batch (Accounts first, one at a time, stopping at the
first failure), scheduled or as an emergency, planned whole or not at all.
Later products keep Accounts at the version the batch updates it to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 08:20:21 +02:00
co-authored by Claude Opus 5.5
parent 6ccf492810
commit 2f2e7138ba
11 changed files with 314 additions and 19 deletions
+25
View File
@@ -5,6 +5,31 @@ versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [2.24.0] - 2026-11-27
No migration; no API is removed.
### Added
- **Update everything at a church to latest** (customer → Overview → Sites → "Update everything
to latest"). The popup lists each product with its version and its latest release, and which are
already on it. One click plans every product that's behind in one batch, one at a time:
Accounts first, then Cross Events, the Church Website and the App, stopping at the first failure
(the rest are told it's postponed). It can be planned like any update, at least 4 hours ahead, or
as an emergency with a reason and a two-factor code, at least 15 minutes ahead or as soon as
possible. Each product is checked as its own update would be, all before anything is made, so
it's planned whole or not at all. A product with an update already planned or running, or that
isn't live, stops it and is named. Each site's admin gets the usual email and banner.
`GET /api/admin/customers/:id/update-plan`, `POST /api/admin/customers/:id/update-all`
(audit `church_update_scheduled` / `emergency_church_update_scheduled`).
### Changed
- `scheduleUpdate` takes internal options for a church update: requirements met by a product
earlier in the same batch count as met, and a later product's deploy keeps Accounts at the
version the batch updates it to (before, it would have pinned the version Accounts ran when it
was planned, undoing the update before it).
## [2.23.1] - 2026-11-26
No migration; no API is removed.