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: