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
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"client-file-name-dot-runs",
"client-host-prerender",
"client-manifest-outdir",
"client-mode-shell-end-marker",
"compiler-next-37",
"compiler-package-rename",
"compiler-range-next-43",
Expand Down Expand Up @@ -82,6 +83,7 @@
"native-server-function-transform",
"no-tla-server-env",
"node-22-floor-signals-dedupe",
"nonce-local-projection",
"observe-option",
"path-addressed-server-functions",
"performance-tracks-dev-default",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.0.0-next.50

### Patch Changes

- eb47535: Client start mode now strips the shell-end marker script along with the `<HydrationScript />` bootstrap. `@solidjs/web` 2.0.0-rc.15 (solidjs/solid#4002) closes every shell that rendered `<HydrationScript />` with `<script>_$HY.s[id]=1,…</script>`, and a Document shared with SSR mode carries `<HydrationScript />`. Once the plugin stripped the bootstrap, that marker threw `_$HY is not defined` in client-mode shells, in dev and in the prerendered `index.html`. Shells from earlier `@solidjs/web` versions have no marker and are unchanged.
- 6732a5f: The generated start-mode server handler no longer imports `scriptNonce`/`styleNonce` from `@solidjs/web`. It projects each destination of a `{ script, style }` nonce with a local helper instead. Those helpers are internal to `@solidjs/web` (solidjs/solid#4016), and its single-script surfaces now take the full `CSPNonce` themselves. The handler works with `@solidjs/web` versions both before and after that change.

## 3.0.0-next.49

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