From ab64441d9f96c36c449d2029b179d1c06c49a6cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 20:25:45 +0000 Subject: [PATCH] Version Packages (next) --- .changeset/pre.json | 4 +++- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 6b48139..7bc2534 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -5,6 +5,7 @@ "vite-plugin-solid": "3.0.0-next.2" }, "changesets": [ + "bump-solid-beta-21", "clean-lazy-entries", "client-manifest-outdir", "compiler-package-rename", @@ -22,6 +23,7 @@ "server-functions-default-runtime", "server-functions-turnkey", "six-lions-joke", - "true-boxes-arrive" + "true-boxes-arrive", + "turnkey-ssr" ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 609ff09..979967a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## 3.0.0-next.14 + +### Patch Changes + +- b2b9979: update to solid 2.0.0-beta.21 and @dom-expressions/compiler 0.50.0-next.24 +- 5828a6e: Turnkey SSR: the object form of the `ssr` option (even empty: `ssr: {}`) + adds a serving layer on top of the SSR transforms so a plain Vite app gets + streaming server-side rendering with zero wiring — no entry files, no + index.html, no dev server script (requires Vite 6+; `ssr: true` keeps the + transform-only behavior unchanged). + + - Dev: a middleware on the Vite dev server streams the rendered app for + HTML-accepting GET requests through the SSR environment, scoping each + request with `provideRequestEvent` and injecting the Vite client and the + dev style patch into ``; SSR errors flow (stack-fixed) to Vite's + error page with the overlay. `vite` is the whole dev story. + - Build: a plain `vite build` produces both bundles via the + environments/builder API — client assets and manifest to `dist/client`, + the server bundle to `dist/server/server.js` (`vite build --app` and the + classic two-step `vite build` + `vite build --ssr` also work). + - Prod: the server bundle's entry is the new `virtual:solid-ssr-handler`, + whose `handleRequest(request)` export maps a web-standard `Request` to a + streamed `Response` — adapter-agnostic, one line to mount on any server. + Hashed client assets are resolved through `virtual:solid-manifest`. + - Entries are conventional with escape hatches, resolved in order: explicit + `ssr.entryServer` / `ssr.entryClient`; conventional `src/entry-server.*` / + `src/entry-client.*` (the server entry exports + `render(request?, context?)`; authored `/src/entry-client.tsx` script + references are rewritten to the hashed asset in prod); else both entries + are generated from a root component (`ssr.app`, default `src/App.*`) + wrapped in a document shell (`ssr.document`, default `src/Document.*`, + else a built-in one). + - With `serverFunctions` enabled the two compose: the dev server-function + middleware runs ahead of SSR, and the production `handleRequest` serves + the endpoint before rendering. + - Server-function registration robustness: the SSR build now merges the + client build's persisted manifest at manifest load time as well, so + builder-mode (single-invocation) builds keep registrations for functions + only client code references. + ## 3.0.0-next.13 ### Patch Changes diff --git a/package.json b/package.json index 7a0cbd2..4317ba4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-solid", - "version": "3.0.0-next.13", + "version": "3.0.0-next.14", "description": "solid-js integration plugin for vite 3/4/5/6/7", "type": "module", "files": [