contracts 1.24.0: devotionals two years ahead; Apps fetch 2 weeks

CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS (24) for how far ahead the Hub
schedules Cross Code's devotionals, CROSSCODE_DEVOTIONALS_FETCH_DAYS (14)
for what GET /api/v2/devotionals answers. The CSV takes 800 rows and
8 MB, so two years fit in one file. CROSSCODE_DEVOTIONALS_AHEAD_MONTHS
kept, deprecated. Docs: Hub 2.26.1, hub-protocol.md §3c, the App plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 23:23:18 +02:00
co-authored by Claude Opus 5.5
parent 986d69d51d
commit 9cf2956aff
9 changed files with 77 additions and 29 deletions
+8 -2
View File
@@ -14,8 +14,8 @@ separately below; the two often differ.
| Church Website | `crosscode-platform` (`apps/website`) | **1.8.0** | `website@1.8.0` | 2026-11-30 |
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.9.0** | `accounts@1.9.0` | 2026-11-30 |
| Server agent | `crosscode-platform` (`apps/agent`) | **1.7.0** | `agent@1.7.0` | 2026-11-30 |
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.23.0** | `contracts@1.23.0` | 2026-11-30 |
| Cross Code Hub | `events-hub` | **2.26.0** | `v2.26.0` | 2026-11-30 |
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.24.0** | `contracts@1.24.0` | 2026-11-30 |
| Cross Code Hub | `events-hub` | **2.26.1** | `v2.26.1` | 2026-11-30 |
| crosscode.co.za | `crosscode-site` | **1.9.1** | `v1.9.1` | 2026-11-27 |
| `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-30 (last change: `crosscode demo <church> --scenario <s>` loads a whole scenario on whatever is installed; `crosscode demo <church> app` refused clearly until App 1.0.0; `--scenario` passed on to the Website's demo, the Website builds `packages/demo`; before that Events takes the demo scenarios as profiles, `crosscode demo <church> accounts`, Accounts and Events build `packages/demo`) |
@@ -39,6 +39,12 @@ need their own tags until something outside this repo depends on them.
## What each latest release was for
- **Hub 2.26.1 + contracts 1.24.0 (2026-11-30):** Cross Code's devotionals can be scheduled up to
**two years ahead** (was 3 months; `CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS`), and a CSV holds two
years in one file (800 rows, 8 MB). `GET /api/v2/devotionals` answers **2 weeks**
(`CROSSCODE_DEVOTIONALS_FETCH_DAYS`), not 3 months: what an App fetches each night. No
migration. Checked: contracts' tests (341), the Hub's backend tests (301), frontend typecheck and
lint. Not deployed yet.
- **Hub 2.26.0 (2026-11-30):** the Church App (APP-1.0-PLAN §6, §12). The App from New install on
`app.<address>`, with Accounts 1.9.0 first (also without "requires" in its notes), and in every
product list and filter (installs, Updates). **Load a demo scenario** on a demo client: one