From 129a7010a3092b8077d85c53a8c941d41d91e708 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 24 Oct 2026 20:52:22 +0000 Subject: [PATCH] chore: release --- .changeset/bump-seroval-1-7-0.md | 5 ----- .changeset/client-api-router.md | 5 ----- .changeset/keep-client-conditions.md | 5 ----- .changeset/server-function-uploads.md | 5 ----- .changeset/server-functions-real-root.md | 5 ----- packages/start/CHANGELOG.md | 13 +++++++++++++ packages/start/package.json | 2 +- 7 files changed, 14 insertions(+), 26 deletions(-) delete mode 100644 .changeset/bump-seroval-1-7-0.md delete mode 100644 .changeset/client-api-router.md delete mode 100644 .changeset/keep-client-conditions.md delete mode 100644 .changeset/server-function-uploads.md delete mode 100644 .changeset/server-functions-real-root.md diff --git a/.changeset/bump-seroval-1-7-0.md b/.changeset/bump-seroval-1-7-0.md deleted file mode 100644 index 88ed5789b..000000000 --- a/.changeset/bump-seroval-1-7-0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Bump `seroval` and `seroval-plugins` to 1.7.0. diff --git a/.changeset/client-api-router.md b/.changeset/client-api-router.md deleted file mode 100644 index e1c41e4e1..000000000 --- a/.changeset/client-api-router.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Keep the API route matcher out of the client bundle. It is only used on the server, but the client loaded it with the page routes, which added about 2.5 KB of unused code. Routes that only export an `OPTIONS` handler are now matched as API routes. diff --git a/.changeset/keep-client-conditions.md b/.changeset/keep-client-conditions.md deleted file mode 100644 index 0d8808ace..000000000 --- a/.changeset/keep-client-conditions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Keep Vite's default resolve conditions ("module", "browser") in the client environment: since 2.1.0, packages exposing a "browser" export condition (e.g. `@sentry/solidstart`) resolved to their Node build in the browser. The dev overlay's `@jridgewell/trace-mapping` is now pre-bundled, as the "browser" condition makes it import a UMD build. diff --git a/.changeset/server-function-uploads.md b/.changeset/server-function-uploads.md deleted file mode 100644 index 3a68bdd57..000000000 --- a/.changeset/server-function-uploads.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": minor ---- - -Let server functions take files and blobs anywhere in their arguments, not only as the only argument. A call like `upload(file, { tags })`, or one with files in arrays, objects, maps, sets or form data, sends them as parts of multipart form data next to the serialized arguments, and the server function gets them as `File` values. Calls without files are sent as before. diff --git a/.changeset/server-functions-real-root.md b/.changeset/server-functions-real-root.md deleted file mode 100644 index cefb7cfbe..000000000 --- a/.changeset/server-functions-real-root.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Resolve the server function filter and the ids of lazily loaded modules against Vite's root instead of the working directory. On Windows a working directory entered through a junction or symlink keeps that path, while Vite (8.2 and later) resolves the root and every module id to the real path. The filter then matched no module, so no `"use server"` function was compiled: its body shipped in the client bundle, and the build failed with `Attempt to import 'server-only' in a client module` once one of them imported server-only code such as `@solidjs/start/http`. The ids of lazily loaded route components matched no client manifest entry either, so their CSS was missing from the server-rendered HTML. Relative patterns in the `serverFunctions.filter` option now resolve against Vite's root too. diff --git a/packages/start/CHANGELOG.md b/packages/start/CHANGELOG.md index e42cc7ff1..58b8b9c83 100644 --- a/packages/start/CHANGELOG.md +++ b/packages/start/CHANGELOG.md @@ -1,5 +1,18 @@ # @solidjs/start +## 2.2.0 + +### Minor Changes + +- d329369: Let server functions take files and blobs anywhere in their arguments, not only as the only argument. A call like `upload(file, { tags })`, or one with files in arrays, objects, maps, sets or form data, sends them as parts of multipart form data next to the serialized arguments, and the server function gets them as `File` values. Calls without files are sent as before. + +### Patch Changes + +- 6a7a496: Bump `seroval` and `seroval-plugins` to 1.7.0. +- ecc390b: Keep the API route matcher out of the client bundle. It is only used on the server, but the client loaded it with the page routes, which added about 2.5 KB of unused code. Routes that only export an `OPTIONS` handler are now matched as API routes. +- e8bd8c0: Keep Vite's default resolve conditions ("module", "browser") in the client environment: since 2.1.0, packages exposing a "browser" export condition (e.g. `@sentry/solidstart`) resolved to their Node build in the browser. The dev overlay's `@jridgewell/trace-mapping` is now pre-bundled, as the "browser" condition makes it import a UMD build. +- 6280546: Resolve the server function filter and the ids of lazily loaded modules against Vite's root instead of the working directory. On Windows a working directory entered through a junction or symlink keeps that path, while Vite (8.2 and later) resolves the root and every module id to the real path. The filter then matched no module, so no `"use server"` function was compiled: its body shipped in the client bundle, and the build failed with `Attempt to import 'server-only' in a client module` once one of them imported server-only code such as `@solidjs/start/http`. The ids of lazily loaded route components matched no client manifest entry either, so their CSS was missing from the server-rendered HTML. Relative patterns in the `serverFunctions.filter` option now resolve against Vite's root too. + ## 2.1.0 ### Minor Changes diff --git a/packages/start/package.json b/packages/start/package.json index 2ca544c9b..d5f36a454 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/start", - "version": "2.1.0", + "version": "2.2.0", "repository": { "type": "git", "url": "git+https://github.com/solidjs/solid-start.git",