1.14.0 upgrade notes
CI / check (push) Canceled after 0s

ipal-upgrade: the 1.14.0 section walks through the 8 "What projects must
update" items. PROGRAMISTA §6: item 48 marked 1.14.0, new item 49.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 16:52:47 +01:00
co-authored by Claude Opus 5.5
parent 2051a01190
commit 771dda1c6f
2 changed files with 24 additions and 12 deletions
+22 -11
View File
@@ -89,17 +89,28 @@ the banner → `<CookieBanner settings="detailed">` and remove the copy. With `d
**Every upgrade — dependency advisories** (AGENT.md §4 item 12): `pnpm audit --prod`; with `payload` 3.90.x add the
`dompurify` and `undici` overrides, `pnpm install`, audit again. **Check:** no high or critical.
**→ after 1.13.0 (admin follow-ups):** `pnpm payload generate:importmap` — new panel component
`@intecion/ipal-kit/admin#FaviconCheck` (hint under Site settings → Site icon). **Check:** pick a 32×32 PNG as the
site icon → a warning appears under the field; saving still works. Nothing else to change: the statistics tab title,
the cookie scanner's integration names and the maintenance notice's close button now follow the language by themselves
(`<ConstructionNotice mode={await getConstructionMode(locale)} />` already passes it).
**→ after 1.13.0 (dependency advisories):** the plugin now brings `nodemailer` 10 (was 8), which needs **Node.js 20 or
later** — check the Coolify build image and `.nvmrc` / `engines`. Remove `nodemailer` and `@types/nodemailer` from the
project's own `package.json` if someone added them (the plugin's copy is the one `mailAdapter` uses). Then the audit step
above. **Check:** Site integrations → E-mail sending → send a test e-mail over SMTP (and over Microsoft Graph when the
project uses it); `pnpm audit --prod` → no high or critical.
**→ 1.14.0 (PROGRAMISTA §6, items 48–49; CHANGELOG "What projects must update" — do all 8, in order):**
1. `pnpm payload generate:importmap` — `@intecion/ipal-kit/admin#FaviconCheck` (hint under Site settings → Site icon)
and the `RowLabel` entries are injected into every project; then `pnpm ipal:skills`, `rm -rf .next`. **Check:** pick
a 32×32 PNG as the site icon → a warning appears under the field; saving still works.
2. **Node.js 20.9 or later** (the plugin's `nodemailer` 10 needs it) — check the Coolify build image and `.nvmrc` /
`engines`. Remove `nodemailer` and `@types/nodemailer` from the project's own `package.json` if someone added them
(the plugin's copy is the one `mailAdapter` uses). **Check:** Site integrations → E-mail sending → send a test
e-mail over SMTP (and over Microsoft Graph when the project uses it).
3. **Next.js 16.4.1 or later** — the "Every upgrade — Next.js" step above (`next@^16.4.3`, `sharp@^0.35.5`).
4. **Dependency advisories** — the "Every upgrade — dependency advisories" step above (`dompurify` / `undici` overrides
on payload 3.90.x). **Check:** `pnpm audit --prod` → no high or critical.
5. **Cookie list kept by hand** → offer `cookieScanner: true` (+ `crawl: true` with `IPAL_COOKIE_SCAN_URL`,
`IPAL_COOKIE_SCAN_TOKEN` and the site in the service's `IPAL_CRAWLER_SITES`, cookie-scanner.md); an own image modal →
`lightbox: true` + `<SiteProviders lightbox>` (PROGRAMISTA item 48). Turning either on → Postgres/SQLite
`migrate:create` → `migrate`. Without them: no schema change.
6. **Admin languages:** English and Polish by default when the project sets no `i18n.supportedLanguages`. Ask the
client; English only → `i18n: { supportedLanguages: { en } }`. Own admin texts → `i18n.translations.<lang>.ipal`.
7. **Frontend texts:** validator messages are full sentences and `pl` locales get Polish fallbacks — grep the
project's tests and code for the old strings (`'required'`, `'invalid email'`) and update them.
8. **Sidebar:** `roles` (users) and Cookie banner → Consent version moved to the sidebar — update editor instructions.
Nothing else to change: the statistics tab title, the cookie scanner's integration names and the maintenance
notice's close button follow the language by themselves.
## 2. Inventory (no code changes)
For **every** item in the PROGRAMISTA §6 table show evidence (grep / file) of whether