Skip to content

docs(whats-new): pages published from one HTML file can run script - #1070

Merged
allisonmahmood merged 1 commit into
mainfrom
docs/whats-new-25
Oct 29, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
docs/whats-new-25

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

What changed

This adds release 25's What's new entry, written from 18b39ae. It covers everything merged since release 24's through (9ee90e3) and sets the patchy release to 0.25.0 in packages/patchy/package.json and CURRENT_RELEASE. This is the second of three releases for #986: single files publish as tier 1 pages, and nothing publishes tier 0 any more.

Change PRs
New: Pages published from one HTML file can run script. A single file is a tier 1 page of up to 10 MiB with inline script and style. An image, font or stylesheet loaded from an address is refused at publish and named. #1045
Improved: Pages and Tools sort by what a patch runs. Browser-only patches shelve as Pages and patches with server code as Tools. #1045

#1060 is release 24's own entry. #1045's tier 0 refusals (a repo still at tier: 0, init --tier 0 and the API's 422) get no line, because production has no tier 0 repo.

Look at

  • The entry, at the top of releases in packages/core/src/whatsNew.ts.
  • Rollback safety, from the live commit dce0967 (release 24) to 18b39ae:
    • No PR in the range is labelled one-way, and none adds a migration.
    • A revert leaves tier 1 versions published from single files. Release 24's shell renders them with no notice, because fix(serving): a page that doesn't use the SDK opens without "could not start" #1044 dropped the 10 s timer. Release 24's portal shelves them as Tools with a monogram, and nothing breaks. Acceptance checked this by running release 24's server on data this branch published.
    • Rolling back further, to release 23, would cover those pages with "This patch could not start" after 10 s, so release 24 is the floor.

Rollback line: If this release misbehaves, roll back to dce0967 (release 24). Rolling back past release 24 would put "This patch could not start" over single-file pages published in this release, so don't go further.

How it was verified

Release impact

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

Text and version numbers only. The 0.25.0 bump tells CLIs and patch repos installed before this deploy to upgrade, as every release does.

  • What does a revert leave behind? Nothing.
  • Does the release before it still work with that? Yes.

Built by Claude Opus 5.5 (claude-opus-5-5) in Claude Code, through T3 Code.

Release 25, written from 18b39ae. A single-file page publishes as tier 1
and runs its own script, and the portal shelves browser-only patches as
Pages and patches with server code as Tools. The patchy release is
0.25.0.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added area:server Touches the server area area:cli Touches the cli area area:core Touches the core area size:s Under 100 changed lines labels Oct 29, 2026
@allisonmahmood
allisonmahmood merged commit 38e0c37 into main Oct 29, 2026
22 checks passed
@allisonmahmood
allisonmahmood deleted the docs/whats-new-25 branch October 29, 2026 22:39
allisonmahmood added a commit that referenced this pull request Oct 29, 2026
…#1071)

## What changed

This adds release 26's What's new entry, written from `eabf2e6`. It
covers everything merged since release 25's `through` (`18b39ae`) and
sets the `patchy` release to `0.26.0` in `packages/patchy/package.json`
and `CURRENT_RELEASE`. This is the last of three releases for #986:
every tier 0 page becomes a tier 1 page, and tier 0 is gone.

| Change | PRs |
| --- | --- |
| Behind the scenes: older pages published from a single HTML file now
run the same way as new ones, so Patchy has one kind of page instead of
two | #1048 |

There's no announced change. Readers see the same pages, and release 25
already stopped every tier 0 publish. #1070 is release 25's own entry.

## Look at

- **The entry**, at the top of `releases` in
`packages/core/src/whatsNew.ts`.
- **Rollback safety, from the live commit `38e0c37` (release 25) to
`eabf2e6`:**
- #1048 adds migration `0029_tier_zero_is_tier_one`. It turns every tier
0 version into tier 1, in the column, `manifest.tier` and
`publish_response.tier`, and narrows the tier CHECK to 1–3.
`payload_digest` is untouched, so retried publishes still replay.
- Release 25 reads and serves migrated rows, and its CLI and server only
write tier 1 and 2. So the narrowed CHECK holds during the rolling
deploy and after a rollback to it. CI's `rollback-rehearsal` passed
against release 25. Acceptance ran release 23 → R2 → head → R2 → head on
real tier 0 data, and release 23 → head → release 25 → head.
- Release 24 still writes tier 0 from single files, which the CHECK
refuses, so release 25 is the floor.
- #1048 isn't labelled `one-way`, because the release before it works
with what it leaves.

**Rollback line:** If this release misbehaves, roll back to `38e0c37`
(release 25). Rolling back past release 25 would break single-file
publishing, because release 24 writes tier 0 and the migrated database
refuses it. Fix forward instead.

## How it was verified

- **Tests.** `whatsNew.test.ts`, `WhatsNewPages.test.ts` and
`schemas.test.ts` pass (21 tests), and prettier passes on the changed
files.
- **The range.** #1048 was reviewed by GPT 6.1 Sol with every finding
resolved, and Sol found nothing in its rebase. Acceptance gave PASS with
notes at its merged head. It landed with all 12 required checks green,
including `rollback-rehearsal` against release 25.
- **Deploy state.** The live commit, pinned from `/healthz/deep`, is
`38e0c37` (release 25). The Deploy run updated last (#27) succeeded, and
none is unfinished.
- **Known effect.** One public page in production uses `about:srcdoc#`
links for its table of contents. After this deploy those links stop
jumping. Its owner is told before this deploys.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required

Text and version numbers only. The `0.26.0` bump tells CLIs and patch
repos installed before this deploy to upgrade, as every release does.

- **What does a revert leave behind?** Nothing.
- **Does the release before it still work with that?** Yes.

Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3
Code.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli Touches the cli area area:core Touches the core area area:server Touches the server area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant