1.18.0 upgrade notes

PROGRAMISTA §6 rows 83–87 now 1.18.0 (1.17.2 was never released alone) and new rows 88–94; iapl-upgrade blocks for
speed and growth and for drafts in related documents, the 1.17.2 blocks as "→ 1.18.0 (from 1.17.2)"; every "since
1.17.2" in docs, comments and tests reads 1.18.0; reference skills, AGENTS.md and the reference index on 1.18.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-02 09:38:00 +01:00
co-authored by Claude Opus 5.5
parent af98cfba96
commit 9b83cc600a
53 changed files with 231 additions and 184 deletions
+3 -3
View File
@@ -445,7 +445,7 @@ share one `unknown-ip` bucket with a ×20 limit (`UNKNOWN_IP_FACTOR`) — real
visitors get through, a flood without the header does not. `setUnknownIpFactor(n)` (root, once at startup)
changes the multiplier; `setUnknownIpFactor(0)` = the old behaviour (no limit), when a limiter sits in front.
**IPv6 is counted per network (1.17.2).** A host with IPv6 holds a whole /64 — 2^64 addresses, every home
**IPv6 is counted per network (1.18.0).** A host with IPv6 holds a whole /64 — 2^64 addresses, every home
connection and every server — so counting per address gave one visitor as many budgets as it had addresses. Every
limiter of the plugin (forms, the file upload endpoint, search, MCP, the consent log, stats, the doctor status, the
mail service's confirm route and account-mail limit) counts a **/64 as one client**; an IPv4-mapped address
@@ -567,7 +567,7 @@ then does it store. A flood dies before it touches the network or the database.
**REST is closed.** By default the form-builder lets anyone create submissions through
`POST /api/form-submissions` — skipping all the gates below. IAPL
sets `access.create` of the `form-submissions` collection to "a staff account with its second factor" (since 1.17.2; before: any signed-in account, a customer of a visitor login collection included); the front end
sets `access.create` of the `form-submissions` collection to "a staff account with its second factor" (since 1.18.0; before: any signed-in account, a customer of a visitor login collection included); the front end
submits through `submitForm` (server action → Local API), so this does not affect it.
A deliberately public REST (e.g. an external app) →
`forms: { formSubmissionOverrides: { access: { create: () => true } } }` — then
@@ -881,7 +881,7 @@ filter it out on the client.
- **Turn off:** without the `forms` option the plugin does not wire the form-builder (no Forms / Form Submissions collections).
Single field types: `forms.fields.<type>: false`. Files: `forms.attachments` is off unless you set it ("Files").
- **Override the collections:** `formOverrides` / `formSubmissionOverrides` — fields (the `fields` function), `labels`,
`admin`, `access`, `hooks`. The default submissions access (`create`: a staff account with its second factor since 1.17.2, `read`: editor+, `delete`: admin)
`admin`, `access`, `hooks`. The default submissions access (`create`: a staff account with its second factor since 1.18.0, `read`: editor+, `delete`: admin)
is overridden by keys in `formSubmissionOverrides.access`; forms access (`create`/`update`/`delete`:
editor+, `read`: public) — in `formOverrides.access`. The Emails tab protection (`read`: editor+) is
applied to the default fields **before** `formOverrides.fields`, so you change it there.