diff --git a/.changeset/pre.json b/.changeset/pre.json index 0ae5399..abf15d3 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -9,11 +9,13 @@ "client-manifest-outdir", "dev-css-and-client-manifest", "empty-dragons-grow", + "lazy-entry-eliminated-importers", "lazy-entry-rolldown-reclassify", "lazy-load-native-compiler", "lazy-manifest-robustness", "native-compiler-option", "server-functions-compiler", + "server-functions-default-runtime", "six-lions-joke", "true-boxes-arrive" ] diff --git a/CHANGELOG.md b/CHANGELOG.md index c2d2531..a890b6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 3.0.0-next.11 + +### Patch Changes + +- 1914c40: Reclassify emitted lazy facade chunks even when their importers are eliminated from the final bundle. Emitted chunk references are now retained so lazy facades can be identified without relying on a surviving `dynamicImports` edge. +- bd2ed3f: Server functions now default their runtime to `@solidjs/web/server-functions` + (requires the solid release that ships that subpath): the `runtime` option is + optional and `serverFunctions: true` enables the compiler with the defaults. + The package's export conditions resolve the client or server half per + environment, so one specifier serves both builds — compiled output imports + `registerServerReference` / `createServerReference` from it and the HTTP endpoint + is one call to its `handleServerFunctionRequest` (see the reworked + `examples/server-functions` fixture, which also round-trips the `respond()` + helper). Custom runtimes still plug in through `runtime.{server,client}`. + ## 3.0.0-next.10 ### Patch Changes diff --git a/package.json b/package.json index 8e0f0be..4630cfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-solid", - "version": "3.0.0-next.10", + "version": "3.0.0-next.11", "description": "solid-js integration plugin for vite 3/4/5/6/7", "type": "module", "files": [