Skip to content

Version Packages (next) - #487

Merged
ryansolid merged 1 commit into
nextfrom
changeset-release/next
Oct 29, 2026
Merged

ryansolid merged 1 commit into
nextfrom
changeset-release/next

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

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.

⚠️⚠️⚠️⚠️⚠️⚠️

next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@solidjs/[email protected]

Patch Changes

  • 2a081c3: Under vite dev, a server-function call that arrives before any page has loaded the server handler no longer loads the function's module ahead of start.serverSetup. The dev middleware imported the module first and the handler (which runs the server setup module first) second, so the module and everything it imports could load before instrumentation started. It now loads the handler first.
  • 53bb865: With serverFunctions: { components: true }, stylesheets that a 'use server' module reaches (directly or through the components it imports) now reach the production client build, so the SSR document links them. The client compile replaces a server module with references, so its imports never joined the client graph: dev looked right, since its CSS crawl walks the SSR graph, but production rendered server components unstyled (serverFunctions.components: CSS below a use server boundary is missing from production client assets (rc.15 / next) #456). The client build now walks what the module imports and imports those stylesheets from its client module. Script modules on the way are only loaded, never imported, so no server code reaches the client bundle, and compile-time CSS plugins such as StyleX still see them. Builds without components are unchanged.
  • 3b0e262: Production builds now stamp server function calls with a build id (feat(web): refuse server function calls from another build solid#4215). The client build adds an X-Server-Function-Build header to every non-GET call, and the server build configures the runtime with the same id, read from the client build's .vite/solid-server-functions.json. A tab still running the previous deploy now gets a 409 (unknownFunction: true) for a function whose id survived the deploy, instead of running it with arguments of another shape. The app's own prepareRequest hook keeps working: the plugin wraps configureServerFunctionsClient so the build's stamp runs first and the app's hook runs after it. Dev is unchanged, a server built without a client build checks nothing, and a custom runtime is left alone.
  • 4e64354: Rename start.setup to start.serverRenderSetup and start.instrument to start.serverSetup, so the start lifecycle options say where and how often they run: serverSetup once before anything else on the server, middleware on every request, serverRenderSetup before every page render, clientSetup once in the browser. The old keys fail at config time with a message naming the replacement.
  • 3236eca: Add a "Migrating from vite-plugin-solid" section to the README, and point the rename banner at it.

@github-actions
github-actions Bot force-pushed the changeset-release/next branch 3 times, most recently from 2c31f12 to 492a657 Compare October 29, 2026 22:57
@github-actions
github-actions Bot force-pushed the changeset-release/next branch from 492a657 to 187c53c Compare October 29, 2026 23:04
@ryansolid
ryansolid merged commit f44f564 into next Oct 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant