1.17.0 release notes: the speed of public pages

The "Read before upgrading" box names the two changes merged after 2f6a81a: the cookie banner painted with the
page (nothing to do) and Payload's colour-scheme client hints for the admin only (one line in next.config.ts).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 12:56:42 +01:00
co-authored by Claude Opus 5.5
parent 80e202111c
commit 9520e61b15
+11 -2
View File
@@ -11,8 +11,9 @@ once there are more than 20.
## 1.17.0 — the plugin is called IAPL; mail works with no setup
> **Read before upgrading.** Three parts, in this order: the security follow-ups prepared as 1.16.8 (never released
> on their own), e-mail, and the new name. Then Postgres (nothing to do). No schema or migration on any database.
> **Read before upgrading.** In this order: the security follow-ups prepared as 1.16.8 (never released on their
> own), e-mail, the new name, the speed of public pages (one line in `next.config.ts`), then Postgres (nothing to do).
> No schema or migration on any database.
>
> **Security first — prepared as 1.16.8, released here.** No option, schema, migration or import-map change. Three points:
> **A site built with Turbopack** (`next build` without `--webpack`) published the plugin's `package.json` (registry
@@ -45,6 +46,14 @@ once there are more than 20.
> Advanced Payload Library); it was ipal-kit. **The package is still `@intecion/ipal-kit`**, and every name a
> project uses keeps working. No schema, migration or import-map change.
>
> **Speed of public pages** — two changes. **The cookie banner is painted with the page** (it appeared after hydration
> and could be the page's LCP element): nothing to do; remove a project wrapper that delays it (a "mounted" guard,
> `dynamic(…, { ssr: false })`), and with a nonce CSP pass `nonce` to `<SiteProviders>`. Old behaviour:
> `<CookieBanner firstPaint={false} />`. **Payload's colour-scheme client hints go to the admin only** (Chrome no longer
> requests the first page of a visit twice): **one line** in `next.config.ts` —
> `withPayload(withSecurityConfig(nextConfig))` becomes `withSecurityConfig(withPayload(nextConfig))`; a panel not at
> `/admin` adds `{ adminClientHints: { route } }`. Without that line the site works exactly as before.
>
> **Postgres** (nothing to do): many form submissions or "forgot password" requests at the same moment no longer stop
> the site; form and account mail go out right after the commit. Details under "Fixed — Postgres".