diff --git a/CHANGELOG.md b/CHANGELOG.md index 30c1ff1..7050edd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,14 @@ Each package and app has its own section and its own tags (`contracts@1.0.0`, `accounts@1.0.0`, …). -## events@3.0.0, accounts@1.1.0, contracts@1.8.0 - unreleased +## events@3.0.0, accounts@1.1.0, contracts@1.8.0, crosscode script - 2026-11-19 Cross Events signs in through the church's Accounts (ROADMAP-v3 phase 4, docs/EVENTS-3.0-PLAN.md). -Built on `feat/events-3.0`; not tagged until the VM test and a run on real Postgres. +Tested on Postgres 18 (both apps' migrations, `test:accounts` on real databases, the Events e2e +suite with the new sign-in spec); not VM tested yet. + +- **Scripts:** `products/events.sh` installs and builds `packages/auth-client` (after contracts) + when the checkout's Events uses it, as 3.0.0 does. - **Contracts 1.8.0:** `crosscode.identity-request/1` (product → Accounts at `/api/accounts/v1/requests`): `import.begin` / `batch` / `finish` / `abort` and `people.*`; diff --git a/apps/accounts/CHANGELOG.md b/apps/accounts/CHANGELOG.md index ce57b64..e204d93 100644 --- a/apps/accounts/CHANGELOG.md +++ b/apps/accounts/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog — Accounts -## [1.1.0] - unreleased +## [1.1.0] - 2026-11-19 For Cross Events 3.0 (docs/EVENTS-3.0-PLAN.md §8), with contracts 1.8.0. diff --git a/apps/events/CHANGELOG.md b/apps/events/CHANGELOG.md index 23d3772..4a88d49 100644 --- a/apps/events/CHANGELOG.md +++ b/apps/events/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project follows [Semantic Versioning](https://semver.org/). -## [3.0.0] - unreleased +## [3.0.0] - 2026-11-19 Sign-in through the church's Accounts (ROADMAP-v3 phase 4, docs/EVENTS-3.0-PLAN.md). Requires Accounts 1.1.0 (`— requires accounts 1.1.0` in WHATS-NEW.md) and contracts 1.8.0. Nothing changes diff --git a/docs/EVENTS-3.0-PLAN.md b/docs/EVENTS-3.0-PLAN.md index 39b2e54..82c5ddf 100644 --- a/docs/EVENTS-3.0-PLAN.md +++ b/docs/EVENTS-3.0-PLAN.md @@ -1,8 +1,9 @@ # Cross Events 3.0.0 — signing in through Accounts Phase **4** of [ROADMAP-v3.md](./ROADMAP-v3.md) (§3 "Moving Cross Events onto Accounts", §8, §9; -decisions 2, 14, 15, 17, 24, 38). Written 2026-11-19. **Decisions confirmed 2026-11-19** (all as proposed); being built on -`feat/events-3.0`. Moved before the Website on 2026-11-19 (decision 38), so this is the first product +decisions 2, 14, 15, 17, 24, 38). Written 2026-11-19. **Decisions confirmed 2026-11-19** (all as proposed). **Released +2026-11-19** (`events@3.0.0`, `accounts@1.1.0`, `contracts@1.8.0`, Hub `v2.5.0`, crosscode-site +`v1.6.0`), tested on Postgres 18; the VM test is still to do. Moved before the Website on 2026-11-19 (decision 38), so this is the first product that really signs people in through [Accounts](./ACCOUNTS-1.0-PLAN.md). **What 3.0.0 is:** Cross Events stops keeping passwords. Sign-in, sign-up, forgot password, 2FA, diff --git a/docs/HANDOVER.md b/docs/HANDOVER.md index 747628b..dbdd47e 100644 --- a/docs/HANDOVER.md +++ b/docs/HANDOVER.md @@ -32,7 +32,7 @@ every release). | 1d | Agent 1.0.x + Hub 2.1.x (+ contracts 1.3.0) | **Released** 2026-11-17 (`agent@1.0.0`, `contracts@1.3.0`, Hub `v2.1.0`). **VM tested** end to end (AGENT-1.0-PLAN §13: joins, installs behind frp, scheduled / batch / missed updates, uninstall with export and purge, forged and replayed jobs). 2026-11-18: **`agent@1.0.1`** (the agent answers status on the central server itself) and Hub **`v2.1.1`** (adopt passes the church's address; Link takes the short name as a name). **Not rolled out**: use agent 1.0.1 and Hub 2.1.1 | | 2 | Cross Events 2.4.0: protocol v2, Linked products, event feed, `packages/seo` (+ contracts 1.4.0, Hub 2.2.0) | **Released** 2026-11-18 (`events@2.4.0`, `contracts@1.4.0`, Hub `v2.2.0`, crosscode-site `v1.4.0`; [EVENTS-2.4-PLAN.md](./EVENTS-2.4-PLAN.md)). **Before any church gets it:** the Events e2e run on Postgres and the VM test (EVENTS-2.4-PLAN §8) | | 3 | Accounts 1.0.0 (+ contracts 1.5.0, agent 1.1.0, Hub 2.3.0) | **Released** 2026-11-18 (`accounts@1.0.0`, `contracts@1.5.0`, `agent@1.1.0`, Hub `v2.3.0`, crosscode-site `v1.5.0`; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)). 37 backend and 8 Playwright tests pass without Postgres. **Before installing it for a church:** the VM test and a run on real Postgres; a Hub release source for `accounts@` tags | -| 4 | Cross Events 3.0.0: sign-in through Accounts, users migrated with their password hashes and 2FA | **Built, not tagged** (2026-11-19): crosscode-platform `feat/events-3.0` (contracts 1.8.0, Accounts 1.1.0, auth-client 1.1.0, Events 3.0.0), events-hub `feat/events-3-accounts-first` (Hub 2.5.0: a New install of Events 3.x installs Accounts first), crosscode-site `feat/events-3-sign-in` (1.6.0, merge and deploy when Events 3.0 is released). [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md), "Changes while building". `npm run check` passes; `npm run test:accounts` 14/14. **Before tagging:** the Events e2e run on Postgres (incl. the new `sign-in-accounts.spec.ts`), the VM test and real Postgres; then release in order: contracts 1.8.0 → Hub 2.5.0 (deployed) → Accounts 1.1.0 → Events 3.0.0 → crosscode-site 1.6.0 | +| 4 | Cross Events 3.0.0: sign-in through Accounts, users migrated with their password hashes and 2FA | **Released** 2026-11-19 (`events@3.0.0`, `accounts@1.1.0`, `contracts@1.8.0`, Hub `v2.5.0`, crosscode-site `v1.6.0`; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Tested on Postgres 18: both migrations, `test:accounts` on real databases (14/14), the Events e2e suite (111, incl. `sign-in-accounts.spec.ts`). **Not VM tested yet.** Roll out: Hub 2.5.0 deployed first, then per church Accounts 1.1.0 → Events 3.0 → Move (MIGRATING-TO-3.md); crosscode-site 1.6.0 once the first church has moved | | 5–7 | Website 1.0.0 → App 1.0.0 → App 1.x | Not started | ## Next up diff --git a/docs/VERSIONS.md b/docs/VERSIONS.md index d525d5f..9753247 100644 --- a/docs/VERSIONS.md +++ b/docs/VERSIONS.md @@ -10,12 +10,12 @@ separately below; the two often differ. | What | Repo | Latest | Tag | Released | |------|------|--------|-----|----------| -| 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 | +| Cross Events | `crosscode-platform` (`apps/events`) | **3.0.0** | `events@3.0.0` | 2026-11-19 | +| Accounts | `crosscode-platform` (`apps/accounts`) | **1.1.0** | `accounts@1.1.0` | 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 | +| Contracts | `crosscode-platform` (`packages/contracts`) | **1.8.0** | `contracts@1.8.0` | 2026-11-19 | +| Cross Code Hub | `events-hub` | **2.5.0** | `v2.5.0` | 2026-11-19 | +| crosscode.co.za | `crosscode-site` | **1.6.0** | `v1.6.0` | 2026-11-19 | | `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-19 (last change) | The `crosscode` script has no version: every server's copy (`/opt/crosscode/tools`) pulls `main` @@ -26,7 +26,7 @@ on each run, so merging to `main` and pushing releases it. Its changes are liste | What | Where | Version in package.json | |------|-------|-------------------------| -| `@crosscode/auth-client` | `packages/auth-client` | 1.0.0 (released with Accounts 1.0.0) | +| `@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.1.0 | | Website | `apps/website` | 0.0.0 (not started, phase 5) | @@ -37,6 +37,20 @@ need their own tags until something outside this repo depends on them. ## What each latest release was for +- **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`