Version Packages (next) - #296
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonnext.Releases
vite-plugin-solid@3.0.0-next.23
Patch Changes
398044f: Turnkey SSR adopts the runtime's response-head lifecycle, gains fetch-style middleware, and serves
vite preview(requires@solidjs/web> 2.0.0-beta.31 forcreateRequestEvent/createSSRResponse/composeMiddleware):createRequestEvent) and page responses go throughcreateSSRResponse:httpStatus()/httpHeader()writes land on the wire at shell flush, a pre-flushLocationbecomes a real 3xx redirect, and a post-flush one (streamed responses) falls back to a nonce-aware<script>window.location=...</script>tail. RawResponseresults and server-function responses get uncommitted stub headers merged (set-cookie appended) so cookie/header writes made before they were produced still land.ssr.middleware: a server-only module default-exporting one(request, next) => Response | Promise<Response>function or an array, composed in order. The chain fronts every dispatch path — page SSR, the server-function endpoint, dev, external-dev, production, preview — and runs inside the request-event scope, sogetRequestEvent()works exactly as in app code; the endpoint shares the chain's event, solocalsdecoration is visible to server functions. Nothing hits the wire until the outermost middleware returns (post-next()header mutation works on streamed responses), and error middleware is a plaintry { await next() } catch.vite build && vite previewnow works with no server file:configurePreviewServerservesdist/clientstatically through Vite's preview statics and dispatches everything else through the built handler — middleware and lifecycle included, HTML opted out of preview compression so streaming stays observable.serverFunctionsenabled, the runnable-dev endpoint middleware now dispatches through the SSR handler (after pre-loading the referenced module), so one middleware chain and one request event front pages and server functions identically on every surface.