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
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
25 changes: 23 additions & 2 deletions packages/start/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.<ext>` 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 (`<script>window.location=...</script>`) now carries the nonce.
- The SPA entry script tag now carries the nonce, matching the SSR entry script.

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/start/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading