From 6998b44431093008337e07fec07df910841eb8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Wed, 28 Oct 2026 23:02:00 +0100 Subject: [PATCH] 1.14.4 upgrade notes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ipal-upgrade: "→ 1.14.4" section. PROGRAMISTA §6: item 53. Co-Authored-By: Claude Opus 5.5 --- docs/agent/skills/ipal-upgrade/SKILL.md | 11 +++++++++++ docs/dev/PROGRAMISTA.md | 1 + 2 files changed, 12 insertions(+) diff --git a/docs/agent/skills/ipal-upgrade/SKILL.md b/docs/agent/skills/ipal-upgrade/SKILL.md index 7c0d300..273fcea 100644 --- a/docs/agent/skills/ipal-upgrade/SKILL.md +++ b/docs/agent/skills/ipal-upgrade/SKILL.md @@ -148,6 +148,17 @@ the banner → `` and remove the copy. With `d **Check:** run a scan → the cookies appear on `/admin/cookie-approval`; approve one → it is in Cookies → Cookies in every language; the dashboard shows the reminder while cookies wait. Without `cookieScanner`: nothing. +**→ 1.14.4 (PROGRAMISTA §6, item 53; cookie languages and one Cookies entry; consent.md, cookie-scanner.md):** +1. `pnpm payload generate:importmap` — with `cookieScanner`: `@intecion/ipal-kit/admin#CookieReviewTab` and (with + `crawl`) `@intecion/ipal-kit/admin#CookieSiteCheckTab`; commit `importMap.js`. No migration. +2. **Ask the client** about the two new defaults (both overridable): empty languages of the cookie texts fill + themselves from the language an editor writes in (`ipalKit({ fillEmptyLocales: false })` to turn it off); with + `cookieScanner` the cookie screens become one **Cookies** entry with **Review and approve** and **Site check** tabs + (`cookieScanner: { adminLayout: 'separate' }` for the old entries). +3. Editor instructions and screenshots: **Cookie banner** is now **Cookies**. +**Check:** one **Cookies** entry in the admin navigation; its tabs list the review entries and the site check; +type a cookie purpose in one language and save → the other languages show it, and a language with its own text keeps it. + ## 2. Inventory (no code changes) For **every** item in the PROGRAMISTA §6 table show evidence (grep / file) of whether it applies to the project. Run the **ipal-audit** skill (`--quick`) and attach the result. diff --git a/docs/dev/PROGRAMISTA.md b/docs/dev/PROGRAMISTA.md index 8aba281..91804d1 100644 --- a/docs/dev/PROGRAMISTA.md +++ b/docs/dev/PROGRAMISTA.md @@ -650,6 +650,7 @@ Do one item at a time, build, check. Order by importance: | 50 | **1.14.1** — `X-Powered-By: Next.js, Payload` in responses, no CSP or a hand-written one | `withPayload(withSecurityConfig(nextConfig))`; `buildSecurityHeaders({ csp: { mode: 'report-only', reportUri: '/api/csp-report', …flags } })` + `buildAdminCspHeaders` on `/admin/:path*` + `export const POST = createCspReportRoute()`; after clean reports `mode: 'enforce'`; nonces (`createProxy({ csp })` + ``) only for dynamic sites | security.md, CHANGELOG 1.14.1 | | 51 | **1.14.2** — a new admin stuck on `/admin/setup-totp?back=null` (the page keeps redirecting to itself), or an own `x-pathname` rule on `/admin` added as a workaround | `pnpm payload generate:importmap` (`TotpRedirectProvider`), commit `importMap.js`, redeploy; delete the workaround; own redirect rules → `twoFactor.provider` | security.md → "The redirect to the 2FA screens", CHANGELOG | | 52 | **1.14.3** — editors open every Cookie review entry one by one to accept it | with `cookieScanner`: `pnpm payload generate:importmap` (`CookieApprovalView`, `CookieCrawlAlert`), Postgres/SQLite `migrate:create` (`change`, `needs_description`); editors use Approve cookies (`/admin/cookie-approval`, linked from Privacy → Cookie review); old flow: `cookieScanner: { approval: false }` | cookie-scanner.md, CHANGELOG 1.14.3 | +| 53 | **1.14.4** — cookie texts retyped in every language; three cookie entries in the admin navigation | `pnpm payload generate:importmap` (`CookieReviewTab`, `CookieSiteCheckTab`); empty languages fill themselves (`fillEmptyLocales: false` to keep them empty); with `cookieScanner` one **Cookies** entry with tabs (`cookieScanner: { adminLayout: 'separate' }` for the old entries); Cookie banner is now called Cookies — update editor instructions; no migration | consent.md, cookie-scanner.md, hooks.md, CHANGELOG 1.14.4 | 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`.