1.14.6
Version bump and CHANGELOG entry: the admin link-preview hook fix; 1.14.5 was tagged but never published, projects go from 1.14.4 to 1.14.6 with the 1.14.5 steps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
71f7108cb8
commit
c407ed33fc
@@ -8,8 +8,27 @@ 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
|
version you have. A new release = a new section at the top; we remove the oldest ones only
|
||||||
once there are more than 20.
|
once there are more than 20.
|
||||||
|
|
||||||
|
## 1.14.6
|
||||||
|
|
||||||
|
The release of everything listed under 1.14.5. **1.14.5 was tagged but never published** (its pre-publish test run
|
||||||
|
failed on the bug below): projects upgrade from 1.14.4 straight to 1.14.6 and follow the **1.14.5 "What projects
|
||||||
|
must update" steps**.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- **The admin link-preview hook no longer throws without a Payload instance.** The Site settings `afterChange` hook
|
||||||
|
added in 1.14.5 (`adminMeta`) called `syncAdminMeta(req.payload, …)`; with no `payload` on the request (tests,
|
||||||
|
scripts calling hooks by hand) it threw, and its own error handler threw again. `syncAdminMeta` now returns when
|
||||||
|
there is no Payload instance and logs only through `payload?.logger`, and the hook skips it without `req.payload`.
|
||||||
|
The `fillEmptyLocales` hooks got the same guard. In a running site `req.payload` is always set.
|
||||||
|
|
||||||
|
### What projects must update
|
||||||
|
- From 1.14.4: the 1.14.5 steps below (storage-type and title-separator migrations, theme key, cookie list, admin
|
||||||
|
link preview, dependency overrides, agent skills). Nothing more for 1.14.6.
|
||||||
|
|
||||||
## 1.14.5
|
## 1.14.5
|
||||||
|
|
||||||
|
> Tagged but never published — use 1.14.6, which contains everything below.
|
||||||
|
|
||||||
The theme choice moves to the standard `theme` key, the cookie scanner declares the plugin's own browser-storage
|
The theme choice moves to the standard `theme` key, the cookie scanner declares the plugin's own browser-storage
|
||||||
key, and the cookie list tells cookies from browser storage. A pasted `/admin` link now shows the site's own name,
|
key, and the cookie list tells cookies from browser storage. A pasted `/admin` link now shows the site's own name,
|
||||||
description and preview image instead of Payload's, and search engines are told not to index the panel.
|
description and preview image instead of Payload's, and search engines are told not to index the panel.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@intecion/ipal-kit",
|
"name": "@intecion/ipal-kit",
|
||||||
"version": "1.14.5",
|
"version": "1.14.6",
|
||||||
"description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.",
|
"description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user