From 09bff6a6830e138089c9cfc323e06d6e9aea28a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 29 Oct 2026 19:27:46 +0100 Subject: [PATCH] 1.15.1 Version bump; the Unreleased section becomes 1.15.1: guardSeedExit() (a seed that ends early exits 1 with the reason), wired into the seed templates and the reference site; reference smoke tests start their own server. What projects must update: nothing required; add guardSeedExit(), check echo $? after a seed in Coolify. Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 16 +++++++++++++--- package.json | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 8fb544d..0a52398 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.1 A seed run that stops early now fails loudly instead of looking like a success. @@ -21,9 +21,19 @@ A seed run that stops early now fails loudly instead of looking like a success. the types `SeedExitGuard`, `SeedExitGuardOptions`, `SeedExitProcess`. - The seed templates (`ipal-site`, `ipal-form`) and the reference site call it, so sites made with `ipal-kit create` have it. -### Requires project changes +### Changed +- Reference site (not shipped): the Playwright smoke tests start their own server and fail when the port is taken + (`reuseExistingServer` only with `E2E_REUSE_SERVER=1`), so another project's dev server is never tested by mistake. + +### What projects must update +- Nothing is required. - Recommended: add `guardSeedExit()` (imported from `@intecion/ipal-kit/seed`) as the first statement of every seed - script, before `getPayload()`. Without it nothing changes. + script, before `getPayload()`; without it nothing changes. A guarded script must end with `seed.summary()` (the seed + templates do), otherwise it exits 1 as "ended before the seed finished". +- **Check in Coolify:** after a seed in the app's Terminal, `echo $?` must print `0`; `1` with a `[seed] ended …` line + means the run stopped early and nothing after that point was written — run it again. +- `pnpm ipal:skills` for the updated `ipal-site` / `ipal-form` seed templates and `ipal-reference`. + ## 1.15.0 diff --git a/package.json b/package.json index 8fb49a5..0795ee7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intecion/ipal-kit", - "version": "1.15.0", + "version": "1.15.1", "description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.", "license": "MIT", "repository": {