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 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c7e198fd92
commit
970307f3ab
+13
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user