1.17.0 release notes: consent
The box says "a doctor warning" for consent-log-migration (decided after the review); the reference copies of the iapl-upgrade and iapl-reference skills re-synced from docs/agent/skills. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9fa886ce62
commit
d97d571de7
+1
-1
@@ -63,7 +63,7 @@ once there are more than 20.
|
|||||||
> consent log is on by default; no IP, no user agent). Withdrawing now stops Meta, TikTok and Clarity at once.
|
> consent log is on by default; no IP, no user agent). Withdrawing now stops Meta, TikTok and Clarity at once.
|
||||||
> Consent Mode stays `advanced`. Each change has an opt-out (table under "Requires project changes"). **Postgres /
|
> Consent Mode stays `advanced`. Each change has an opt-out (table under "Requires project changes"). **Postgres /
|
||||||
> SQLite:** `pnpm payload migrate:create consent-log` in the same deploy, or `iapl({ consentLog: false })` — without
|
> SQLite:** `pnpm payload migrate:create consent-log` in the same deploy, or `iapl({ consentLog: false })` — without
|
||||||
> either the site works but no choice is recorded (one log line, a doctor error).
|
> either the site works but no choice is recorded (one log line, a doctor warning).
|
||||||
>
|
>
|
||||||
> **Postgres** (nothing to do): many form submissions or "forgot password" requests at the same moment no longer stop
|
> **Postgres** (nothing to do): many form submissions or "forgot password" requests at the same moment no longer stop
|
||||||
> the site; form and account mail go out right after the commit. Details under "Fixed — Postgres".
|
> the site; form and account mail go out right after the commit. Details under "Fixed — Postgres".
|
||||||
|
|||||||
@@ -187,6 +187,7 @@ Fifteen ready blocks and ten page templates. **Use a library block (or a variant
|
|||||||
| `REJECT_ALL_CONSENT` | `@intecion/ipal-kit` | Only `necessary: true` (a copy of `DEFAULT_CONSENT`). |
|
| `REJECT_ALL_CONSENT` | `@intecion/ipal-kit` | Only `necessary: true` (a copy of `DEFAULT_CONSENT`). |
|
||||||
| `CONSENT_LOG_SLUG` | `@intecion/ipal-kit` | Consent log collection slug: `'consent-records'`. |
|
| `CONSENT_LOG_SLUG` | `@intecion/ipal-kit` | Consent log collection slug: `'consent-records'`. |
|
||||||
| `CONSENT_LOG_PATH` | `@intecion/ipal-kit` | The consent log endpoint's path under the API route: `'/ipal/consent'` (`/api/ipal/consent`). |
|
| `CONSENT_LOG_PATH` | `@intecion/ipal-kit` | The consent log endpoint's path under the API route: `'/ipal/consent'` (`/api/ipal/consent`). |
|
||||||
|
| `CONSENT_LOG_MAX_BYTES`, `readCappedBody(request, max?)` | `@intecion/ipal-kit` | The consent log endpoint's body cap (4096 bytes) and the reader it uses: `null` when a declared `content-length` or the stream itself passes the cap (read only up to it), else the text — for your own public JSON endpoint. |
|
||||||
| `resolveConsent(record, signal, mode?)` | `@intecion/ipal-kit` | Pure: what is in effect for a stored record (or `null`), the Global Privacy Control signal and the mode (`'honour'` default / `'ask'` / `false`) → `{ decided, gpc, stale, state }` (type `ResolvedConsent`; mode type `GpcMode`). The table in consent.md → "Global Privacy Control". |
|
| `resolveConsent(record, signal, mode?)` | `@intecion/ipal-kit` | Pure: what is in effect for a stored record (or `null`), the Global Privacy Control signal and the mode (`'honour'` default / `'ask'` / `false`) → `{ decided, gpc, stale, state }` (type `ResolvedConsent`; mode type `GpcMode`). The table in consent.md → "Global Privacy Control". |
|
||||||
| `gpcFromNavigator()` / `gpcFromHeaders(headers)` | `@intecion/ipal-kit` | The signal: `navigator.globalPrivacyControl === true` (false on the server) / `Sec-GPC: 1` exactly. Read the header only where a response is per visitor (endpoints) — never while rendering a static page. |
|
| `gpcFromNavigator()` / `gpcFromHeaders(headers)` | `@intecion/ipal-kit` | The signal: `navigator.globalPrivacyControl === true` (false on the server) / `Sec-GPC: 1` exactly. Read the header only where a response is per visitor (endpoints) — never while rendering a static page. |
|
||||||
| `GPC_CATEGORIES`, `GPC_HEADER` | `@intecion/ipal-kit` | `['analytics', 'marketing']` (what the signal refuses) and `'sec-gpc'`. |
|
| `GPC_CATEGORIES`, `GPC_HEADER` | `@intecion/ipal-kit` | `['analytics', 'marketing']` (what the signal refuses) and `'sec-gpc'`. |
|
||||||
|
|||||||
@@ -588,7 +588,7 @@ tracker request. Every decision is now recorded in *Privacy → Consent records*
|
|||||||
1. **Postgres / SQLite and the project never had `consentLog` on:** the consent log is now on by default and is a new
|
1. **Postgres / SQLite and the project never had `consentLog` on:** the consent log is now on by default and is a new
|
||||||
table. In the same deploy: `pnpm payload migrate:create consent-log`, commit it, apply it at container start
|
table. In the same deploy: `pnpm payload migrate:create consent-log`, commit it, apply it at container start
|
||||||
(`prodMigrations` or `pnpm payload migrate && pnpm start`). Or `iapl({ consentLog: false })`. Without either the site
|
(`prodMigrations` or `pnpm payload migrate && pnpm start`). Or `iapl({ consentLog: false })`. Without either the site
|
||||||
works, but every choice answers 503 and is not recorded (one log line; `iapl-doctor` error `consent-log-migration`).
|
works, but every choice answers 503 and is not recorded (one log line; `iapl-doctor` warning `consent-log-migration`).
|
||||||
MongoDB: the collection appears by itself.
|
MongoDB: the collection appears by itself.
|
||||||
2. Every site: `pnpm payload generate:types` adds the `consent-records` collection's types (where it was off) — run it and
|
2. Every site: `pnpm payload generate:types` adds the `consent-records` collection's types (where it was off) — run it and
|
||||||
commit. No import-map change.
|
commit. No import-map change.
|
||||||
|
|||||||
Reference in New Issue
Block a user