diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 0540fe7..c8d4226 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.16.2 ### Security - **`mongoose` and `happy-dom` overrides for Payload's own dependencies.** `@payloadcms/db-mongodb` pins `mongoose` @@ -37,9 +37,19 @@ once there are more than 20. - AGENT.md §4 item 12, the `ipal-setup` and `ipal-upgrade` skills, doctor.md and the README list five overrides. ### What projects must update -- **Every MongoDB site:** add the two lines to `pnpm.overrides` in `package.json`, `pnpm install`, `pnpm build`, commit - `package.json` and the lockfile, redeploy on Coolify. No data change, no migration. `pnpm audit --prod` → no high or - critical; `pnpm exec ipal-doctor` → no `transitive-min` finding. `pnpm ipal:skills` for the updated skills. +- **Every MongoDB site** (`@payloadcms/db-mongodb`): add the two lines to `pnpm.overrides` in `package.json`, next to + the existing `dompurify` / `graphql-scalars` / `undici` entries: + ```json + "happy-dom@<21.0.4": "^21.0.4", + "mongoose@>=8 <8.24.7": "~8.24.10" + ``` + then `pnpm install`, `pnpm build`, commit `package.json` and `pnpm-lock.yaml`, redeploy on Coolify. No data change, + no migration, no import map change. The selectors only touch the vulnerable versions: a mongoose 9 or a mongoose + 8.24.7 and later is left as it is. +- **Postgres / SQLite sites:** only the `happy-dom` line (they have no mongoose). +- **Verify:** `pnpm why mongoose happy-dom` → mongoose 8.24.10 (MongoDB sites), happy-dom 21.0.4; `pnpm audit --prod` → + no high or critical; `pnpm exec ipal-doctor` → no `transitive-min` finding; open the panel and save a document. +- `pnpm ipal:skills` for the updated `ipal-setup` / `ipal-upgrade` skills. ## 1.16.1 diff --git a/package.json b/package.json index 2f849a6..04fa78d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intecion/ipal-kit", - "version": "1.16.1", + "version": "1.16.2", "description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.", "license": "MIT", "repository": {