From 970307f3abd7728e9ed071f0475d242f0e927003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Fri, 13 Nov 2026 14:35:22 +0100 Subject: [PATCH] 1.15.5 Version bump; the Unreleased section becomes 1.15.5: required fields with references are seeded complete; a stricter dry run (missing $form / $page is an error there too). What projects must update: nothing required; a required reference cycle now fails clearly. Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 14 +++++++++++++- package.json | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 290a660..cf09ffe 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.5 ### Fixed - **Seeding a required field with references** (`createSeeder`, `upsertBySlug` / `upsertBy`): a page whose required @@ -19,6 +19,18 @@ once there are more than 20. waits until it exists. Required links in a cycle, and links to a page or form that never appears, are an error with nothing written. The dry run now reports the same outcome, including a missing form. Seed scripts need no change. +### Changed +- **A stricter dry run:** `SEED_DRY_RUN=1` with a `{ $form }` to a form that neither exists nor is seeded earlier in the + same run is now an error, as the real run would be (before, the dry run printed a placeholder and reported a create). + The same holds for a `{ $page }` that never appears. + +### What projects must update +- Nothing is required: seed scripts need no change. +- A seed with a required reference cycle (two new pages whose required fields link to each other) now stops with a + clear error naming the pages, and nothing is written for them; make one of the links optional or seed one page + first. Before, such a run could look successful in the dry run and fail on validation in the real one. +- A dry run that now reports a missing form or page: seed that record first (or create it in the panel), then run again. + ## 1.15.4 ### Fixed diff --git a/package.json b/package.json index 4596434..9571474 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intecion/ipal-kit", - "version": "1.15.4", + "version": "1.15.5", "description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.", "license": "MIT", "repository": {