1.18.0 performance items: tests, the reference budget gate tightened (JS 195 kB, 404 without its exception, TTL check), docs (performance.md, AGENT.md, iapl-performance, module pages, api.md), changelog: what changes for an existing site

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 15:54:15 +01:00
co-authored by Claude Opus 5.5
parent d628839235
commit f0127ac1b8
35 changed files with 1154 additions and 288 deletions
+7
View File
@@ -99,6 +99,13 @@ the action to the form and the language, resolves the redirect and gives the bro
form** — the Local API reads with `overrideAccess`, so the document has the Emails tab (company addresses);
a hand-written `<FormRenderer form={form}>` used to send them in the HTML. Underneath it is `BuilderForm` (client).
**The form's code loads only on pages that show a form (1.18.0).** `RenderForm` renders a lazy `BuilderForm`, and
`BuilderForm` / `Turnstile` from `@intecion/ipal-kit/client` are the lazy wrappers (same props): the server renders the
whole form, the browser fetches the code while it hydrates — every other page carries none of it (reference site: −8.8 KB gzip with webpack, −6.1 KB with
Turbopack). The eager component, in every page's bundle: `import { BuilderForm } from
'@intecion/ipal-kit/client/eager'` and `<RenderForm Form={BuilderForm} …>`. The Turnstile widget's height is kept free
before Cloudflare draws it: `turnstileReserveHeight` (default 73, `0` for an invisible widget).
### Field types in the panel
text, email, textarea, number, **date**, **time** (1.11.1), select, **radio**, checkbox, **Checkbox group**,
message, **Step** (+ country/state as text), and **File** when `forms.attachments` is on ("Files" below).