Skip to content

Commit e6bbf96

Browse files
committed
chore(changeset): record the ADR-0087 disposition for the react-pages default
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X4d6XVfcfxL17bMpptytcc
1 parent c937747 commit e6bbf96

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎.changeset/react-pages-default-off.md‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ Metadata-protocol: none
1010

1111
**BREAKING**: the `kind:'react'` page tier, which runs page source in the Console, now defaults to **off** (ADR-0081, amended). A deployment that serves react pages turns the tier on with `OS_PAGE_REACT_ENABLED=true`, in the environment or the project's `.env` file. With it off, each react page shows a notice naming that switch instead of running, and the Console document's content-security-policy no longer allows `'unsafe-eval'`. `kind:'html'` pages are unaffected.
1212

13-
### Migration: FROM → TO
13+
To keep react pages running after the upgrade, set `OS_PAGE_REACT_ENABLED=true` on the deployment. Stored pages need no change.
1414

15-
```bash
16-
# FROM — react pages ran unless the deployment set OS_PAGE_REACT=off
17-
# TO — they run only when the deployment opts in
18-
OS_PAGE_REACT_ENABLED=true
19-
```
15+
<!-- adr-0087: not-required (no-migration-prescription) an operator environment default moved; no spec key, export or stored row changed, so there is nothing for objectstack migrate meta to rewrite -->
2016

2117
The earlier name is still read while the new one is unset: `OS_PAGE_REACT=on` turns the tier on and `OS_PAGE_REACT=off` keeps it off, each with a one-time deprecation warning. `true`, `1`, `on`, `yes` and `enabled` turn it on; unset, `false`, `0`, `off`, `no` and `disabled` leave it off; any other value leaves it off and is reported once in the server log.
2218

0 commit comments

Comments
 (0)