From 2cadb425d6e201c95ecd98631d19144fbb5cee5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Wed, 28 Oct 2026 21:34:09 +0100 Subject: [PATCH] 1.14.2 Version bump; the Unreleased section becomes 1.14.2: 2FA setup-loop fix (TotpRedirectProvider), twoFactor.provider, totpRedirectTarget/totpAdminPath, known issue (low deepmerge advisory via payload), what projects with 2FA update. Co-Authored-By: Claude Opus 5.5 --- docs/CHANGELOG.md | 16 ++++++++++++---- package.json | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 693af11..7ccb3ed 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 (after 1.14.1) +## 1.14.2 ### Fixed - **2FA setup loop.** A user without TOTP (every new admin) was sent to `/admin/setup-totp?back=null`, and that page @@ -22,9 +22,17 @@ once there are more than 20. to keep the package's (then set `x-pathname` on `/admin` yourself). **`totpRedirectTarget` / `totpAdminPath`** — the redirect rules as a pure function, for your own provider. -### Requires project changes -- With 2FA on: `pnpm payload generate:importmap` (adds `@intecion/ipal-kit/admin#TotpRedirectProvider`), commit - `importMap.js`, redeploy. **Check:** a new admin lands on `/admin/setup-totp?back=%2Fadmin` and sees the QR code. +### Known issue +- `pnpm audit --prod` reports one **low** advisory: `deepmerge` 4.2.0–4.3.1, prototype poisoning in `mergeObject()` + (GHSA-gcqx-w48m-w2h4), reached through `payload` (`@clocklimited/payload-2fa` → `payload` → `deepmerge`). No patched + version exists yet; nothing to do in projects until Payload or `deepmerge` ships a fix. + +### What projects must update +- **Projects with 2FA on:** `pnpm payload generate:importmap` (adds `@intecion/ipal-kit/admin#TotpRedirectProvider`), + commit `importMap.js`, `rm -rf .next`, redeploy on Coolify. **Check:** a new admin lands on + `/admin/setup-totp?back=%2Fadmin` and sees the QR code. Remove an own `x-pathname` rule on `/admin` if one was added + as a workaround. +- Projects without 2FA (`twoFactor: false`): nothing. ## 1.14.1 diff --git a/package.json b/package.json index b281ddc..fd65ce1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intecion/ipal-kit", - "version": "1.14.1", + "version": "1.14.2", "description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.", "license": "MIT", "repository": {