From 2f00fe3ad69e9bb88eba77b592e3705ae69d259b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 12 Nov 2026 15:39:26 +0100 Subject: [PATCH] 1.15.4 Version bump; the Unreleased section becomes 1.15.4: seeding whole localized arrays keeps every language. What projects must update: nothing required; repairing records an earlier seed wrote needs SEED_UPDATE=1 (locally first; on production with SEED_ONLY and IPAL_SEED_ALLOW_PROD_UPDATE=1 after a backup), edited records and global arrays by hand. Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 13 +++++++++++-- package.json | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f4d3776..73125bb 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -8,7 +8,7 @@ versions at once, go through every "Requires project changes" section in order, version you have. A new release = a new section at the top; we remove the oldest ones only once there are more than 20. -## Unreleased +## 1.15.4 ### Fixed - **Seeding whole localized arrays** (`createSeeder`, `writeLocales`): a value written per language as a whole — @@ -16,7 +16,16 @@ once there are more than 20. language. Before, each locale write made new shared rows and only the last language survived (form fields, nested select options, layouts, global arrays); an editor's later save could then fail validation. Fields that are themselves `localized: true` (a localized layout) keep rows per language, as before. Seed scripts need no change; - re-run a seed that was hit (locally first, or with `SEED_ONLY` on a live site). + repairing records an earlier seed already wrote: "What projects must update". + +### What projects must update +- Nothing is required: seed scripts need no change. +- A project that seeded whole localized arrays (form fields with options, a page `layout`, a global array written as + `{ pl: [...], en: [...] }`) and lost languages: a plain re-run skips existing records (create-only), so rewrite them + with `SEED_UPDATE=1` — **locally first**, then check every language in the panel. On a live site only for the named + records: `SEED_ONLY="forms:,pages:<slug>" SEED_UPDATE=1 IPAL_SEED_ALLOW_PROD_UPDATE=1`, `SEED_DRY_RUN=1` first, + after a backup (Coolify). Records an editor changed since seeding are skipped — fix those in the panel. A global + array: `fillGlobal` fills empty fields only, so clear the field in the panel before the run, or fix it by hand. ## 1.15.3 diff --git a/package.json b/package.json index 55cdda1..4596434 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intecion/ipal-kit", - "version": "1.15.3", + "version": "1.15.4", "description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.", "license": "MIT", "repository": {