diff --git a/.changeset/pre.json b/.changeset/pre.json index 2ca9eff..b7fd0a7 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -34,6 +34,7 @@ "dev-manifest-bridge-and-boundary-modules", "dev-middleware-data-address", "dev-middleware-full-dispatch", + "dev-page-request-head-accept", "dev-ssr-entry-styles", "dev-ssr-inline-core", "dev-toolbar-inspector", @@ -103,6 +104,7 @@ "server-functions-turnkey", "six-lions-joke", "solid-compiler-packages", + "solid-rc13", "source-names", "ssr-inline-solid-consumers", "start-css-filter", @@ -120,6 +122,7 @@ "vite-8-minimum", "vite-9-environment-hooks", "vite8-scan-jsx-classic", + "vitest-5-shared-server-projects", "vitest-browser-mode-no-jsdom-default", "vitest-client-posture", "vitest-server-posture-opt-out", diff --git a/CHANGELOG.md b/CHANGELOG.md index 855c819..289e127 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.0.0-next.47 + +### Patch Changes + +- 884571b: Under `vite dev`, pages now answer HEAD requests, and GET requests with `Accept: */*` or no Accept, the way production does. Before, these got Vite's 404. The page-request test now matches Vite's own HTML fallback. +- 995727b: Require solid-js / @solidjs/web 2.0.0-rc.13 (peer floor) and compile with @solidjs/compiler / @solidjs/babel-plugin rc.13 — runtime and compiler move in lockstep. rc.13 is the first published release with the new server-component SSR marker contract (rc.12 was never published): under `serverComponents`, a dynamic `class`/`style` compiles to a whole-attribute `ssrElementAttribute` hole, a spread element's named `ref`/`on*` ride `ssrElement`'s trailing `claims` thunk, and the runtime marks ref/event positions `_s:on:*` / `_s:ref` in place of the `_bnd` behavior-claim marker, which the rc.13 runtime no longer reads. With the old `^2.0.0-rc.10` floor an existing lockfile could keep a ≤ rc.11 compiler while the app's runtime moved to rc.13, so `serverFunctions.components` apps would emit markers the runtime ignores; the floor bump closes that window. Nothing else the plugin couples to changed between rc.11 and rc.13, so this is a range bump only. +- ec6c4dc: When the root config declares `test.projects` and leaves `test.sharedViteServer` unset, the plugin now sets it to `false` so every inline project resolves its own Vite config, as under Vitest 4; an explicit value is respected. Vitest 5 defaults the option to `true`, and a shared inline project takes its `test` options from the raw root block captured before any `config` hook runs, so it lost everything the plugin injects (posture, the `@testing-library/jest-dom` setup file, `server.deps`). Refs #369. + ## 3.0.0-next.46 ### Patch Changes diff --git a/package.json b/package.json index cba32b2..f46a4c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/vite-plugin", - "version": "3.0.0-next.46", + "version": "3.0.0-next.47", "description": "solid-js integration plugin for Vite", "type": "module", "engines": {