- Translate to English every doc the code branches did not touch: AGENT.md, developer guide, vibe, CHANGELOG, docs index, module pages, all skills except ipal-seo-check (14 pages follow after the security/SEO merge). Placeholder marker is now [TO FILL: …]; skill resources renamed to section-code.md / nav-code.md. AGENT.md and the ipal-skills pointer block say the docs are in English. - docs/seeding.md: create-only, natural keys, never delete, no users or secrets, empty-field globals, fallbackLocale: false, dry run, backup and restore, production update guard, seeds vs migrations, Coolify Terminal. Seed templates gain --dry-run, the SEED_UPDATE production guard (IPAL_SEED_ALLOW_PROD_UPDATE), skip of edited records and a summary. "Seeding on production" rule block in AGENT.md. - Coolify is the single deployment path (deployment, env, developer guide, ipal-setup): build vs runtime env, migrations on container start (prodMigrations), health check and rolling updates, rollback, backups and restore, DNS/Let's Encrypt/CAA. R2: custom domain needs a Cloudflare zone; default is media served by the app (R2_PUBLIC_URL empty). - docsConsistency: no Polish prose outside code/quoted data (pending pages listed); IPAL_* names may also be read by shipped skill templates. Co-Authored-By: Claude Opus 5.5 <[email protected]>
39 KiB
Changelog
Changes that matter for projects built on ipal-kit. How to move to a new version: the ipal-upgrade skill and PROGRAMISTA.md §6.
We keep at least the 20 most recent versions here. When you upgrade a project by several versions at once, go through every "Requires project changes" section in order, starting from the version you have. A new release = a new section at the top; we remove the oldest ones only once there are more than 20.
1.12.3
New
- Large cookie settings window with details —
<CookieBanner settings="detailed" />. Each category is a card with a switch (on/off), a description and an expandable list of the cookies it covers (name, provider, purpose, duration) — from Cookie Settings → Cookies. The developer picks the mode:'inline'(default, unchanged),'modal','detailed'. New group in the Cookie Settings → Detail labels global (list labels, per language; empty → English).ConsentTextshas optionalcookiesanddetails(filled bygetConsentTexts). NewclassNamesslots:categoryCard,cookies,cookiesToggle,cookieList,cookie,cookieName,cookieMeta. consent.md → "Large window with details".
Documentation
- consent.md: comparison of the three
settingsmodes, which one to pick (brief says nothing →detailedwhen the Cookies list is filled in), new fields in the table of panel texts, slots anddata-ipalhooks. - AGENT.md (§0b item 12, §7, compliance), PROGRAMISTA §2.8 / §2.11 / §6 item 46, skills
ipal-setup,ipal-site,ipal-upgrade,ipal-locale-add(Detail labels and Cookies in every language),ipal-consent-check(the import also feeds thedetailedwindow — check it after the import).
Requires project changes
- Postgres/SQLite: new fields in the Cookie Settings global →
payload migrate:create. MongoDB: no changes. - Optional:
<CookieBanner settings="detailed" />, fill in Cookie Settings → Cookies (scan:ipal-consent-check→ cookie-scan) and Detail labels in every language.
1.12.2
Fixes
- Empty admin panel in production because of the import map from dev.
buildR2StoragewithoutR2_*returned a no-op, sopnpm dev/generate:importmapwithout R2 wroteimportMap.jswithoutS3ClientUploadHandler; the project committed it, and the production panel (with R2) rendered a blank page with no console error. Now the adapter is always registered (without R2 asenabled: false, media still on disk) — the import map is identical in every environment.ipal-audit: ERROR "import map without the R2 upload handler". - Cookie Settings — the "Zapisz" text is no longer lost after 1.11.1 (MongoDB). The first save of the global
removed the old
buttons.saveand the button fell back to "Save preferences" in all languages. On startup the plugin copiesbuttons.save→buttons.savePreferences(all languages) when the new field is missing.getConsentTextsread the old field as text, but Mongo returns it as a{ pl, en }map (the field is not in the schema) — the banner could show "[object Object]". ipal-audit: a multi-line"exclude"in tsconfig is no longer reported;a11y,i18n,l10nare not "numbered fields"; it catches links`${prefix}/${slug}`and page paths hard-coded in code (`${prefix}/kontakt`); message "panel text in Polish — admin labels/descriptions are English" (was the misleading "panel is English").
New
- Read-only media:
R2_PUBLIC_URLalone (absolute, outside production) → file URLs from the media domain, upload and delete blocked (403). Local dev on the production database without bucket keys.ipalEnvRulesin dev then does not require the rest ofR2_*. storage.md → "Behavior". context: { ipalSkipAutoFill: true }(SKIP_AUTO_FILL) — save without auto-filling meta andaiSummary. For data migrations and scripts that must save only what they set. seo.md.createPageRouteredirects the home page from its slug (/pl/home→ 308/pl). Turn off:homeAlias: false. Remove your own redirect frompage.tsx. pages.md.
Documentation
- i18n.md:
fallback: truepersists default-language text into empty fields of other languages on save — the consequences and how to write scripts. - PROGRAMISTA §1:
pnpm up --latest @intecion/ipal-kit(plainpnpm upwill not go past the exact version); 401 on the public registry = old token in~/.npmrc.
Requires project changes
pnpm up --latest @intecion/ipal-kit, thenpnpm payload generate:importmapand check thatimportMap.jshas@payloadcms/storage-s3/client#S3ClientUploadHandler(project withbuildR2Storage). Commit it.- Your own redirect of the home page from its slug (e.g. in
renderwithbuildLocalizedPath) — remove it,createPageRoutedoes this now. - Optional: local dev on the production database → only
R2_PUBLIC_URLin.envinstead of R2 keys.
1.12.1
New
-
A description for every page from its content — auto-fill fills an empty
meta.descriptionfrom the page's blocks (layout→ paragraphs without headings, whole sentences up to ~155 characters) whenautoFill.descriptionyields nothing. Before, a page without a description gotsiteDescription— the same on every page, so Google ignored it and quoted the footer.autoFill: { content: 'blocks' | false, descriptionLength }. A description typed by hand is never overwritten. -
<NoSnippet>(/rsc,/client) —data-nosnippetondiv/section/span. For the footer, contact bar, repeated CTA: Google stops showing the address and opening hours from the footer as the description of subpages.CookieBannerandLanguageSwitcherhavedata-nosnippetthemselves. Details: seo.md → "Descriptions in Google". -
Hint under the description in the SEO tab (
MetaDescriptionCheck) — description empty, identical tositeDescription, or identical to another document in the collection. Does not block saving.seo.descriptionCheck: { settingsSlug, siteDescriptionField }orfalse. -
ipal-seo-check — warnings: duplicated meta description, footer without
data-nosnippet. -
Statistics in the panel —
ipalKit({ stats: true })+<SiteProviders stats={{ locale }}>(or<PageStats>from/client). The/admin/statsview: daily visits over 30 days, pages, entries, sources, devices; chart on the dashboard. No cookies and no IP stored — no consent required (hash with a salt rotated daily). Visitors with analytics consent (the same as GA4) get theipal_vidcookie and a multi-day history; the server checks the consent cookie itself. Collectionstats-visits, 90-day retention. Details + privacy policy text: stats.md. -
@payloadcms/nextin peerDependencies (the/admin/statsview uses itsDefaultTemplate; every Payload+Next project already has it).
Fixes
- Auto-fill on a partial save —
payload.update/ REST PATCH without themetagroup no longer treats the saved title as empty (it reads it from the document).
Requires project changes
pnpm payload generate:importmap— new panel component@intecion/ipal-kit/admin#MetaDescriptionCheck.- Footer: content in
<NoSnippet>inside<footer>(not on<footer>— Google ignores the attribute there):import { NoSnippet } from '@intecion/ipal-kit/rsc'. The same for a repeated contact bar / CTA. - Optional: existing pages without a description get one on their next save. To get it now — save them in the panel.
Project without a
layoutfield (blocks under another name):autoFill: { content: '<field name>' }. - Check:
ipal-seo-checkwith no warnings about the footer and duplicated descriptions; in Search Console → URL Inspection → request re-indexing of the main pages. - Optional, statistics:
stats: trueinipalKit,stats={{ locale }}in<SiteProviders>,pnpm payload generate:importmap, migration (Postgres). In the panel, addipal_vid(analytics) to Cookie Settings → Cookies and update the privacy policy — ready-made text in stats.md.
1.12.0
New
- Lazy 404 page —
createNotFoundPage(content, { load })+renderNotFoundView(content, { blocks, blockProps, fallback }, locale)(/rsc) in a project server action;<NotFoundLoader>(/client). Next puts the layout'snot-foundtree into the RSC data of EVERY page; the{ blocks }variant rendered the 404 page from the panel there in every language (404 = home page, 2 languages: home page HTML 195 → 146 KB gzip, RSC data −42%). Now the data holds only the loader; the content arrives when the 404 is shown.renderNotFoundViewaccepts only configured languages. Details: pages.md → "404 page".
Requires project changes
Nothing mandatory — createNotFoundPage(content, { blocks }) works as before. Recommended (every project with a 404
from the panel, especially 404 = home page or several languages):
src/app/(frontend)/[locale]/notFoundView.ts(.tsxwhenfallbackis JSX):'use server'+export async function loadNotFoundView(locale: string) { return renderNotFoundView(content, { blocks: blockRegistry, blockProps, fallback }, locale) }— move the options over fromnot-found.tsx.not-found.tsx:export default createNotFoundPage(content, { load: loadNotFoundView }).- Check: the HTML of any page has no 404 page content (
self.__next_f), and an unknown address (e.g./xx/test) still gives a 404 with the content from the panel.
1.11.1
New
- Light / dark theme —
<ThemeScript>(/rsc, or<SiteProviders theme>) setsdata-themeandcolor-schemeon<html>before paint; unstyled<ThemeSwitcher>(role="switch"),useTheme(),applyTheme(/client). The choice is kept inlocalStorage(ipal-theme), synced across tabs. Site Settings → Theme:defaultTheme: 'system',themeToggleLabel;getSiteShell(locale).theme. Details: theme.md. - Turnstile in the page theme —
turnstileThemedefaults to'page'(no page theme ='auto'as before). - Table of contents —
extractHeadings,RenderRichText headingIds(the same ids),<TableOfContents>(/client,aria-current="location"),buildTableOfContentsField(). Details: richtext.md. - Missing page → home page —
createPageRoute(…, { redirect, onMissing: 'redirectHome' })or your own function. - Forms — "Placeholder" field (localized) in the text, email, textarea, number blocks; new Time type
(
HH:MM, validated on the server). buildLinkField({ interfaceName }).
Fixes
buildRevalidateHookoutside Next — withoutNEXT_RUNTIME(payload run, seed, migrations) or withcontext.disableRevalidatethe hook does nothing. Before:Invariant: static generation store missing.BuilderFormno longer scrolls the page to the form — focus only on step change. Before, React re-ran the effect (Next restoring a visited page, StrictMode) and focus jumped to the first field.- Placeholder color under transparent images —
mediaImagePropsgivesbackgroundColoronly for JPEG (placeholderColor), the hook does not compute a color for images with alpha. No more black rectangles under logos. - The link type does not depend on field order — each shape has its own name:
CmsLink,CmsLinkPlain(appearances: false),CmsLinkNoLabel,CmsLinkPlainNoLabel. All of them fitCmsLink. - Mongoose warning on every start — Cookie Settings field
buttons.save→buttons.savePreferences(saveis a reserved name). Frontend API unchanged (texts.buttons.save). - ipal-audit — object keys between JSX elements (
narrow: <A />, wide: <B />) are no longer reported as hard-coded text; the "page routes rendered dynamically" rule skips the/md/[locale]route (route handlers areforce-dynamicby design).
Requires project changes
- Migration (Postgres/SQLite):
pnpm payload migrate:create— new fields (placeholder, time,themeToggleLabel, thesystemvalue), renamebuttons_save→buttons_save_preferences: when drizzle asks about the column, choose rename; otherwise the button text falls back to the default "Save preferences" and has to be typed in the panel. MongoDB: no migration; the plugin tries to read the old value, but check the "Zapisz" button in the banner and if needed type the text in Cookie Settings → Buttons → Save. pnpm payload generate:types— links without appearance / without a label have new type names; code usingCmsLinkkeeps working.- Remove the workarounds from PROGRAMISTA §6 items 38–45 (
WORKAROUND ipal-kitcomments in the project).pnpm ipal:skills(new audit).
1.11.0
New
- Form fields filled by the page —
valuesinRenderForm,BuilderFormanduseBuilderForm({ subject: 'Pierścionek · białe złoto · 0,70 ct' }): a read-only field (classNames.fixed), in SSR, sent and validated like any other.prepareBuilderForm(/rsc) — the server half ofRenderFormfor a client component with changing values (a configurator);publicFormis exported. No morepublicFormcopies in projects. - Links to collection entries —
buildLinkField({ relationTo: ['pages', 'categories', 'products'] });resolveLinkHref/resolveLink/resolveNavbuild/{locale}/{archive}/{entry},getLinkOptionsprovides the archives from Site Settings. - JSON-LD for entries that are not articles —
pageJsonLd.entries(a node per collection) andbuildProductJsonLd(Offeronly with a real price). isFirstfor blocks fromcreatePageRoute/createNotFoundPage— the first section carries the onlyh1.
Fixes
ipalEnvRules({ storage: true }):R2_*required in production; optional in dev (media on disk), but all or none. Before, dev without R2 did not start, so projects madestorageconditional themselves.buildImagesConfig(): outside production it allows media served by the app (/api/media/file/**onNEXT_PUBLIC_SERVER_URL) and localhost (dangerouslyAllowLocalIP) — without R2, images in dev no longer give 500.
Requires project changes
- Remove the workarounds from PROGRAMISTA §6 items 34–37 (
publicFormcopies, manual remotePatterns for localhost, conditionalstorage, your own JSON-LD graph for entries). - Changing a link's
relationToto an array changes the data shape of existing links — migration (ipal-migrate-fields).
1.10.1
Fixes
- The fallback meta description works.
createPageMetadata(and socreatePageRoute/generatePageMetadata) read Site Settings →siteDescriptionbut did not pass it tobuildMetadata— a page without its ownmeta.descriptionhad no<meta name="description">and noog:description(Lighthouse SEO: "Document does not have a meta description"). Regression test intest/seo.test.ts.
Documentation
- storage.md → "Media caching": a Cloudflare Cache Rules rule for the media domain (1 year). Files in R2
have no
Cache-Control(the S3 adapter does not let you set it), and Cloudflare defaults to 4 h.
Requires project changes
- A meta description workaround in the project (filling
descriptionyourself ingenerateMetadata) can be removed —export const generateMetadata = route.generateMetadatais enough. - Cloudflare: add a Cache Rules rule for the media domain (storage.md).
1.10.0
New
- Cookie banner tailored to the project —
CookieBanner:order(button order),settings="modal"(settings in a centered window: ✕, Escape, click on the backdrop),controls="switch"(role="switch"switches),settingsActions(e.g. Save / Necessary only / Accept),icon={false};classNameshas a slot for every element (text, each button, modal, category card, switch, badge). Cookie Settings:eyebrow,title,settingsDescription,alwaysActiveLabel,buttons.close. Details: consent.md → "Layout".
Fixes
/clientno longer pulls the admin panel into the page.MaskedField,TestEmailButton,IntegrationStatusBanner(they import@payloadcms/ui) are now in/admin;sideEffectsin package.json. Every page importing anything from/client(CookieBanner, LanguageSwitcher…) loaded ~235 KB gz of panel code. A test guards against regression.
Requires project changes
pnpm payload generate:importmap(panel component paths:/client#…→/admin#…),rm -rf .next.- Import
MaskedField/TestEmailButton/IntegrationStatusBannerfrom@intecion/ipal-kit/client→@intecion/ipal-kit/admin. - New Cookie Settings fields: Postgres/SQLite →
pnpm payload migrate:create; MongoDB: no changes.
1.9.9
New
- Nice emails from forms (
forms: { emailLayout: true }):{{*:table}}→ a readable summary (questions, answer labels, grouped by step, no empty fields) + an email template (logo, accent color, footer from Site Settings → Emails; tables + inline CSS). Hookforms.beforeEmail. Details: forms.md → "Nice emails".
Fixes
submitFormsaves the submission in the page language — emails (subject, body, confirmation) always went out in the default language, also for visitors of the English version.
Requires project changes
emailLayout: trueadds fields to Site Settings → migration (pnpm payload migrate:create, with the full set ofR2_*). SetserverURLinbuildConfig(absolute logo URL and the link in the email).
1.9.8
New
- Under construction (developer tool): Site Settings → Under construction — a switch, a
"Pages still available" list and the popup texts. When on, only the home page and the selected pages open
(in every language); other addresses → home page with a popup, clicking a link to a blocked page →
popup instead of navigation.
createPageRoute(…, { redirect }),getConstructionMode(locale),<ConstructionNotice>(/client). Details: construction.md.
Requires project changes
- New fields in Site Settings → migration (
pnpm payload migrate:create, with the full set ofR2_*if the project uses them). WithoutredirectincreatePageRouteand without<ConstructionNotice>the mode does not work (nothing changes).
1.9.7
New
- Conditional fields and steps in forms from the panel ("Show only when",
showWhen): every field, Checkbox group, message and Step can show only for a chosen answer of another field (field+ comma-separatedvalues). A hidden Step drops out of the form together with its fields, the following steps are renumbered. The browser and the server apply the same rule (visibleFields): a hidden field is neither required nor saved; GDPR consent (consent) is always enforced. Details: forms.md → "Conditional fields and steps".
Requires project changes
- A new group in the form blocks = new database columns. After the upgrade:
pnpm payload migrate:create(with the full set ofR2_*if the project uses them) andpnpm payload migrate. Existing forms work unchanged (empty "Show only when" = field always visible).
1.9.6
Fixes
- Markdown route: a safe type when reading language codes from the config (no change in behavior).
Roll-up release — contains everything from 1.9.2–1.9.5 (multi-step forms,
SiteProviders,createPageRoute, one-line routes, custom link styles,getSystemLinks, Markdown on a single-language site, new audit rules). When upgrading from an older version, go through the "Requires project changes" sections from your version upwards.
1.9.5
Fixes
- Markdown (GEO) on a single-language site:
/md/kontaktwent to themd/[locale]/[[...slug]]route as the language "kontakt" → 404, and/md(home page) had no route.markdownRoute/createMarkdownRoutenow works without thelocaleparameter (app/md/[[...slug]]/route.ts, language from config), and a route with[locale]on a single-language site reads that segment as the slug.
Documentation
- i18n.md: a single-language site on
SiteProviders,createPageRoute,createNotFoundPageandapp/md/[[...slug]]. Removed the wrong advice "set up[locale]in advance with one language" (links would be without/pl, pages with/pl); described moving to several languages (the proxy redirects old addresses).
Requires project changes
- Single-language site with
app/md/[locale]/[[...slug]]/route.ts→ move the file toapp/md/[[...slug]]/route.ts(no content changes), so that/mdworks for the home page.
1.9.4
New
- Link styles from the project:
buildLinkField/buildLinksField({ appearances })accept any names and panel labels —['primary', { label: 'Highlighted', value: 'highlight' }]. Before, only primary / secondary / link, which pushed projects to conditions on content (label === 'Tesla'). - Legal links:
getSystemLinks(locale, roles?)inlib/content(andresolveSystemLinks) — href and label (page title in the given language) from Site Settings → System Pages.
Audit
- ERROR: logic based on content (
label?.toLowerCase() === '…'), Polish text in frontend code literals, link/button fields in globals (prefooterButtonUrl,ctaLabel…); WARNING: a relationship topagesin a global instead ofbuildLinkField.
Requires project changes
- Header/Footer globals with
page+url+labelfields →buildLinkField(the data must be moved — the ipal-migrate-fields skill), thenresolveNav/resolveLink; legal links →getSystemLinks.
1.9.3
Audit
ipal-auditcatches hand-written link building under any name (resolveHref,getHref…): a home page slug hard-coded in code (=== 'home','strona-glowna') and a URL glued from the slug (`/${slug}`,'/' + slug) — ERROR pointing toresolveLink/resolveNav. Such a copy loses the language prefix, the home page from Site Settings, thejavascript:filter and dead links.- Fix: a comment that starts a line is no longer reported by rules that ignore comments (fewer false alarms).
- AGENT.md (forbidden substitutes) and links.md: how to remap a
page+urlfield toresolveLink.
Requires project changes
- New audit ERRORs point to your own link functions — replace them with
resolveLink(link, locale)fromlib/content(PROGRAMISTA §6 item 33).
1.9.2
Import instead of code: what every project wrote the same way is in the plugin — logic and skeleton. The look stays in the project (classes, your own markup on hooks). Everything is optional: existing project code works unchanged.
Requires project changes
- Security — your own
FormRenderer: the template fromipal-formpassed the whole form document to the client component. The Local API reads withoverrideAccess, so the Emails tab (company addresses, templates) ended up in the HTML/RSC. Replace the block with<RenderForm>(below) or pass to the client only the fields, labels and the confirmation. PROGRAMISTA §6 item 28. - Postgres:
pnpm payload migrate:create— new form field types (Step, Checkbox group, Radio, Date) and thenext/back/stepOftexts in Notifications. MongoDB/SQLite (push): no changes.
New
- Forms from the panel in one line:
<RenderForm form action locale texts classNames>(/rsc) — rich text, action binding, redirect, only the public part of the form in the browser. Underneath:BuilderForm(/client, clean accessible HTML without styles,classNames,renderField) anduseBuilderForm(all the logic for your own markup). Templates:ipal-form/resources/FormBlock.tsx,formClasses.ts,CustomForm.example.tsx(the oldFormRenderer.tsxremoved). - Multi-step forms and choice lists: in the panel, the Step blocks (split into screens, title and
description per language), Checkbox group (multiple choice, min/max), Radio, Date — on by default
(
forms.fields.<type>: falseturns one off). The server checks values from the panel, the number of choices and dates; choices are saved readably ("www, seo"). "Next" validates the current step, a server error returns to the step with the field, focus moves to the new step. Texts: Notifications →next,back,stepOf. - Layout:
getSiteShell(locale)(consent, analytics, Turnstile key, form texts, JSON-LD WebSite + Organization, Site Settings) +<SiteProviders shell>(/rsc) — providers, banner, cookie button, Analytics, JSON-LD and preconnect in the right order; every part can be replaced or turned off.siteJsonLdincreateContentHelpersfor LocalBusiness. - Page and 404:
createPageRoute(content, { blocks, notFound, permanentRedirect, blockProps, render })andcreateNotFoundPage(content, { blocks, fallback })(/rsc). - One-line routes:
createContentHelpersreturnsllmsRoute,llmsFullRoute,markdownRoute,mcpGET/mcpPOST,healthRoute,indexNowKeyRoute,manifest; the optionssummaryField,mcp,markdown,redirectCollectionsonce inlib/content.ts. - Links and menus:
resolveLink(href,internal,targetProps,appearance),resolveNav(any depth, dead links skipped),homeSlugFrom; inlib/content:resolveLink(link, locale),resolveNav(items, locale),getLinkOptions,getHomeSlug,resolvePageRedirect,getFormTexts. - Section fields:
buildSectionHeaderField,buildSectionSettingsField({ backgrounds, anchor, fields })— the same data shape as the oldsrc/fields/section*.ts(no migration). useOptionalTurnstile()— without a provider returnsenabled: falseinstead of throwing.
Documentation and audit
- AGENT.md §7 is a full "need → import" catalog; §0b, §3, §6 and PROGRAMISTA §2.7–2.8, §6 (items 28–33) describe the new way; skills ipal-form, ipal-nav, ipal-block, ipal-setup, ipal-upgrade updated.
ipal-auditaccepts re-export routes andSiteProviders; new rules: a copy of the form engine,src/fields/section*.ts/lib/navigation.ts(WARNING), importing the root //rsc//serverin a client component (ERROR).docsConsistencytest: every import in the docs exists in the code, every public export is documented.- The sandbox (
dev/) has a frontend built on these imports (multi-step form at/pl/kontakt).
1.9.1
Requires project changes
- Security — drafts: never-published pages and entries were available at their address
(and in Markdown, MCP, archive lists). Now they are not. Editor preview:
draft: trueinresolveRoute/getArchiveEntriesindraftMode(). - Form submissions are readable only by the
editor/adminroles (before: any panel account); recipient addresses (Emails tab) disappeared from the publicGET /api/forms. - Forms: the
emailfield accepts exactly one address, select only options from the panel, types checked on the server (kind: 'invalid_format'). A form sending data in a different shape will be rejected. - Withdrawing consent deletes tool cookies (
_ga*,_fbp,_gcl_*, Clarity, LinkedIn…), also on the parent domain. - New fields in globals (Postgres:
pnpm payload migrate:create): Site Settings → sameAs; Cookie Settings → Policy version, Cookies; Site Integrations → IndexNow. - Exports:
@intecion/ipal-kit/envand/fluid.cssfinally work (they were in the docs, not in the package). users: the plugin adds an auth collection when the project has none — remove the workarounds frompayload.config.- The AGENT.md §0b set extended to 18 items (
ipal-auditreports gaps).
New
- SEO/GEO:
getPageJsonLd,buildNavigationJsonLd,formatOpeningHours+typeinbuildLocalBusinessJsonLd,sameAsUrls, IndexNow (indexNow: true,createIndexNowKeyRoute),collectSiteIndex(blog and all languages in llms.txt and MCP), URL + date in the Markdown frontmatter, X/Twitter card,og:type=article, images in the sitemap, the default share image works. - Ready-made routes and actions:
createMarkdownRoute,createSubmitAction,createProxy({ markdown: true }). - Consent: policy version from the panel,
equalChoice, consent log (consentLog), cookie table (getCookieTable,<CookieTable>), thecookie-scanscanner + import into the panel. - noindex:
IPAL_NOINDEX=1for staging, Markdown/llms withX-Robots-Tag: noindexand canonical, noindex blocked on the home page and archives. - Media:
mediaImageProps,videoProps,MEDIA_SIZES, placeholders on upload,buildImagesConfig,<YouTubeEmbed>,buildUploadSecurityHeaders. - Scaling:
fluid-wide.css(up to 1920 px) and variables that depend on screen height. safeHref(CMS links withoutjavascript:), analytics ID validation, full Google Maps CSP preset.- Agent: AGENT.md §0c (content for Google and AI, when to use noindex), §6.0 (component rules), §6.11a/b
(scaling, Core Web Vitals), §8a (tests) + the
smoke.spec.tstemplate; form seed; new checks inipal-auditandipal-seo-check.
1.9.0
Requires project changes
- 2FA:
twoFactor.pluginis required. Removed the fallback dynamic import of@clocklimited/payload-2fa(it did not work in Next anyway, and produced a Turbopack warning).twoFactor: { issuer, plugin: payloadTotp }— withoutpluginstartup ends with a clear error.twoFactor: falseunchanged. - Turnstile required when configured. Both keys (panel or env) →
submitFormrejects a submission without a valid token (before, a missing token meant skipping verification — a bot could avoid it). No keys → no widget and no verification. One key → turned off + an alert on the dashboard. Layout:siteKeyfrom the newgetTurnstileConfig(payload)instead ofgetSiteIntegrations(…).turnstileSiteKey. Check that every form has the widget. - The
/api/ipal/test-emailendpoint only for theadminrole (other logged-in users → 403). rolesfield: only an admin assigns roles, also when creating an account. Open registration no longer letsroles: ['admin']through; the first user and the seed (overrideAccess) unchanged.- The AGENT.md §0b set is mandatory — SEO, JSON-LD, GEO (llms.txt,
llms-full.txt, Markdown, MCP), R2, Turnstile, builder forms, consent,
2FA, health, env.
ipal-auditreports gaps as[ERROR] missing: …,ipal-seo-checkchecks them on the running site. An exception only with the client's decision:ipal-audit-skip:inAGENTS.md.
New
createProxy(…, { markdown: true })— lets/md/…through (before, on a multilingual site the proxy redirected/md/pl/xto/pl/md/pl/x, so the Markdown route did not work) and rewrites requests withAccept: text/markdown.createContentHelpers({ markdownAlternate: true })—generatePageMetadataadds<link rel="alternate" type="text/markdown">.- MCP: the
get_site_infoandlist_pagestools; the server stays public (AI browses the site). New helperlistContent. getTurnstileConfig(payload)→{ enabled, siteKey }.clientIp(req | headers, { header, trustedProxies })—X-Forwarded-Forread from the right (the leftmost entry is set by the client), header pinned viaIPAL_IP_HEADER; a log warning in production when it is missing.ipalEnvRules({ ipHeader: true })requires it in production.setRateLimitStore({ hit })— a shared counter (e.g. Redis) for several instances.clientIpoption increateSearchRouteandcreateMcpRoute.
Fixes
- Accessibility: category checkboxes in the cookie banner have labels, buttons have
type, the address field in "Send test" has a label. - Localized collection labels no longer turn into "[object Object]" in the
Content tab (
injectSeoTabs). - Object values in a form submission are saved as JSON, not "[object Object]".
- JSDoc and docs: JSON-LD only through
<JsonLdGraph>(removed examples withdangerouslySetInnerHTML).
Plugin (for ipal-kit developers)
dist/out of git;prepublishOnly= clean + build + tests,preparebuilds on install from git. CI in.gitea/workflows/ci.yml.- 79 tests (vitest), including integration tests on a real Payload (in-memory SQLite).
pnpm typecheck,pnpm lint(0 errors),pnpm test:int.
1.8.14
Requires project changes
- 2FA: in Next you must inject
twoFactor.plugin(plugin: payloadTotp).serverExternalPackagesis not a workaround — the package imports its own.css, which Node cannot load. Remove the entry fromnext.configand the adapter with the cast.
Fixes
collectionin the 2FA type isCollectionSlug(before:string) —plugin: payloadTotppasses typecheck without a cast (TS2322).- The package publishes
bin—ipal-skillsworks.
1.8.13
New
- Email sending status in the panel:
mailAdapter()saves the result in Site Integrations; an error → an alert on the dashboard and a banner in the SMTP tab. The form keeps working (the submission is saved). After the upgrade:generate:importmap, Postgres:migrate:create. - Forms in the panel in the Forms group with labels (
forms.adminGroup); Notifications in the Settings group — no overrides in the project.
Requires project changes
POST /api/form-submissionsclosed to anonymous users (403). The frontend submits through a server action +submitForm(theipal-formskill). Deliberately public REST →formSubmissionOverrides.access.create.
1.8.12
New
- Turnstile: a failure on our side does not block forms.
checkTurnstile(/server) distinguishespass/reject(bad visitor token) /degraded(missing or bad secret, Cloudflare unreachable).degraded→ submission accepted, an alert on the dashboard (IntegrationAlerts) and a banner in Site Integrations → Turnstile. Strict:submitForm({ turnstileOnConfigError: 'reject' }). - Turnstile secret from the panel or the
TURNSTILE_SECRET_KEYenv; the rejection reason in the server log.remoteipis not sent by default (sendRemoteIp: true). - After the upgrade:
generate:importmap, Postgres:migrate:create(turnstileStatus).
1.8.11
New
- Per-IP request limit: search (
createSearchRoute, 120/min) and MCP (createMcpRoute, 60 messages/min, batch max 10) →429withRetry-After.rateLimit: { max, windowMs }orfalse(a limiter in front, e.g. Cloudflare WAF). - A shared limiter module (
shared/rateLimit) for forms, search and MCP.
1.8.10
Changes
- The styled sitemap heading is a fixed "XML Sitemap" (without the site name from Site
Settings); the
siteNameFieldoption removed. Your own title:sitemapStyle: { title }.
1.8.9
New
@intecion/ipal-kit/env— env validation without Payload and Node, safe ininstrumentation.ts(the package root broke Edge/Turbopack).fluid.css— a fluid typography and spacing scale 360→1280 px (variables only, opt-in, mapping in@theme).R2_PUBLIC_URLoutside production can be a path (/media) — prefixed withNEXT_PUBLIC_SERVER_URL; CSP does not add it toimg-src.ipal-audit:html-check.mjs— inline JSON-LD without escaping<= ERROR (XSS).
Fixes
createSitemapRouteHandlerrequiresreq— Next 16 checks the type of the route handler's first argument (Request | undefinedbroke the build).
1.8.8
- Restored the optional
reqin the sitemap handler (reverted in 1.8.9).
1.8.7
- Type fixes for
routeHandlers(sitemap handler).
1.8.6
Fixes
buildLinkFieldimportedsrc/…instead of a relative path — an error in the project.
1.8.5
New
sitemapRoutefromcreateContentHelpers: XML for crawlers, and in the browser a look served by the plugin (/sitemap.xml?style, CSS on XML, not XSLT).sitemapStyle: { accent, credit, title } | false.
Requires project changes
- One sitemap:
app/sitemap.xml/route.ts(export { sitemapRoute as GET }); removeapp/sitemap.tsandpublic/sitemap.css(ipal-auditreports them).
1.8.4
New
rowLabel()(/admin) — array rows in the panel show their content ("Kontakt") instead of "Item 01". After adding it:generate:importmap.buildOptimizeUploadHook— image optimization on upload.- Agent skills:
ipal-site(a site from brief to report), content seed,ipal-upgradeand others. - Cookie banner:
data-ipalattributes on buttons (tests), labels from the panel texts.
1.8.3
New
- Links module:
buildLinkField,buildLinksField,resolveLinkHref— a link to a page / URL / file, section buttons as an array (instead ofcta1,cta2). createContentHelpers:generatePageMetadata(shares the cache with the route) and therobotsoption; one Site Settings read per language per request.- Section and navigation code templates for the agent (
ipal-block,ipal-nav).
1.8.2
Fixes
- Missing
LocaleViewexport in/client.
1.8.1
Fixes
- Restored the 1.7.14 changes that the 1.8.0 release reverted by accident
(
LocaleView, 404 withoutheaders(), R2 fixes). Do not use 1.8.0.
1.8.0
- Faulty release: it reverted the 1.7.14 changes — upgrade to 1.8.1 or newer.
- Agent documentation moved to
docs/agent/AGENT.md+ skills.
1.7.14
Requires project changes
not-found.tsxwithoutheaders()— Next 16 turned an SSG/ISR page into a dynamic one. The server renders the 404 for every language,<LocaleView>picks the version from the URL (pages.md).
Fixes
buildR2Storage: R2 configuration fixes.- Skills for agents (
ipal-auditand others).
1.7.12
New
- The privacy policy link in the cookie banner is taken automatically from Site
Settings → System Pages; the link text in the panel (
privacyLinkLabel, per language). The oldprivacyPolicy.labelin code — deprecated. - New documentation structure:
docs/dev/PROGRAMISTA.md, AGENT.md,vibe.md.
1.7.10
Fixes
- White-label: branding reads Site Settings through the
payloadpassed by Payload (withoutimport('@payload-config'), which Next did not bundle); the name is localized according to the panel language.
1.7.9
New
<Analytics defer>— tags load on the first interaction or afterdeferTimeoutMs(default 3500 ms) fromload; Consent Mode unchanged.- Exported loaders
loadMetaPixel,loadClarity,loadLinkedIn,loadTikTok.
1.7.8
New
- Meta Pixel, Microsoft Clarity, LinkedIn Insight, TikTok Pixel in Site Integrations — loaded only after consent to the matching category.
- 404 page from the panel (Site Settings → System Pages,
resolveNotFoundPage).
Requires project changes
<Analytics>must be inside<ConsentProvider>.
1.7.7
Security
/api/healthand MCP do not return error details (database host, schema) — only a generic message; details in the server log.
1.7.6
Fixes
- noindex: the
buildNoindexFieldfield is top-level (doc.noindex) — the earlier write tometa.noindexwas stripped by plugin-seo, so noindex pages ended up in the sitemap. Sitemap, llms.txt, search and metadata readnoindex.
1.7.4
New
- 2FA:
twoFactor.plugin— injectingpayloadTotpinstead of a dynamic import. - White-label: the "Technology supported by Intecion.com" credit under the navigation and on the login screen; a larger logo on the login screen.