docs: VERSIONS.md and HANDOVER for events@2.4.1, contracts@1.7.0, agent@1.2.0, Hub 2.4.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,6 +84,9 @@ rollout.
|
||||
the app refuses some values at startup (as Events does a `TRUST_PROXY` it can't parse), add a
|
||||
rule to both `checkEnvValue` in `packages/contracts/src/agent.ts` (the Hub) and `VALUE_RULES` in
|
||||
`scripts/lib/envtpl.cjs` (the server), so a bad value stops before an install's build.
|
||||
- **Demo data:** Hub → the install's page → Mark as a demo site → Load demo data (Hub 2.4.0, agent
|
||||
1.2.0; `crosscode demo <church> --profile …` on the server). By hand, run `npm run demo:*` as the
|
||||
site's user (`sudo -u cc-<church> …`): only that user can read the `.env`.
|
||||
- **A new Events install never takes over an existing database**: moving an existing site is
|
||||
`adopt`, not a New install pointed at the old database.
|
||||
- **Prisma in the monorepo:** each app other than Events sets its own generator `output`, so
|
||||
|
||||
+17
-12
@@ -10,11 +10,11 @@ separately below; the two often differ.
|
||||
|
||||
| What | Repo | Latest | Tag | Released |
|
||||
|------|------|--------|-----|----------|
|
||||
| Cross Events | `crosscode-platform` (`apps/events`) | **2.4.0** | `events@2.4.0` | 2026-11-18 |
|
||||
| Cross Events | `crosscode-platform` (`apps/events`) | **2.4.1** | `events@2.4.1` | 2026-11-19 |
|
||||
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.0.1** | `accounts@1.0.1` | 2026-11-19 |
|
||||
| Server agent | `crosscode-platform` (`apps/agent`) | **1.1.1** | `agent@1.1.1` | 2026-11-18 |
|
||||
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.6.0** | `contracts@1.6.0` | 2026-11-19 |
|
||||
| Cross Code Hub | `events-hub` | **2.3.3** | `v2.3.3` | 2026-11-19 |
|
||||
| Server agent | `crosscode-platform` (`apps/agent`) | **1.2.0** | `agent@1.2.0` | 2026-11-19 |
|
||||
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.7.0** | `contracts@1.7.0` | 2026-11-19 |
|
||||
| Cross Code Hub | `events-hub` | **2.4.0** | `v2.4.0` | 2026-11-19 |
|
||||
| crosscode.co.za | `crosscode-site` | **1.5.0** | `v1.5.0` | 2026-11-18 |
|
||||
| `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-19 (last change) |
|
||||
|
||||
@@ -37,21 +37,26 @@ need their own tags until something outside this repo depends on them.
|
||||
|
||||
## What each latest release was for
|
||||
|
||||
- **Events 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.0's
|
||||
- **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.1.1:** stats keep going while a job runs; reports its real version.
|
||||
- **Contracts 1.6.0:** `agent.checkEnvValue` / `invalidValues`, settings the apps can't start with
|
||||
(1.5.0: the Accounts contracts).
|
||||
- **Hub 2.3.3:** refuses a server setting the apps can't start with (`TRUST_PROXY=TRUE`) when it's
|
||||
- **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):** a value the app can't start with stops an install before the
|
||||
- **`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.
|
||||
|
||||
@@ -62,7 +67,7 @@ you deploy one.
|
||||
|
||||
| What | Running | Since | Notes |
|
||||
|------|---------|-------|-------|
|
||||
| Hub | 2.x (exact version not recorded) | | It runs agent jobs (installs on church-server1, 2026-11-18), so it's past 2.1. **2.3.3 not deployed yet** |
|
||||
| Hub | 2.x (exact version not recorded) | | It runs agent jobs (installs on church-server1, 2026-11-18), so it's past 2.1. **2.4.0 not deployed yet** (it has a migration) |
|
||||
| Agent on church-server1 | not recorded | | |
|
||||
| Agent on the central server | not recorded | | |
|
||||
| Cross Events (churches) | not recorded | | `hope-events` and `cross-events-demo` heartbeat as 2.1.1 and 2.3.1 |
|
||||
|
||||
Reference in New Issue
Block a user