Skip to content

Version Packages (next) - #292

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

Version Packages (next)#292
ryansolid merged 1 commit into
nextfrom
changeset-release/next

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 29, 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

vite-plugin-solid@3.0.0-next.20

Patch Changes

  • 528a7bb: Move the solid:client-build-first buildApp hook from pre to normal
    order, and make its post-order /complete companion defer to any other
    plugin that declares a non-pre buildApp hook of its own.

    Pre-order buildApp hooks are where host plugins do destructive
    preparation: nitro v3's nitro:prepare rm -rf's the output directory from
    a pre-order hook. Sorted at pre, our client build could run before that
    cleanup (hook order within pre follows plugin registration), so the
    client bundle and manifest it had just emitted were wiped, the subsequent
    server build baked in the manifest-less fallback, and the production build
    served 500s with no client assets — the solid({ ssr }) + nitro()
    composition was broken out of the box.

    Normal order still satisfies the hook's original purpose (client before
    any server-first orchestrator): config-level builder.buildApp
    orchestrators (@cloudflare/vite-plugin builds workers before the client)
    are invoked by Vite only after all pre- and normal-order plugin hooks, and
    hook-based orchestrators (nitro's nitro:main, cloudflare's companion
    hook) declare post order. The /complete hook now also treats another
    plugin's non-pre buildApp hook as a claim on the app build even before
    it runs, instead of preempting a post-order orchestrator's staged build
    (nitro prerenders and copies public assets before its final server bundle,
    and knows which environments to skip). Plain builder: {} setups keep the
    reinstated build-everything fallback, unchanged.

    Covered by a new turnkey e2e mode (builder-prepare) that builds against a
    nitro-shaped host: a pre-order output-wiping hook plus a post-order
    ssr-building orchestrator that skips already-built environments.

  • 60ba309: Resolve relative filter globs against the Vite root instead of process.cwd().

    The server-functions plugin's default include glob
    (src/**/*.{jsx,tsx,ts,js,mjs,cjs}) is relative, and createFilter resolved
    it against the invocation directory — so running vite from anywhere other
    than the project root silently skipped server-function compilation entirely
    (no transform, no registration). Both filters (the main plugin's
    include/exclude and serverFunctions.filter) are now created in
    configResolved with patterns resolved against config.root; user-provided
    relative patterns become root-relative too, and absolute patterns are
    unaffected.

@github-actions
github-actions Bot force-pushed the changeset-release/next branch from 494dd5c to 5caec97 Compare July 29, 2026 18:08
@github-actions
github-actions Bot force-pushed the changeset-release/next branch from 5caec97 to c3c9bc4 Compare July 29, 2026 22:37
@ryansolid
ryansolid merged commit 8e1c688 into next Jul 29, 2026
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