diff --git a/.changeset/pre.json b/.changeset/pre.json index 41d8567cb..bba6bb88c 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -10,9 +10,11 @@ "bright-dogs-serve", "calm-types-vanish", "chilly-rabbits-lie", + "deep-sails-peel", "eighty-jars-invite", "eleven-actors-nail", "fluffy-bats-return", + "fresh-tools-build", "great-hooks-observe", "lemon-plugins-serialize", "lucky-moths-nonce", @@ -24,6 +26,8 @@ "sour-knives-look", "spotty-jobs-relax", "spotty-moons-repeat", + "stale-goats-go", + "strong-geckos-rescue", "tall-donuts-smile", "tidy-donkeys-cheat", "tidy-donkeys-reject", diff --git a/packages/start/CHANGELOG.md b/packages/start/CHANGELOG.md index 6d19d923b..b11237cf6 100644 --- a/packages/start/CHANGELOG.md +++ b/packages/start/CHANGELOG.md @@ -1,5 +1,28 @@ # @solidjs/start +## 2.0.0-rc.10 + +### Minor Changes + +- 3f2b7a7: The file filter logic used for CSS crawling in development can now be configured with the vite plugin option `css.filter` analog to `serverFunctions.filter`: + + ```ts + solidStart({ + css: { + filter: { + // Exclude all node_modules except "my-dependency" with a flat node_modules layout + exclude: "node_modules/!(my-dependency)/**/*", + }, + }, + }); + ``` + +### Patch Changes + +- 6581877: Fixed shared chunk css not being server rendered in production (Vite 8 regression). +- 37d4488: Migrate the built-in Vite configuration from the deprecated `rollupOptions` alias to `rolldownOptions`. +- 3f2b7a7: Fixed css from files with url sensitive characters such as `+` not being server-rendered. + ## 2.0.0-rc.9 ### Patch Changes @@ -65,7 +88,6 @@ Route files are imported through an id carrying the picked exports in the query (`routes/api.ts?pick=GET`), which left the id ending in the export name. Plugins whose filter is anchored on the file extension (`/\.[cm]?[jt]sx?$/`, the default for `unplugin-auto-import`, `unplugin-macros` and others) silently skipped every route file. The id now ends with a `lang.` marker, the same convention Vue SFCs use for `?vue&type=script&lang.ts`. Chunk filenames are unchanged. - d8f1ea8: Apply the configured `nonce` to the two script tags that were still missing it, so a strict `script-src` CSP no longer needs `unsafe-inline`: - - The client-side redirect that streaming mode emits after the shell has already flushed (``) now carries the nonce. - The SPA entry script tag now carries the nonce, matching the SSR entry script. @@ -245,7 +267,6 @@ - 8256190: Rework `@solidjs/start/env` - 6cbba24: Fix multiple Set-Cookie headers being lost on redirect responses - d4cc548: ## Bump Seroval - - version `1.4.1` - dd40610: Handle base url in api routes diff --git a/packages/start/package.json b/packages/start/package.json index c6683ac46..8efa7479e 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/start", - "version": "2.0.0-rc.9", + "version": "2.0.0-rc.10", "repository": { "type": "git", "url": "git+https://github.com/solidjs/solid-start.git",