From e29f882aa6b3b03d1c99ffe3c2b9e6ab83a7cdfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Mon, 23 Nov 2026 17:46:47 +0100 Subject: [PATCH] 1.17.0 upgrade notes Co-Authored-By: Claude Opus 5.5 --- docs/agent/reference-site/INDEX.md | 2 +- docs/agent/skills/ipal-upgrade/SKILL.md | 18 ++++++++++++++++++ docs/dev/PROGRAMISTA.md | 1 + reference/.agents/skills/ipal-upgrade/SKILL.md | 18 ++++++++++++++++++ reference/AGENTS.md | 2 +- 5 files changed, 39 insertions(+), 2 deletions(-) diff --git a/docs/agent/reference-site/INDEX.md b/docs/agent/reference-site/INDEX.md index 642f379..4420be5 100644 --- a/docs/agent/reference-site/INDEX.md +++ b/docs/agent/reference-site/INDEX.md @@ -2,7 +2,7 @@ -The reference site is one complete client site on ipal-kit 1.16.2 ("Example Studio", made up) that uses +The reference site is one complete client site on ipal-kit 1.17.0 ("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: diff --git a/docs/agent/skills/ipal-upgrade/SKILL.md b/docs/agent/skills/ipal-upgrade/SKILL.md index f09c0a5..abd7f34 100644 --- a/docs/agent/skills/ipal-upgrade/SKILL.md +++ b/docs/agent/skills/ipal-upgrade/SKILL.md @@ -310,6 +310,24 @@ every site:** **Check:** `pnpm why mongoose happy-dom` → mongoose 8.24.10, happy-dom 21.0.4; `pnpm audit --prod` → no high or critical; `pnpm exec ipal-doctor` → no `transitive-min` finding; open the panel and save a document. +**→ 1.17.0 (PROGRAMISTA §6, item 64; Payload 3.94.1 in the reference site and the starter; AGENT.md §4 items 11–12) — +recommended, not required (the plugin's peer range stays `^3.90.2`):** +1. **Node.js 22.23.5 or later first — everywhere the site runs.** Payload 3.94 refuses older Node. Locally: `node -v`. + Coolify: Nixpacks takes only the major from `engines` / `.nvmrc`; the patch comes from the Nixpacks release on the + server, so open the app → Terminal → `node -v` (or read the build log). Below 22.23.5: update Coolify first, and + stay on Payload 3.90.x until then. CI images must resolve to 22.23.5 or later as well. +2. Every `payload` / `@payloadcms/*` to 3.94.1 (in `dependencies` and `pnpm.overrides`), `react` and `react-dom` 19.3.1, + `"engines": { "node": ">=22.23.5 <23" }` (`.nvmrc` stays `22`). Overrides: keep `"dompurify@<3.4.17": "^3.4.17"` + and `"happy-dom@<21.0.4": "^21.0.4"`; remove the `mongoose`, `undici` and `graphql-scalars` lines (they do nothing + on 3.94.x). Then `pnpm install`, `pnpm payload generate:types`, `pnpm payload generate:importmap`, `rm -rf .next`, + `pnpm build`; commit `package.json` and the lockfile, redeploy on Coolify. +3. Postgres/SQLite: `pnpm payload migrate:create`, commit it if it is not empty (3.94.1 changes long index and foreign + key names). MongoDB: no migration. +4. `pnpm ipal:skills` (updated `ipal-setup` / `ipal-upgrade`). +**Check:** `pnpm ls payload @payloadcms/ui @payloadcms/db-mongodb` → 3.94.1; `pnpm why dompurify happy-dom` → 3.4.17, +21.0.4; `pnpm audit --prod` → no high or critical; `pnpm exec ipal-doctor` → no `versions` finding; Coolify Terminal +`node -v` → 22.23.5 or later; the panel opens, a document saves, a form submission arrives. + ## 2. Inventory (no code changes) **What changed for projects** between your old and new plugin version is exactly the reference site's diff — `git diff v v -- reference/` in the ipal-kit repo (or the two `docs/agent/reference-site/INDEX.md` files): diff --git a/docs/dev/PROGRAMISTA.md b/docs/dev/PROGRAMISTA.md index b4115c0..2737e43 100644 --- a/docs/dev/PROGRAMISTA.md +++ b/docs/dev/PROGRAMISTA.md @@ -671,6 +671,7 @@ Do one item at a time, build, check. Order by importance: | 61 | **1.16.0 — files on forms** — a CV / drawing field built by hand (own upload collection, bucket, `` posting to an own route), or "send the file by e-mail" asked for and refused | `forms: { attachments: true }` + a **File** field (panel or seed) + one e-mail with a fixed recipient; Postgres/SQLite `migrate:create`; `generate:types`; `formClasses` keys `file`, `help`, `fileList`, `fileItem`, `fileRemove`; proxy body limit (nginx `client_max_body_size 12m`); Graph: `Mail.ReadWrite` limited to the forms mailbox, or SMTP settings, or ~2.8 MB; test e-mail with the 10 MB file; delete the hand-built upload path; `pnpm ipal:skills` | CHANGELOG 1.16.0, forms.md "Files", email.md "Attachments", deployment.md "Form files" | | 62 | **1.16.1** — `pnpm dev` warns "Next.js 16.4.3 is affected by a known security vulnerability"; ipal-doctor `next-min` error below 16.4.5 (GHSA-mfr8-8qww-v76h) | `pnpm add next@16.4.6 eslint-config-next@16.4.6`, `rm -rf .next`, build, commit the lockfile, redeploy on Coolify; `pnpm ipal:skills`; no option, migration or import map change | CHANGELOG 1.16.1, AGENT.md §4 item 11 | | 63 | **1.16.2** — `pnpm audit --prod` shows `mongoose` (critical, via `@payloadcms/db-mongodb`) or `happy-dom` (high, via `@payloadcms/richtext-lexical`); ipal-doctor `transitive-min` | `pnpm.overrides`: `"mongoose@>=8 <8.24.7": "~8.24.10"` (MongoDB sites) and `"happy-dom@<21.0.4": "^21.0.4"`; `pnpm install`, build, commit the lockfile, redeploy on Coolify; `pnpm ipal:skills`; no migration | CHANGELOG 1.16.2, AGENT.md §4 item 12 | +| 64 | **1.17.0** — the reference site and the starter run Payload 3.94.1; the site is still on 3.90–3.93, or `node -v` (locally or in the Coolify app's Terminal) is below 22.23.5 | Recommended, not required (the plugin still accepts `^3.90.2`). First make sure Node is 22.23.5 or later everywhere, Coolify included (Nixpacks picks the patch: check `node -v`, update Coolify if lower). Then every `payload` / `@payloadcms/*` 3.94.1 (in `dependencies` and `pnpm.overrides`), `react` / `react-dom` 19.3.1, `"engines": { "node": ">=22.23.5 <23" }`; overrides: keep `dompurify` and `happy-dom`, drop `mongoose`, `undici` and `graphql-scalars`; `pnpm install`, `generate:types`, `generate:importmap`, `rm -rf .next`, build, redeploy; Postgres/SQLite: `migrate:create`; `pnpm ipal:skills` | CHANGELOG 1.17.0, AGENT.md §4 items 11–12, ipal-upgrade "Every upgrade — Payload" | After updating the package: `pnpm ipal:skills` (new skill versions), `pnpm payload generate:importmap`, `rm -rf .next`, restart dev, grep for the new symbol in `node_modules/@intecion/ipal-kit/dist`. diff --git a/reference/.agents/skills/ipal-upgrade/SKILL.md b/reference/.agents/skills/ipal-upgrade/SKILL.md index f09c0a5..abd7f34 100644 --- a/reference/.agents/skills/ipal-upgrade/SKILL.md +++ b/reference/.agents/skills/ipal-upgrade/SKILL.md @@ -310,6 +310,24 @@ every site:** **Check:** `pnpm why mongoose happy-dom` → mongoose 8.24.10, happy-dom 21.0.4; `pnpm audit --prod` → no high or critical; `pnpm exec ipal-doctor` → no `transitive-min` finding; open the panel and save a document. +**→ 1.17.0 (PROGRAMISTA §6, item 64; Payload 3.94.1 in the reference site and the starter; AGENT.md §4 items 11–12) — +recommended, not required (the plugin's peer range stays `^3.90.2`):** +1. **Node.js 22.23.5 or later first — everywhere the site runs.** Payload 3.94 refuses older Node. Locally: `node -v`. + Coolify: Nixpacks takes only the major from `engines` / `.nvmrc`; the patch comes from the Nixpacks release on the + server, so open the app → Terminal → `node -v` (or read the build log). Below 22.23.5: update Coolify first, and + stay on Payload 3.90.x until then. CI images must resolve to 22.23.5 or later as well. +2. Every `payload` / `@payloadcms/*` to 3.94.1 (in `dependencies` and `pnpm.overrides`), `react` and `react-dom` 19.3.1, + `"engines": { "node": ">=22.23.5 <23" }` (`.nvmrc` stays `22`). Overrides: keep `"dompurify@<3.4.17": "^3.4.17"` + and `"happy-dom@<21.0.4": "^21.0.4"`; remove the `mongoose`, `undici` and `graphql-scalars` lines (they do nothing + on 3.94.x). Then `pnpm install`, `pnpm payload generate:types`, `pnpm payload generate:importmap`, `rm -rf .next`, + `pnpm build`; commit `package.json` and the lockfile, redeploy on Coolify. +3. Postgres/SQLite: `pnpm payload migrate:create`, commit it if it is not empty (3.94.1 changes long index and foreign + key names). MongoDB: no migration. +4. `pnpm ipal:skills` (updated `ipal-setup` / `ipal-upgrade`). +**Check:** `pnpm ls payload @payloadcms/ui @payloadcms/db-mongodb` → 3.94.1; `pnpm why dompurify happy-dom` → 3.4.17, +21.0.4; `pnpm audit --prod` → no high or critical; `pnpm exec ipal-doctor` → no `versions` finding; Coolify Terminal +`node -v` → 22.23.5 or later; the panel opens, a document saves, a form submission arrives. + ## 2. Inventory (no code changes) **What changed for projects** between your old and new plugin version is exactly the reference site's diff — `git diff v v -- reference/` in the ipal-kit repo (or the two `docs/agent/reference-site/INDEX.md` files): diff --git a/reference/AGENTS.md b/reference/AGENTS.md index 8b8c96d..4f4b630 100644 --- a/reference/AGENTS.md +++ b/reference/AGENTS.md @@ -47,7 +47,7 @@ Write everything in this file in English. -## ipal-kit 1.16.2 — agent guide +## ipal-kit 1.17.0 — agent guide This project is built on `@intecion/ipal-kit` (a Payload CMS 3 plugin). Before you write code: