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 @@ -7,6 +7,7 @@
"changesets": [
"base-and-lazy-asset-urls",
"boundary-guard-dep-scan",
"boundary-modules-environment-consumer",
"bridge-failure-not-cached",
"bump-solid-beta-21",
"bump-solid-beta-22",
Expand All @@ -33,6 +34,7 @@
"dev-ssr-entry-styles",
"dev-toolbar-inspector",
"devtools-optional-peer-stub",
"diagnostics-endpoint",
"drop-sc-bootstrap-head-splice",
"drop-vite-lt-6",
"empty-dragons-grow",
Expand Down Expand Up @@ -72,6 +74,7 @@
"server-functions-server-subpath-docs",
"server-functions-turnkey",
"six-lions-joke",
"solid-compiler-packages",
"start-css-filter",
"start-env-typed",
"start-mode-terminology",
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 3.0.0-next.34

### Minor Changes

- da12802: New `diagnostics` option (dev serve only): injects a client module that installs the in-page bridge from the app's own `@solidjs/diagnostics` and serves a `/__solid/diagnostics` endpoint on the dev server. Out-of-process consumers (agents, tests, curl) drive capture sessions (`begin`/`end`), `whyDidRun`, and cost queries over the Vite WebSocket. Works for plain index.html apps (transformIndexHtml injection) and start mode (generated/custom client entry injection). `@solidjs/diagnostics` is a type-only dependency of the plugin; the runtime bridge always comes from the app's installed copy.
- da12802: Move to the renamed Solid 2.0 compiler packages: the native JSX/directives/lazy/refresh compiler is now `@solidjs/compiler` (was `@dom-expressions/compiler`) and the Babel escape hatch is `@solidjs/babel-plugin` (was `babel-preset-solid` — now a plugin rather than a preset, hosted in `plugins` with the same pass order: user plugins run before it, user presets after). Both backends now bake in the Solid defaults (`moduleName: "@solidjs/web"`, the control-flow `builtIns`, `contextToCustomElements`, `wrapConditionals`), so the plugin only passes the posture it actually decides (`generate`/`hydratable`/`dev`/`serverComponents`) plus user `solid` options, which override the built-in defaults exactly as before.

### Patch Changes

- f0412e6: The `server-only`/`client-only` boundary guard no longer crashes when
`this.environment` isn't available on resolve hooks, and now detects the
target environment through the same `getEnvironmentConsumer` helper used
by the rest of the plugin, falling back to the resolve hook's `ssr` flag
when the environment is absent.

## 3.0.0-next.33

### 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.33",
"version": "3.0.0-next.34",
"description": "solid-js integration plugin for Vite",
"type": "module",
"engines": {
Expand Down