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
8 changes: 7 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
"changesets": [
"bump-solid-beta-21",
"bump-solid-beta-22",
"bump-solid-beta-24",
"bump-solid-beta-25",
"clean-lazy-entries",
"client-manifest-outdir",
"compiler-package-rename",
"dev-css-and-client-manifest",
"dev-ssr-entry-styles",
"drop-vite-lt-6",
"empty-dragons-grow",
"lazy-entry-eliminated-importers",
"lazy-entry-rolldown-reclassify",
Expand All @@ -20,11 +24,13 @@
"native-compiler-option",
"native-server-function-transform",
"scoped-server-function-dce",
"server-components-option",
"server-functions-compiler",
"server-functions-default-runtime",
"server-functions-turnkey",
"six-lions-joke",
"true-boxes-arrive",
"turnkey-ssr"
"turnkey-ssr",
"virtual-manifest-types-subpath"
]
}
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## 3.0.0-next.16

### Minor Changes

- 91aea47: BREAKING: requires Vite 6+. The `vite` peer dependency is now
`^6.0.0 || ^7.0.0 || ^8.0.0` and the legacy pre-environment-API code paths
are gone: the plugin now always configures `resolve.conditions` and SSR
`noExternal`/`external` per environment through `configEnvironment` (instead
of the old top-level `resolve.conditions` / `ssr` config placement), and the
turnkey SSR object form no longer needs a Vite-version guard. The `vite-3`,
`vite-4` and `vite-5` examples were removed. If you are on Vite 3–5, stay on
an earlier release of this plugin or upgrade Vite.
- 4bddb00: add `serverFunctions: { components: true }` (experimental): server components ride server functions with zero extra plugin config — the dev middleware and production handler serve component responses automatically, and turnkey SSR's generated entries emit the document wiring (render plugin, bootstrap script, client `installServerComponents()` call)

### Patch Changes

- 4d68f9c: update to solid 2.0.0-beta.24 and @dom-expressions/compiler 0.50.0-next.29
- 2ca6a9e: update to solid 2.0.0-beta.25
- 7b20a0f: Turnkey SSR: dev responses now inline the entry graph's CSS, fixing the
flash of unstyled content. The dev middleware walks the SSR module graph
from the root entry (the app + document for generated entries, the authored
server entry otherwise), compiles each transitively imported stylesheet
through the client environment, and SSRs them as
`<style data-asset data-vite-dev-id>` tags in `<head>` — the same shape the
lazy-asset system emits, so Vite's client adopts them on startup (CSS HMR
updates the adopted tag in place) and the dev style patch dedupes any
late-injected twin. Previously entry CSS only arrived when the client entry
JS executed, so server-painted markup flashed unstyled in dev; production
was always fine (manifest-driven `<link rel="stylesheet">`).
- 1df46d6: Expose the `vite-plugin-solid/virtual-solid-manifest` ambient type
declarations through a package `exports` subpath so
`"types": ["vite-plugin-solid/virtual-solid-manifest"]` resolves under
`moduleResolution: "bundler"` / `node16` too (previously only classic `node`
resolution found the shipped `.d.ts`).

## 3.0.0-next.15

### 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": "vite-plugin-solid",
"version": "3.0.0-next.15",
"version": "3.0.0-next.16",
"description": "solid-js integration plugin for vite 6/7/8",
"type": "module",
"files": [
Expand Down