Repository navigation
Version Packages (next) - #517
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/next
branch
from
October 30, 2026 22:14
491a141 to
0fe4b4f
Compare
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonnext.Releases
@solidjs/vite-plugin@3.0.0-next.54
Patch Changes
class={styles.button}, template literals of them, named imports), so they compile into the element's template instead of a reactive effect. The stylesheet is kept even when every use was inlined.clientandssrenvironments, thessrenvironment'sindexhandler entry with its{ fetch }andhandleRequestexports, client-first build order, output locations, client-mode output, and the dev handover. A test builds an app through a stand-in provider that relies on it.start.serverSetupcannot be a static import (the whole graph loads before any module runs, and an async module does not hold back the imports after it) and on what the env leak scan skips.require('@solidjs/vite-plugin')loads the ESM build with the same exports (Node 22.12 prints a one-time experimental warning; 22.13 and later don't).transform,resolveIdandloadhooks, so under Rolldown the JavaScript side only runs for modules a hook can act on. In a 2,100-module start-mode build, this cut build time by about 8% with identical output.src,srcset,posterorhrefon<img>,<source>,<video>,<image>and<use>becomes an import of the asset, and a/URL naming a public-directory file followsbase, relative bases (Electron builds) included. The compiler used to put them in the template as written, so relative URLs resolved against the page and public URLs ignoredbase.@solidjs/babel-pluginon first use instead of at import. The default native compiler never calls them, so importing the plugin takes about half as long (roughly 100 ms down to 50 ms).dist/types/cypress).@solidjs/vite-plugin/virtual-solid-manifestto@solidjs/vite-plugin/virtual-modules(it declares every virtual module the plugin serves) andcss.filtertocss.devInline(it picks which module graphs dev SSR crawls for the CSS it inlines). RemoveserverFunctions.manifest: the module id is alwaysvirtual:solid-server-function-manifest. The old option names fail at config time with a message naming the replacement.StartServerRenderSetupandStartServerRenderContexttypes (astart.serverRenderSetupmodule's default export, and the context an authored server entry'srenderreceives), and type the options ofhandleServerFunctionRequestandhandleRequest'sserverFunctionswith the runtime'sHandleServerFunctionOptions, so a misspelled option no longer type-checks. The README now documents the client build's.vite/solid-server-functions.json(PersistedServerFunctionManifest), and option docs that still mentioned solid-refresh or@solidjs/babel-pluginare corrected..vite/solid-server-functions.json, which could be stale. Calls are also stamped when the app configures the client through@solidjs/web/server-functions/client; itsprepareRequestused to drop the stamp..vite/solid-server-functions.jsonfrom where the client build wrote it in the same process, then from the client environment's configuredoutDir, and only then fromdist/client. With a custom clientoutDir(a singlevite build, orenvironments.client.build.outDirset), client-only server functions now register and the build id check runs. SettingserverFunctions.runtimeto the default runtime no longer turns the build id check off.serverFunctions.configuretoserverFunctions.serverSetup: it is a server-only module that runs once before any server-function call is handled, the same rolestart.serverSetupplays for the whole server. The old key fails at config time with a message naming the replacement.virtual:env/serverandvirtual:env/clienttovirtual:solid-env/serverandvirtual:solid-env/client, matching the plugin's othervirtual:solid-*modules. Importing an old ID fails with a message naming the new one, and the generatedsolid-env.d.tsdeclares the new IDs.start.nodetostart.nodeServer: it emits a ready-to-run Node server (dist/server/node.js) and does not change the build target, whichnode: truecould suggest. The old key fails at config time with a message naming the replacement.StartRequestEventtype: the request event in start mode, with theresponsehead every start-mode event carries and the optionalnativeEvent.StartMiddlewarenow receives it, soevent.response.headers.set(...)type-checks in middleware;@solidjs/web's baseRequestEventdeclares neither field.