Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -103,6 +104,7 @@
"server-functions-turnkey",
"six-lions-joke",
"solid-compiler-packages",
"solid-rc13",
"source-names",
"ssr-inline-solid-consumers",
"start-css-filter",
Expand All @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down