Accounts 1.7.1, Website 1.0.2, Events 3.7.1: link right after an install; Preview behind the proxy

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 list (one heartbeat, at
  most once a minute) instead of refusing. A new Website's admin couldn't
  sign in for up to 30 minutes.
- Accounts: a heartbeat on every start.
- Website: /admin links to Accounts on the spot (at most every 15 s), one
  connect to Accounts at a time, and the problem page says "not linked
  yet" (ACCOUNTS_NOT_LINKED). Preview redirected to the server's own
  http://localhost:<web port>: the preview routes now answer with a
  relative Location.
- Events: a new Website can connect for the event feed straight away.
- docs: VERSIONS, changelogs, WHATS-NEW.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 16:14:20 +02:00
co-authored by Claude Opus 5.5
parent 05d808b74c
commit f6a536ad64
31 changed files with 416 additions and 46 deletions
+15 -4
View File
@@ -10,9 +10,9 @@ separately below; the two often differ.
| What | Repo | Latest | Tag | Released |
|------|------|--------|-----|----------|
| Cross Events | `crosscode-platform` (`apps/events`) | **3.7.0** | `events@3.7.0` | 2026-11-24 |
| Church Website | `crosscode-platform` (`apps/website`) | **1.0.1** | `website@1.0.1` | 2026-11-26 |
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.7.0** | `accounts@1.7.0` | 2026-11-24 |
| Cross Events | `crosscode-platform` (`apps/events`) | **3.7.1** | `events@3.7.1` | 2026-11-26 |
| Church Website | `crosscode-platform` (`apps/website`) | **1.0.2** | `website@1.0.2` | 2026-11-26 |
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.7.1** | `accounts@1.7.1` | 2026-11-26 |
| Server agent | `crosscode-platform` (`apps/agent`) | **1.5.0** | `agent@1.5.0` | 2026-11-23 |
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.18.0** | `contracts@1.18.0` | 2026-11-25 |
| Cross Code Hub | `events-hub` | **2.23.1** | `v2.23.1` | 2026-11-26 |
@@ -30,7 +30,7 @@ on each run, so merging to `main` and pushing releases it. Its changes are liste
| `@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.0.1 (1.0.0 and 1.0.1 released 2026-11-26; not installed for a church yet: Hope Family Church first, after Accounts 1.7.0 and Events 3.7.0 are rolled out) |
| Website | `apps/website` | 1.0.2 (1.0.0–1.0.2 released 2026-11-26; installed for the demo church cross-demo2 (1.0.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
@@ -38,6 +38,17 @@ need their own tags until something outside this repo depends on them.
## What each latest release was for
- **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. **Not deployed 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 →