Skip to content

Require solid 2.0.0-rc.7; drop the async render head-commit workaround - #350

Open
ryansolid wants to merge 1 commit into
nextfrom
require-solid-rc7
Open

Require solid 2.0.0-rc.7; drop the async render head-commit workaround#350
ryansolid wants to merge 1 commit into
nextfrom
require-solid-rc7

Conversation

@ryansolid

@ryansolid ryansolid commented Sep 6, 2026

Copy link
Copy Markdown
Member

Companion to solidjs/solid#3292, which makes `@solidjs/web` freeze the response head when an awaited `renderToStream` completes (before the render owner is disposed). The plugin-side workaround from #349 never shipped, so it is simply removed rather than deprecated:

  • generated SSR entry back to the pre-Add start.renderMode ('stream' | 'async') with per-request module and handleRequest override #349 shape: no `onCompleteAll: commitResponseHead`, no `commitResponseStub` import
  • README: authored entries need no hook; caveat replaced with the rc.7 statement
  • the unreleased `start-render-mode` changeset now states the rc.7 floor (no separate changeset — nothing to "remove" from a user's point of view)
  • `peerDependencies`: `solid-js` / `@solidjs/web` `^2.0.0-rc.0` → `^2.0.0-rc.7`

No plugin release is cut before rc.7, so this lands together with the rc.7 ride commit (workspace catalog → `^2.0.0-rc.7`, lockfile, `minimumReleaseAgeExclude` entries) once rc.7 is on npm, and the pending Version Packages PR picks it all up as one release. Until then, against rc.6 the `render-mode` suite fails exactly the six async head assertions (`httpStatus(404)`, `httpHeader`, pre-flush `Location` × dev/prod; 114/120 otherwise) — the behaviour this PR intentionally hands back to the runtime.

@changeset-bot

changeset-bot Bot commented Sep 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bfca1a1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 1 package
Name Type
@solidjs/vite-plugin Minor

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

rc.7 (solidjs/solid#3292) freezes the response head when an awaited
renderToStream completes, before the render is disposed, so the generated
SSR entry no longer needs to commit the stub from onCompleteAll and authored
entries need no hook. Peer floors move to ^2.0.0-rc.7; README caveat and the
unreleased render-mode changeset drop the workaround wording.

Against rc.6 the render-mode suite fails exactly the six async head
assertions (status/header/Location, dev+prod); the rc.7 ride commit
(catalog + lockfile + minimumReleaseAgeExclude) turns them green.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ryansolid
ryansolid marked this pull request as ready for review September 6, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant