diff --git a/.changeset/pre.json b/.changeset/pre.json index f7ba3f4..8ece58f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -26,11 +26,13 @@ "compiler-package-rename", "compiler-range-next-43", "dev-asset-resolver-convergence", + "dev-boundaries-ssr", "dev-css-and-client-manifest", "dev-manifest-bridge-and-boundary-modules", "dev-middleware-full-dispatch", "dev-ssr-entry-styles", "dev-toolbar-inspector", + "devtools-optional-peer-stub", "drop-sc-bootstrap-head-splice", "drop-vite-lt-6", "empty-dragons-grow", @@ -77,6 +79,7 @@ "turnkey-ssr", "turnkey-start-option", "virtual-manifest-types-subpath", + "vite-8-minimum", "vite-9-environment-hooks", "vite8-scan-jsx-classic", "vitest-browser-mode-no-jsdom-default", diff --git a/CHANGELOG.md b/CHANGELOG.md index 63041a6..847ad4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.0.0-next.32 + +### Patch Changes + +- 2436bf5: Wire the Start development error boundary into server rendering and support direct `@solidjs/start-devtools` imports in apps with custom server and client entries. +- 473afd2: Start devtools are no longer enabled when `@solidjs/start-devtools` is not installed. Detection falls back to resolving the package from the plugin's own file (for pnpm-isolated installs where it is only a dependency of the plugin), but the package is declared an optional peer dependency of the plugin, so when it is absent Vite answers that resolution with its `__vite-optional-peer-dep:` stub instead of `null`. The plugin took the stub as a successful resolution, wrapped the generated client entry in `DevToolbar`, and the browser failed with `The requested module '/@id/__vite-optional-peer-dep:@solidjs/start-devtools:@solidjs/vite-plugin' does not provide an export named 'DevToolbar'`. The stub is now treated as "not installed". +- 791ae3e: Require Vite 8 or newer and remove the Vite 6 and 7 compatibility paths. + ## 3.0.0-next.31 ### Minor Changes diff --git a/package.json b/package.json index 22b1dee..28c0b86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/vite-plugin", - "version": "3.0.0-next.31", + "version": "3.0.0-next.32", "description": "solid-js integration plugin for Vite", "type": "module", "engines": {