1.17.1 upgrade notes

PROGRAMISTA §6 rows 79 (security: strict switches, write-only secrets out of queries), 80 (the sign-in look),
81 (the proxy matcher); iapl-upgrade "→ 1.17.1, security" and item numbers; reference skills, AGENTS.md and the
reference index on 1.17.1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 22:05:42 +01:00
co-authored by Claude Opus 5.5
parent 38f1c012c4
commit 68a2555277
5 changed files with 33 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- Generated by scripts/reference-index.mjs from reference/ — do not edit by hand (pnpm reference:index). -->
The reference site is one complete client site on IAPL 1.17.0 ("Example Studio", made up) that uses
The reference site is one complete client site on IAPL 1.17.1 ("Example Studio", made up) that uses
every convention in AGENT.md. It lives in the plugin repo (`reference/`, not in the npm package). Copy the
PATTERN of the file you need; change only the project's content. Files up to
40 lines are below in full; open the rest in the repo at the tag of your plugin version:
+14 -1
View File
@@ -33,6 +33,19 @@ no locale redirect, no proxy CSP there. Verify on a build: `curl -sI localhost:3
`pnpm payload run tests/routes.ts update`, judge the new entries, commit (after EVERY Payload / IAPL upgrade). New
projects: add the closed-doors spec and the route check (iapl-audit "What the script does not check").
**→ 1.17.1, security (CHANGELOG 1.17.1; PROGRAMISTA §6, items 79–81; security.md) — check before deploying:**
1. `pnpm build`: a config value the plugin does not understand now stops the start with the option's name
(`accounts: 0`, `stats: 'false'`, `retentionDays: null`, an unknown role name in `requireRole`, …). Fix the value;
real values start as before (security.md → "Switches are read strictly").
2. Nothing to do for the write-only secrets: no query can name them any more. A site that had versions on for Site
integrations, with an admin account that may have been misused: change the SMTP password and the Turnstile key.
3. `twoFactor.requireSetup.exempt` decided from the e-mail: move to an admin-only checkbox (security.md); every
account may change its own e-mail.
4. A collection of the project with drafts and `read: () => true`: use `readPublished()` so `?draft=true` answers
visitors nothing unpublished.
5. Your own endpoint with `buildVerifyLimit`: call `limit.settle(req, correct)` after the check.
**Check:** `pnpm exec iapl-doctor` has no `proxy-matcher`; `curl -s "<site>/md/xx"` → 404; the panel's 2FA works.
**1.8.x → 1.9.0 (PROGRAMISTA §6, items 17–21):** `twoFactor.plugin` required;
`getTurnstileConfig` instead of `turnstileSiteKey` (with both keys set the token is
required — check that every form has the widget); `clientIp(await headers())` in
@@ -659,7 +672,7 @@ PROGRAMISTA §6, items 73–75; email.md; AGENT.md §7.2) — nothing to run; re
**Send test e-mail** names the transport you expect; a form submission arrives. **The service is live at
`https://webservices.intecion.net/mail`; while the service runs with enrolment "pending" (from its launch until Intecion switches to open enrolment), every new site waits for approval — keep SMTP until it is approved, or `relay: false`.**
**→ 1.17.1, the sign-in look (CHANGELOG 1.17.1; white-label.md → "The sign-in screens") — nothing is required:**
**→ 1.17.1, the sign-in look (CHANGELOG 1.17.1; PROGRAMISTA §6, item 80; white-label.md → "The sign-in screens") — nothing is required:**
1. **Sites with `whiteLabel`:** after the update the login screen and the 2FA screens (code, setup) have the new
look — a dark panel with the client's logo or the site's name beside the form. No edit, no
`generate:importmap`, no migration: the look comes through `AdminLogo` and `SafeTotpView`, which the site's