Skip to content

Commit 639df4c

Browse files
Version Packages (next) (#313)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8459560 commit 639df4c

3 files changed

Lines changed: 31 additions & 1 deletion

File tree

.changeset/pre.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"bump-solid-rc-0",
2121
"clean-lazy-entries",
2222
"client-build-first-normal-order",
23+
"client-entry-csp-nonce",
2324
"client-manifest-outdir",
2425
"compiler-next-37",
2526
"compiler-package-rename",
@@ -29,6 +30,7 @@
2930
"dev-manifest-bridge-and-boundary-modules",
3031
"dev-middleware-full-dispatch",
3132
"dev-ssr-entry-styles",
33+
"dev-toolbar-inspector",
3234
"drop-sc-bootstrap-head-splice",
3335
"drop-vite-lt-6",
3436
"empty-dragons-grow",
@@ -51,6 +53,7 @@
5153
"native-server-function-transform",
5254
"no-tla-server-env",
5355
"plugin-package-rename",
56+
"production-error-boundary",
5457
"reject-prefixed-server-env-keys",
5558
"remove-client-manifest-virtual",
5659
"response-head-middleware-preview",
@@ -66,13 +69,15 @@
6669
"server-functions-server-subpath-docs",
6770
"server-functions-turnkey",
6871
"six-lions-joke",
72+
"start-css-filter",
6973
"start-env-typed",
7074
"start-mode-terminology",
7175
"start-setup-hook",
7276
"true-boxes-arrive",
7377
"turnkey-ssr",
7478
"turnkey-start-option",
7579
"virtual-manifest-types-subpath",
80+
"vite-9-environment-hooks",
7681
"vite8-scan-jsx-classic",
7782
"vitest-browser-mode-no-jsdom-default",
7883
"vitest-client-posture",

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## 3.0.0-next.31
4+
5+
### Minor Changes
6+
7+
- 8459560: New `start.devtools` option: a development toolbar with runtime errors and a
8+
server function inspector, backed by the new optional-peer package
9+
`@solidjs/start-devtools`. By default the toolbar turns on in `vite dev`
10+
whenever the package resolves (install it as a dev dependency) and stays off
11+
otherwise; `start: { devtools: true }` makes the package required (a missing
12+
install becomes an error) and `start: { devtools: false }` opts out entirely.
13+
Generated client entries wrap the app in the toolbar's `DevToolbar` component,
14+
authored client entries get an injected mount import instead, and either way
15+
the wiring is dev-serve-only codegen — production builds and previews contain
16+
none of it. The package itself is resolved from the app graph first and from
17+
the plugin's own location as a fallback, and the virtual toolbar modules
18+
delegate their imports to that captured resolution, so pnpm-isolated installs
19+
work without the package being hoisted to the app root.
20+
21+
### Patch Changes
22+
23+
- c8615ed: Apply the request CSP nonce to start mode's generated client-entry script.
24+
- 7c10d3b: Add a generic production error boundary to generated Start entries. It returns a 500 response for uncaught SSR errors and provides a fallback for uncaught client errors. Set `start.errorBoundary` to `false` when application middleware owns error handling.
25+
- e607db7: Add `start.css.filter` to control which module graphs are traversed while collecting development CSS. `exclude` prunes matching graphs (defaults to `/node_modules/`; providing one replaces the default), and `include` opts matching files in on top of that baseline — e.g. `{ include: /node_modules\/some-ui-lib/ }` server-inlines that dependency's CSS in dev. A file matching both patterns stays excluded.
26+
- 450d0e5: Add Vite 9 forward compatibility by using the per-environment consumer in plugin hooks and accepting Vite 9 as a peer.
27+
328
## 3.0.0-next.30
429

530
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solidjs/vite-plugin",
3-
"version": "3.0.0-next.30",
3+
"version": "3.0.0-next.31",
44
"description": "solid-js integration plugin for Vite",
55
"type": "module",
66
"files": [

0 commit comments

Comments
 (0)