From 1e982e9fb5734519aec2111c39f6263784c497cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 07:34:26 +0000 Subject: [PATCH] Version Packages (next) --- .changeset/pre.json | 3 +++ CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 3af00f2..f0d6b2e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -10,6 +10,7 @@ "bump-solid-beta-24", "bump-solid-beta-25", "bump-solid-beta-26", + "bump-solid-beta-28", "clean-lazy-entries", "client-manifest-outdir", "compiler-package-rename", @@ -17,6 +18,7 @@ "dev-ssr-entry-styles", "drop-vite-lt-6", "empty-dragons-grow", + "host-integration-extension-points", "lazy-entry-eliminated-importers", "lazy-entry-rolldown-reclassify", "lazy-load-native-compiler", @@ -27,6 +29,7 @@ "sc-bootstrap-before-hydration-data", "scoped-server-function-dce", "server-components-option", + "server-environments-reload", "server-functions-compiler", "server-functions-default-runtime", "server-functions-turnkey", diff --git a/CHANGELOG.md b/CHANGELOG.md index f0ce782..650bd1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,48 @@ # Changelog +## 3.0.0-next.18 + +### Patch Changes + +- cdb19bf: update to solid 2.0.0-beta.28 and @dom-expressions/compiler 0.50.0-next.33 +- 98fd955: Three extension points for composing the plugin with host environments + (e.g. @cloudflare/vite-plugin) without giving up the turnkey option forms: + + - New `serverFunctions.devMiddleware` option (default `true`): set `false` + to keep the plugin's dev middleware off the endpoint so a host's server + environment owns dispatch in dev — functions then run where the bindings + live (e.g. workerd), exactly like production. Compilation and the + manifest/handler virtual modules keep working; the host loads + `virtual:solid-server-function-handler` itself and calls its + `handleServerFunctionRequest(request)` export (and should side-effect + import `virtual:solid-server-function-manifest` in its server entry to + cover functions referenced only by client code, since the middleware's + on-demand loading is off too). + - Client-before-server build ordering in builder-mode (environments API) + app builds, absorbed into the plugin: with `ssr` enabled, a pre-order + `buildApp` hook (Vite 7.1+) builds the client environment (manifest and + all) before any other orchestrator runs, so setups whose orchestrator + builds server environments first — @cloudflare/vite-plugin builds workers + before the client — no longer need a hand-written ordering plugin for the + server bundle to bake real hashed assets. A post-order hook reinstates + Vite's build-everything fallback when no other orchestrator built + anything, so plain `builder: {}` setups (turnkey included) behave exactly + as before, just explicitly client-first. + - New `serverFunctions.configure` option: path to a server-only module + (resolved against the Vite root) that the generated + `virtual:solid-server-function-handler` module side-effect imports before + any dispatch. The guaranteed pre-dispatch home for server-side runtime + registration — e.g. `configureServerFunctionsServer({ collectFlightData })` + for a router's single-flight collector — effective on both dispatch + surfaces (dev middleware and production handler, where it bundles into + the handler chunk), immune to the dev-restart race where app-graph + registration only loads with the first page render, and hot-invalidating + the handler when edited in dev. + +- 62d9a89: Send non-client server environments their own full-reload signal during hot + updates. Environment-runner based servers now re-evaluate changed modules + instead of serving stale SSR output, while client HMR remains unaffected. + ## 3.0.0-next.17 ### Patch Changes diff --git a/package.json b/package.json index 3d81626..91d6fd7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-solid", - "version": "3.0.0-next.17", + "version": "3.0.0-next.18", "description": "solid-js integration plugin for vite 6/7/8", "type": "module", "files": [