legacy:site accepts only the performance errors the unedited 1.16.7 site meets (perf-budgets); changelog: /client helpers are plain values in server components, iaplTtlFrom in MongoDB types
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c9285f0349
commit
a416411f01
@@ -76,6 +76,14 @@ once there are more than 20.
|
||||
> silence one: `{ "off": true, "reason": "…", "until": "2027-03-01" }` (docs/doctor.md). The `growth-*` rules stay
|
||||
> warnings and infos.
|
||||
>
|
||||
> 10. **Helpers from `@intecion/ipal-kit/client` are plain values in a server component.** The `/client` barrels have
|
||||
> no `'use client'` any more, so a helper without its own directive (`pushDataLayer`, the role predicates, …)
|
||||
> imported into a server component is now the function itself, not a client reference. Only a project that passed
|
||||
> such a function from a server component to a client component as a prop notices it (Next: "Functions cannot be
|
||||
> passed directly to Client Components"): import it inside the client component instead.
|
||||
> 11. **MongoDB: the generated types gain `iaplTtlFrom`** on consent records and statistics visits (the hidden TTL
|
||||
> date, point 2) after `payload generate:types`. Nothing to change in code.
|
||||
>
|
||||
> **New, off until a project turns it on:** `iapl({ unusedMedia: true })` — above the Media list, how many files no
|
||||
> page, entry or setting uses, with a link to Payload's list filtered to them (deleting stays manual; **run
|
||||
> `pnpm generate:importmap`** after turning it on); `forms: { submissionRetentionDays }`; `Media eager` (a logo
|
||||
|
||||
Reference in New Issue
Block a user