- A section's photo (hero, welcome, invitation, image-text) shows in the
shape of its frame for the current template and layout, with a Move and
zoom dialog: drag or arrow keys to choose what stays in view, zoom to
300%. Saved with the section as data.framing ({ x, y, zoom } by media
id), a draft until published. The site draws it with object-position
and scale() around that point; Bold split/collage frames now clip, and
a zoomed photo stays inside Heritage's mat. Framing for photos a section
no longer shows is dropped on save.
- Media library: each photo says where it's used; one used nowhere can be
deleted with its files (DELETE /admin/media/:id, 409 IN_USE otherwise,
audited as media_deleted).
Checked: Website backend tests (135) and typecheck, frontend typecheck,
lint and production build, and an e2e test of both flows in Chromium.
Lighthouse not run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
381 lines
30 KiB
Markdown
381 lines
30 KiB
Markdown
# Versions — the latest release of everything
|
||
|
||
Last updated: 2026-11-27. Taken from the git tags, which is what a release is here (branch → merge →
|
||
tag → push, see [HANDOVER.md](./HANDOVER.md) "Releasing"). **Update this file with every release.**
|
||
|
||
"Released" means tagged and pushed. Whether a release is **deployed** or rolled out is recorded
|
||
separately below; the two often differ.
|
||
|
||
## Released
|
||
|
||
| What | Repo | Latest | Tag | Released |
|
||
|------|------|--------|-----|----------|
|
||
| Cross Events | `crosscode-platform` (`apps/events`) | **3.7.2** | `events@3.7.2` | 2026-11-27 |
|
||
| Church Website | `crosscode-platform` (`apps/website`) | **1.7.0** | `website@1.7.0` | 2026-11-27 |
|
||
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.8.0** | `accounts@1.8.0` | 2026-11-26 |
|
||
| Server agent | `crosscode-platform` (`apps/agent`) | **1.6.0** | `agent@1.6.0` | 2026-11-27 |
|
||
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.19.0** | `contracts@1.19.0` | 2026-11-27 |
|
||
| Cross Code Hub | `events-hub` | **2.25.0** | `v2.25.0` | 2026-11-27 |
|
||
| crosscode.co.za | `crosscode-site` | **1.9.1** | `v1.9.1` | 2026-11-27 |
|
||
| `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-27 (last change: an uninstall keeps the Website's backup snapshots shared, `rsync -aH`) |
|
||
|
||
The `crosscode` script has no version: every server's copy (`/opt/crosscode/tools`) pulls `main`
|
||
on each run, so merging to `main` and pushing releases it. Its changes are listed in
|
||
[CHANGELOG.md](../CHANGELOG.md) under "crosscode script".
|
||
|
||
### Not tagged yet
|
||
|
||
| What | Where | Version in package.json |
|
||
|------|-------|-------------------------|
|
||
| `@crosscode/auth-client` | `packages/auth-client` | 1.1.0 (released with Events 3.0.0 and Accounts 1.1.0) |
|
||
| `@crosscode/seo` | `packages/seo` | 1.0.0 (released with Events 2.4.0) |
|
||
| `@crosscode/ui` | `packages/ui` | 0.3.0 (fonts, `ChurchFooter`; 0.2.0 with Accounts 1.7.0, 0.3.0 with Events 3.7.0) |
|
||
| Website | `apps/website` | 1.7.0 (1.0.0–1.1.0 released 2026-11-26, 1.2.0–1.7.0 on 2026-11-27; installed for the demo church cross-demo2 (1.6.1) only, Hope Family Church next) |
|
||
| App | `apps/app` | 0.0.0 (not started, phase 6) |
|
||
|
||
These shared packages ship inside the apps that use them, from the same checkout, so they don't
|
||
need their own tags until something outside this repo depends on them.
|
||
|
||
## What each latest release was for
|
||
|
||
- **Church Website 1.7.0 (2026-11-27):** a section's photo shows in the shape of its frame and can
|
||
be moved and zoomed (saved with the section, a draft until published); the media library says
|
||
where each photo is used and deletes one used nowhere. **Not deployed yet.**
|
||
- **Cross Events 3.7.2 + Church Website 1.6.1 (2026-11-27):** events from the other product no
|
||
longer show twice after a reseed: the 15-minute feed poll and "Sync now" fetch the whole list and
|
||
drop copies that are gone, and both demo loaders list the old events as removed and tell the
|
||
other product at once (Events' `set-demo.js` also fetches the Website's events back in). The
|
||
Website's header says "Events site" with an external-link icon instead of a second "Events".
|
||
**Deployed** 2026-11-27.
|
||
- **crosscode.co.za 1.9.1 (2026-11-27):** the web address examples (both product pages and the
|
||
Church Website brochure) say yourchurch instead of a real church's name (hopefamily). **Not
|
||
deployed yet.**
|
||
- **crosscode.co.za 1.9.0 (2026-11-27):** a Church Website brochure (`church-website-brochure.pdf`,
|
||
five A4 pages, from the site's data and the demo screenshots), linked from the Church Website
|
||
page; `npm run brochure` renders both brochures. The Website's founding offer no longer mentions
|
||
tiers. Brochure links carry a hash of the file (`?v=`), like the screenshots. **Deployed** 2026-11-27.
|
||
- **crosscode.co.za 1.8.1 (2026-11-27):** readable on dark: the template pages' "Compare the
|
||
templates" button (it was dark text on the navy hero) and the "Good for" text there, the
|
||
WhatsApp buttons' green (#168243, white text 4.9:1; was 3.1:1) and the Founding heading on the
|
||
Cross Events price table. axe (WCAG 2.2 AA) on all 16 pages, desktop and phone: no problems
|
||
(was 20). **Deployed** 2026-11-27.
|
||
- **crosscode.co.za 1.8.0 (2026-11-27):** each Church Website template's page shows the whole
|
||
demo website (a gallery of Plan your visit, About us, Ministries, Leadership, Events, an event,
|
||
Messages and Contact) and "the same template, a different church" (the template's second demo
|
||
profile). Screenshot URLs carry a hash of the file (`?v=`): `/assets/` is cached for 30 days, so
|
||
after deploying 1.7.1 the template grid still showed the old illustrated screenshots. The
|
||
Website's e2e server takes `/test/demo?profile=` for these screenshots (test helper only, no
|
||
Website release). **Deployed** 2026-11-27.
|
||
- **Church Website 1.6.0 + crosscode.co.za 1.7.1 (2026-11-27):** the demo church has real photos:
|
||
104 Unsplash stock photos (models; free under the Unsplash License, credited in
|
||
`apps/website/backend/demo-photos/CREDITS.md`, 12 MB) instead of the generated "hills and sun"
|
||
illustration: a set per demo profile, a portrait for every leader, a picture per event and a
|
||
photo per message (before: the stand-in video's thumbnail). Faster on phones: the collage hero,
|
||
the team's portraits and the ministry cards say their real width (`sizes`). No migration.
|
||
Checked: backend tests (131), the Website e2e (130; the variant screenshots taken again;
|
||
Lighthouse mobile 90–98 performance, 100 accessibility and SEO), typecheck, lint and both
|
||
builds. crosscode.co.za 1.7.1: the 24 Church Website screenshots taken again from the new demo.
|
||
**Deployed** 2026-11-27.
|
||
- **Church Website 1.5.0 + crosscode script (2026-11-27):** the nightly backup also backs up the
|
||
photos and files: a snapshot of `backend/uploads` in `backups/uploads-…/`, unchanged files hard
|
||
links to the last snapshot (after the first full copy, a night costs only the new files), with
|
||
its own switch on Admin → Backups. Script: an uninstall keeps the snapshots with `rsync -aH`. No
|
||
migration. Checked: backend tests (130), the admin e2e's axe check, both builds, typecheck and
|
||
lint, the website and uninstall bats tests (11). **Deployed** 2026-11-27. The script change is live (servers pull
|
||
`main`).
|
||
- **Church Website 1.4.0 (2026-11-27):** nightly database backups (02:20, `backend/backups/`, the
|
||
same files crosscode makes before updates) with Admin → Backups, and background jobs on pg-boss
|
||
(backup, Hub heartbeat, event feed, YouTube; before: plain timers) with Admin → Background jobs
|
||
to switch each on or off, reschedule or run it. The heartbeat reports the newest backup (before:
|
||
always none, so the Hub warned "No backup reported") and the real job state. No migration.
|
||
Uploads weren't in the backups (1.5.0 adds them). Checked: backend tests (125), the admin e2e (10, axe
|
||
on both new pages), both builds, typecheck and lint. **Deployed** 2026-11-27.
|
||
- **Hub 2.25.0 + Church Website 1.3.0 + agent 1.6.0 + contracts 1.19.0 + crosscode script
|
||
(2026-11-27):** demo clients and demo data for the Website. Hub: a customer can be a demo client:
|
||
every install a demo site (Accounts included, and any it gets later) and never billed (billing
|
||
off and locked, no invoice drafted, sent or made by hand). Any install can be marked as a demo
|
||
site; Events and the Website have demo data. One migration (`Customer.isDemo`, `demoSince`).
|
||
Website: eight demo churches, two per template, that replace the content only (the church's
|
||
profile from Accounts, the site settings, the site icon and the admins stay). Agent and script:
|
||
`crosscode demo <church> website --profile <p>`. No migrations outside the Hub. Checked:
|
||
contracts (271), agent (58), the Website's backend tests (115) and build, the script's bats
|
||
tests (107), the Hub's backend tests (283), frontend typecheck and lint. **Hub 2.25.0 and agent
|
||
1.6.0 deployed 2026-11-27.** Website 1.3.0 not yet (cross-demo2 reports 1.2.0), so the Website's
|
||
demo data can't be loaded there until it's on 1.3.0 or later.
|
||
- **Hub 2.24.1 (2026-11-27):** Servers → Updates offers every product. Its tabs were a fixed list of
|
||
Cross Events and Accounts from before the Church Website, so Website installs couldn't be updated
|
||
in a batch there; now Events, Accounts, the Church Website, and the App once it has an install.
|
||
Frontend only, plus one error message. No migration. Checked: the backend tests (279), frontend
|
||
typecheck and lint. **Deployed 2026-11-27.**
|
||
- **Church Website 1.2.0 + Hub 2.24.0 (2026-11-27):** Website: a new install had no pages, so the
|
||
home page and its live preview showed only the header and footer (found on cross-demo2); the
|
||
backend now adds the fixed pages with starter text at startup (all of them to a site with none,
|
||
else a missing home page; never one a church removed), Terms and Safeguarding included. Settings →
|
||
Site icon (a favicon from the media library; else the church's icon, else its initial on its
|
||
colour). The Latest message's Card layout got its name. No migration. Hub: "Update everything to
|
||
latest" on a customer's Sites card plans 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 batch's new version. No migration. Checked:
|
||
the Website's backend tests (104), the admin e2e (11, with axe), typechecks and lint; the Hub's
|
||
backend tests (279), frontend typecheck and lint. **Hub 2.24.0 deployed 2026-11-27; Website
|
||
1.2.0 on cross-demo2 the same day** (its health check says 1.2.0, `/site-icon` serves the default).
|
||
- **Accounts 1.8.0 + Church Website 1.1.0 (2026-11-26):** both admins redesigned as Cross Events' admin
|
||
dashboard and settings. Accounts: `/admin` is an overview, People moved to `/admin/people`, a
|
||
grouped sidebar showing the part you're in. Website: an icon sidebar, a dashboard, steps to the
|
||
first publish across the top, and a live preview beside the page editor (drafts for a framed
|
||
request with an admin session, no preview cookie). No migrations, no backend changes. Checked:
|
||
typechecks and lint, the Website's e2e (10, with axe on the admin and the editor) and Accounts' e2e
|
||
(11). **Deployed** 2026-11-27.
|
||
- **Accounts 1.7.1 + Church Website 1.0.2 + Cross Events 3.7.1 (2026-11-26):** found installing
|
||
the Website for cross-demo2. All three: a connect involving an install that isn't in the cached
|
||
copy of the Hub's list yet asks the Hub for a fresh one (one heartbeat, at most once a minute)
|
||
instead of refusing, so a new product links straight away. Before, the new Website's admin
|
||
couldn't sign in for up to 30 minutes ("can't reach your church's sign-in"). Accounts also sends a
|
||
heartbeat on every start. The Website links on the spot when someone opens `/admin`, its problem
|
||
page says "not linked yet" (`ACCOUNTS_NOT_LINKED`), and **Preview no longer redirects to the
|
||
server's own `http://localhost:<web port>`** (the preview routes built absolute URLs from
|
||
`request.url`; now relative). No migrations. Checked: the backend tests (Accounts 80, Website 100,
|
||
Events 801), typechecks, the Website's frontend lint and build, the preview redirects against
|
||
`next start`, and the Website's e2e suite (129 tests). **Deployed 2026-11-26 on cross-demo2 (the
|
||
demo church) only.** Open there: the Website's preview doesn't show the events synced from
|
||
Events, although Events' feed has 8 upcoming ones (not looked into yet).
|
||
- **Hub 2.23.1 (2026-11-26):** New install reads a church's Accounts version from its heartbeat,
|
||
not the install record. The record only changed with the Hub's own jobs for that product, so
|
||
cross-demo2's Accounts, updated alongside Events 3.7.0, still showed 1.6.0 there. New install →
|
||
Website was refused ("this church has 1.6.0") while the installs list showed 1.7.0. Each heartbeat
|
||
now also updates the record's version. No migration. **Deployed 2026-11-26.**
|
||
- **Hub 2.23.0 (2026-11-26):** release requirements carry forward. A release needs what every
|
||
earlier release of its product needed (the highest version per product; a later heading can raise
|
||
it, never lower or drop it), so `— requires accounts 1.7.0` is written once in WHATS-NEW.md, on
|
||
the release that first needs it. Found when New install → Website 1.0.1 sent a Website-only
|
||
`install` job, which agent 1.5.0 refused ("installs one product at a time: Events or Accounts"):
|
||
1.0.1's heading didn't repeat 1.0.0's requirement, so Accounts wasn't installed first. No
|
||
migration; the next release sync fixes the stored requirements. **Deployed 2026-11-26.**
|
||
- **Church Website 1.0.1 (2026-11-26):** the messages' YouTube thumbnails are served from the site
|
||
(`/api/thumbnails/<id>.jpg`, fetched once by the backend and kept in `uploads/.thumbnails/`), so a
|
||
visitor asks nothing of YouTube until pressing play (plan §7); the Calendar events' dates read
|
||
"Sun · November", not "Sun (month: November)". No migration. Checked: the backend tests (97),
|
||
the whole e2e suite on the release build (Lighthouse 12 of 12, performance 90–100: Heritage's
|
||
messages from 89 to 95), the 312 variant screenshots (taken again with whole-pixel section heights,
|
||
which ended a one-pixel flake), and an e2e check that the messages page makes no request to
|
||
YouTube or Spotify before a click. The `crosscode` script's Website export leaves out
|
||
`uploads/.thumbnails`. **Not installed for a church yet.**
|
||
- **Church Website 1.0.0 (2026-11-26):** the first release (WEBSITE-1.0-PLAN): four templates with
|
||
section variants and style settings, drafts, preview and one Publish, people and roles, messages
|
||
from YouTube, simple events and the event feed, church details through Accounts, SEO, Get more
|
||
storage. Requires Accounts 1.7.0. Checked before tagging: the backend tests, the e2e suite (every
|
||
template, the admin flows, Lighthouse on a phone; axe on every section variant ran in full on an
|
||
earlier build and on 36 of 104 on the final one), the admin flows
|
||
and pages on real Postgres (20/20), a backup restored (every table the same) and the uninstall
|
||
export on Postgres, the migrations against the schema. The VM test was skipped (no VM on
|
||
this machine; the install path was read through instead). **Not installed for a church yet.**
|
||
|
||
- **Contracts 1.18.0 + Hub 2.22.0 (2026-11-25):** "Get more storage" for the Church Website (WEBSITE-1.0-PLAN
|
||
§10, decision 12). Contracts: `hub.storageRequestSchema` and its reply. Hub: `POST
|
||
/api/installs/storage-request` (shown on the install, Joshua emailed once, closed when the licence
|
||
gets more extra storage steps), and the church emailed once at 80% and once when full, from the
|
||
Website's heartbeat. The Hub vendors contracts 1.18.0. No migration. **Deployed 2026-11-26.**
|
||
- **Hub 2.21.0 (2026-11-25):** New install offers the Church Website (Accounts first, at
|
||
`accounts.<its address>`); the FastPanel email sends a `www.` site's bare domain to `www.` with a
|
||
301. Extra Website storage is bought in 5 GB steps on the licence (Edit → Extra storage), sent to
|
||
the site as its limit (`limits.storageBytes`) and billed on the steps bought, no longer on usage.
|
||
Vendors contracts 1.17.0. **Migration:** `Licence.extraStorageSteps`. "Get more storage" comes
|
||
with the Website (contracts 1.18.0, Hub 2.22.0). **Deployed 2026-11-25.**
|
||
- **Events 3.7.0 (2026-11-24):** the public pages use the church's fonts, corners and the shared
|
||
church footer from its profile in Accounts (`GET /api/v2/church`, kept 10 minutes), with links to
|
||
its other sites in the header; `church.changed` from Accounts is now accepted (it answered 404
|
||
before). The dashboard and setup screens are unchanged. `@crosscode/ui` 0.3.0. No migrations.
|
||
Requires Accounts 1.7.0 (the Hub updates it first). **On cross-demo2 only** (by 2026-11-26, now
|
||
3.7.1); not rolled out to the churches yet.
|
||
- **Contracts 1.17.0 + Accounts 1.7.0 (2026-11-24):** the first piece of the Church Website. Contracts:
|
||
the 8 font pairings, corner styles and template ids (`./style`), an optional `branding.style` on the
|
||
church profile, `church.update` (the Website changes shared profile facts), an optional `website`
|
||
part of the church export and an optional `limits.storageBytes` on the licence. Accounts: Brand
|
||
style under Church profile, the church's fonts, corners and shared footer on its pages, and
|
||
`church.update`. No migrations. The Hub vendors contracts 1.17.0 with 2.21.0. **On cross-demo2
|
||
only** (by 2026-11-26, now 1.7.1); not rolled out to the churches yet.
|
||
- **Hub 2.20.0 (2026-11-23):** the port list says what each port is for (church, product, web or API,
|
||
linked to the install); a church server's hand-written frpc tunnels are listed as taken on each frp
|
||
config read. frps's allow_ports is checked against the port list (the Hub's range plus listed ports
|
||
outside it): an alert and Edit → Use the Hub's allow_ports when it leaves ports out. No migration.
|
||
Deployed 2026-11-23.
|
||
- **Hub 2.19.0 (2026-11-23):** the server agent's releases: a release source for the Server agent (in
|
||
the defaults: `agent@` tags, notes in `apps/agent/WHATS-NEW.md`), shown on the Releases page with how
|
||
many servers run each. Update agent picks a release (Latest by default, with its notes); the
|
||
Servers pages say when a newer agent is out. **Migration** (`AgentRelease`): run `prisma migrate
|
||
deploy`. A saved list of sources gets an "Add the agent's source" button.
|
||
Deployed 2026-11-23.
|
||
- **Hub 2.18.0 (2026-11-23):** releases are picked from a list, not typed: New install and Move onto
|
||
the monorepo (Events from 2.2.0) as well as an install's Update and the Updates page. Latest first,
|
||
then the newest 10, with Show older versions for the rest. Plan for agent releases (2.19.0) in the
|
||
Hub's `docs/VERSION-PICKERS-PLAN.md`. Frontend only: no migration, no API changes.
|
||
Deployed 2026-11-23.
|
||
- **Hub 2.17.0 (2026-11-23):** popups on the remaining pages: a server's configuration and Update
|
||
agent, the frp config (read-only on the card, Edit with the two-factor code), install defaults and
|
||
Mark as taken (Ports & defaults), Clear public key and notes on an install, and an invoice's lines
|
||
(Edit for drafts and approved ones; Void and Refund instead of the browser's prompt). Settings
|
||
forms that are the page itself stay as they are. Frontend only: no migration, no API changes.
|
||
Deployed 2026-11-23.
|
||
- **Hub 2.16.0 (2026-11-23):** every add and edit on the list pages is a popup like the customer
|
||
and install pages: Add server (the join command in the same popup), Add customer, New install,
|
||
Link existing, notices and releases (new and edit), release sources (a table; Edit opens the rows
|
||
and the token) and One-off invoice on Billing (with a church picker; `/billing/invoices/new` opens
|
||
it). Plan for the rest in the Hub's `docs/POPUPS-PLAN.md`. Frontend only: no migration, no API changes.
|
||
Deployed 2026-11-23.
|
||
- **Hub 2.15.0 (2026-11-23):** an install's page (Servers → Installs → one install) is a header
|
||
(status, Schedule update, a ⋯ menu for move onto the monorepo, demo site, uninstall and the two
|
||
removals) with tiles for the site, version, server, ports and last heartbeat, then tabs: Jobs,
|
||
Settings (.env), Exports. Every action is a popup like the customer page's, the .env files too
|
||
(the tab shows the values, Edit opens a file). Banners for not registered, no heartbeat and a
|
||
planned uninstall. Confirmations unchanged. Frontend only: no migration, no API changes.
|
||
Deployed 2026-11-23.
|
||
- **Hub 2.14.0 (2026-11-23):** the customer page is a summary header (products, owing, next invoice
|
||
with its estimate, address, AI) and three tabs: Overview, Products, Invoices and payments. Every
|
||
add and edit is a popup; each product is one card (licence and billing, one Save, suspend/revoke/
|
||
release in a ⋯ menu); contact and billing details are one form; the history is one timeline with
|
||
a filter. Record payment is a popup on Billing too. Frontend only: no migration, no API changes.
|
||
Deployed 2026-11-23.
|
||
- **crosscode.co.za 1.7.0 (2026-11-26):** the Church Website on sale (ROADMAP §9, phase 5): its own
|
||
page (`/products/church-website/`: features, the four templates with the same fictional demo church
|
||
in each, the section layouts, R99 a month, founding R64, extra storage R20 per 5 GB, the 15% bundle
|
||
with Cross Events, FAQ, `SoftwareApplication` JSON-LD with its offer) and a page per template; the
|
||
products and home pages, the contact form's topics, the Cross Events page and the brochure updated.
|
||
Screenshots from the Website's e2e demo (`npm run screenshots:website`). The Hub already had these
|
||
prices (2.21.0). **Deployed** 2026-11-27.
|
||
- **crosscode.co.za 1.6.1 (2026-11-23):** the web address choices on the Cross Events page are three
|
||
cards (name, price, "best if", an example address, short points); the option names were white on
|
||
a light background and couldn't be seen. Prices unchanged. Deployed 2026-11-23.
|
||
- **Hub 2.13.0 (2026-11-23):** alerts can be cleared by hand (one, or Clear all); a cleared alert
|
||
stays away until its problem is fixed and comes back, and isn't emailed again meanwhile. Billing
|
||
invoices, payments and churches, and a customer's invoices and payments, can be sorted by column
|
||
(remembered per browser). Fixed a stray scrollbar beside tab rows. Migration
|
||
`20261123120000_alert_cleared`.
|
||
- **Agent 1.5.0 + contracts 1.16.0 + Hub 2.12.0 + `crosscode` script (2026-11-23):** uninstalling
|
||
one product no longer removes the whole church (it removed cross-events-demo's Accounts with its
|
||
Events, which the Hub still showed as live). `crosscode uninstall|export|purge <church>
|
||
[product …]`; the last product to go removes the church. On the Hub: a second product's
|
||
uninstall can join one already planned or get its own time; Accounts goes last; a stale install
|
||
(no heartbeat for 24 hours) can be removed from the Hub; customers can be archived; a customer's
|
||
email and billing email take several addresses; statements show R0 invoices' amounts. **Update
|
||
the agents first** (the Hub refuses a one-product uninstall on an older agent while the church
|
||
has other products), then deploy the Hub (migration `20261123090000_customer_archive`).
|
||
|
||
- **Agent 1.4.0 + contracts 1.15.0 + Hub 2.11.0:** the agent finds frps's / frpc's config wherever
|
||
it is (the path set on the Hub, the systemd unit's `-c`, the usual places) and reads TOML too;
|
||
each server's Hub page reads and changes that config (secrets stay on the server, `verify`,
|
||
backup, restart, put back if frp doesn't start, two-factor); a new install first checks its
|
||
ports are free on the central server and the church server (`probe-ports`) and runs on a pair
|
||
free on both. Update the agents first (central and church), then deploy the Hub (migration
|
||
`20261121110000_server_frp_config`). With older agents the Hub installs as before, with a warning.
|
||
|
||
- **`crosscode` script (2026-11-20, later):** the database dump made before each Accounts deploy
|
||
(`backend/backups/`) no longer stops the next deploy as "added by hand" on Accounts below 1.3.0.
|
||
Released by pushing `main`; the next Hub job pulls it.
|
||
- **Hub 2.10.0:** every Hub email (job reports, alerts, emails to church admins, notices) laid out
|
||
as Events' and Accounts' are. The FastPanel email gives `location ^~ /api/` to paste, and Proxy
|
||
done refuses a site whose `/api` files reach the frontend. No migration.
|
||
|
||
- **Events 3.6.1 (fix):** logo and favicon uploads failed on events-demo: FastPanel's static-file
|
||
rule sent every `/api/…` path with a file extension to the frontend. The site now passes those on
|
||
to the backend. Also change the FastPanel site (HANDOVER.md, "FastPanel sites"). No migration.
|
||
|
||
- **Accounts 1.6.0:** a "New sign-in" email (and WhatsApp) after every sign-in, as Cross Events'
|
||
own sign-in sends; admins can turn it off. No migration.
|
||
|
||
- **Events 3.6.0 + Accounts 1.5.0 + contracts 1.14.0:** a nightly people check (Events asks Accounts
|
||
about everyone with an account, 500 at a time, `people.check`): out-of-date copies are fixed,
|
||
deleted accounts handled as `user.deleted`, and it stops if most people are unknown. Update
|
||
Accounts first (Events skips the check with an older one). No migrations; the Hub is unchanged.
|
||
|
||
- **Events 3.5.0 + contracts 1.13.0 + agent 1.3.1 + Hub 2.9.0:** loading demo data no longer deletes
|
||
the Accounts link (on events-demo nobody could sign in); a site in Accounts mode without a link
|
||
reconnects at its next heartbeat; the heartbeat says how the site signs in and the last failure,
|
||
and the Hub alerts when it isn't linked, is linked wrongly or sign-ins fail. **Agent 1.3.0
|
||
reported itself as 1.2.0**, so the Hub refused its .env jobs: install 1.3.1. No migrations.
|
||
|
||
- **Events 3.4.0 + Accounts 1.4.0 + contracts 1.12.0 + agent 1.3.0 + Hub 2.8.0:** background jobs
|
||
switched on and off (and rescheduled) from each site's admin, over the .env (saved in the
|
||
database, no migration); Accounts' emails styled as Cross Events'; the Hub shows an install's
|
||
.env (secrets only as set or not) and changes plain values with a restart or frontend rebuild
|
||
(`env-read` / `env-set` jobs, `crosscode env`; the file is put back if the site doesn't start).
|
||
The Hub's .env panel needs agent 1.3.0 on the server. No migrations.
|
||
|
||
- **Events 3.3.0 + Accounts 1.3.0 + contracts 1.11.0:** Accounts' pages in Cross Events' layout
|
||
(sidebar, a page per section), quick links to the church's sites, nightly backups (Admin →
|
||
Backups; needs `pg_dump` on the server), a fuller built-in privacy notice, a fixed favicon.
|
||
Events: signing out also signs out of Accounts; uploaded logos and favicons are served from the
|
||
folder they're saved in (they 404'd when the backend started elsewhere); new demo data removes
|
||
the old demo people from Accounts (`people.removeDemo`, needs Accounts 1.3.0). No migrations.
|
||
The Hub doesn't need contracts 1.11.0 (only Events and Accounts use the new request).
|
||
|
||
- **Hub 2.7.1:** a double click can't plan an update twice (buttons are off until the Hub answers,
|
||
and a second update for an install with one planned or running is refused). No migration.
|
||
- **Hub 2.7.0:** emergency updates "as soon as possible" (the agent's next poll), and a second "yes"
|
||
when the church has an event on now (from Events 3.2.0's heartbeat). 2.6.1: the Failed jobs filter
|
||
and alert search answered 500. No migration; deploy it.
|
||
- **Events 3.2.0 + contracts 1.10.0:** the heartbeat says what's on now (`stats.live`).
|
||
|
||
- **Events 3.1.0 + Accounts 1.2.0 + contracts 1.9.0:** the move to Accounts needs Accounts' email
|
||
(Settings → Sign-in sets it up by copying Events' SMTP / WAWP, tests, then saves); Accounts shows a
|
||
message instead of a 500 when a code can't be sent. **Use these instead of 3.0.0 / 1.1.0.**
|
||
|
||
- **Hub 2.6.0:** paged lists (jobs, audit log and alerts on the server), job filters for every
|
||
status, updates for one product at a time with that product's releases, an Events update that
|
||
keeps (or updates, or first installs) the church's Accounts explicitly, and installs found on a
|
||
server tied to their registration. No migration. **Deploy it** (after 2.5.0, or straight to it).
|
||
- **`crosscode` script (2026-11-19, later):** Accounts' own `ecosystem.config.cjs` no longer stops
|
||
a deploy as "changed by hand".
|
||
|
||
- **Events 3.0.0** (phase 4, [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)): sign-in through the
|
||
church's Accounts. Needs Accounts 1.1.0 (`requires accounts 1.1.0`). Nothing changes for a
|
||
church until an admin moves sign-in (Settings → Sign-in); see `apps/events/MIGRATING-TO-3.md`.
|
||
Tested on Postgres 18 (migrations, `test:accounts` on real databases, the e2e suite); **not VM
|
||
tested**.
|
||
- **Accounts 1.1.0:** takes Events' users with their passwords and authenticator apps, and Events'
|
||
`people.*` requests. **Contracts 1.8.0:** `crosscode.identity-request/1`.
|
||
- **Hub 2.5.0:** a New install of Events 3.x installs the church's Accounts first. **Deploy it before
|
||
any church gets Events 3.0** (it has the vendored contracts 1.8.0; no migration).
|
||
- **crosscode.co.za 1.6.0:** Cross Events signs in with the church account. Tagged; deploy it when
|
||
the first church is on Events 3.0.
|
||
|
||
Earlier:
|
||
|
||
- **Events 2.4.1:** the default logo is the Cross Code logo; the demo script says to run as the
|
||
site's user (instead of "client password must be a string") and keeps the site's oldest admin.
|
||
2.4.0: protocol v2, Linked products, the event feed, `packages/seo`
|
||
([EVENTS-2.4-PLAN.md](./EVENTS-2.4-PLAN.md)). 2.3.1 is the version for churches until 2.4.x's
|
||
e2e run on Postgres and VM test are done.
|
||
- **Accounts 1.0.1:** `TRUST_PROXY=loopback` (the value behind frp) now turns proxy trust on; it
|
||
used to turn it off. 1.0.0 was the church's sign-in (OpenID Connect provider)
|
||
([ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)). Needs the VM test and a run on real Postgres
|
||
before a church gets it.
|
||
- **Agent 1.2.0:** runs `seed-demo` jobs (`crosscode demo`). 1.1.1: stats keep going while a job
|
||
runs.
|
||
- **Contracts 1.7.0:** the `seed-demo` job. 1.6.0: `agent.checkEnvValue` / `invalidValues`,
|
||
settings the apps can't start with.
|
||
- **Hub 2.4.0:** demo sites: mark an Events install as a demo site and load demo data from its
|
||
page (needs agent 1.2.0 on that server). 2.3.3: refuses a server setting the apps can't start with (`TRUST_PROXY=TRUE`) when it's
|
||
saved and before a job. 2.3.2: installs no longer get stuck "Uninstalling" when the export fails; a failed
|
||
install's record can be removed (and uninstall is refused for it).
|
||
- **crosscode.co.za 1.5.0:** lists Accounts.
|
||
- **`crosscode` script (2026-11-19):** `crosscode demo <church> --profile …` (backup, demo data,
|
||
restart); a value the app can't start with stops an install before the
|
||
build (`VALUE_RULES` in `lib/envtpl.cjs`); a failed install prints each PM2 app's last log lines before
|
||
removing it, so the Hub's job log shows why the backend didn't start.
|
||
|
||
## Deployed / rolled out
|
||
|
||
What actually runs isn't in git, so this table is kept by hand. Fill in a version and date when
|
||
you deploy one.
|
||
|
||
| What | Running | Since | Notes |
|
||
|------|---------|-------|-------|
|
||
| Hub | 2.25.0 | 2026-11-27 | Demo clients and demo data for the Website |
|
||
| Agent on church-server1 | 1.6.0 | 2026-11-27 | |
|
||
| Agent on the central server | 1.6.0 | 2026-11-27 | |
|
||
| Cross Events (churches) | 3.7.1 | 2026-11-27 | |
|
||
| Accounts (churches) | 1.8.0 | 2026-11-27 | |
|
||
| Church Website (cross-demo2, the demo church) | 1.6.0 | 2026-11-27 | Real demo photos; reload the demo to see them |
|
||
| cross-demo2 (demo church) | Accounts 1.8.0, Cross Events 3.7.1, Church Website 1.6.0 | 2026-11-27 | The first Church Website install (`demo2.crosscode.co.za`) |
|
||
| crosscode.co.za | 1.9.0 | 2026-11-27 | The Church Website brochure, every page of each template, screenshots that don't go stale |
|