Skip to content
Source
Sign inSign up
TanStack/router

chore(solid): bump to solid-js 2.0.0-rc.20 and @solidjs/vite-plugin 3.0.0-next.54 #8837

Mergedbrenelz(GitHub profile, opens in a new tab)merged 2 commits intosolid-router-v2-pre fromrefs/pull/8837/headmerged by brenelz(GitHub profile, opens in a new tab)

Bumps the Solid v2 prerelease line to the newest published releases:

  • solid-js and @solidjs/web go to ^2.0.0-rc.20 (from rc.16) across the monorepo. The webpack example's @solidjs/babel-plugin and the @rsbuild/plugin-solid compiler overrides in pnpm-workspace.yaml go to 2.0.0-rc.20. The Solid packages' solid-js / @solidjs/web peer floors go to rc.20, following the earlier bump PRs.
  • @solidjs/vite-plugin goes to ^3.0.0-next.54 (from next.51). next.54 peer-requires rc.19 or later.

The lockfile needed no repair this time. Apart from the Solid packages, the install only moved seroval and seroval-plugins from 1.6.7 to 1.7.0, which come in through Solid. The compiler's platform binaries are locked, and pnpm install --no-frozen-lockfile leaves the lockfile byte-identical.

Code changes

@solidjs/vite-plugin next.54 removed the hot option. Passing it now throws `hot` has been removed. HMR is on by default; disable it with `refresh: false` when the config loads. Every config that passed it now passes refresh instead:

  • packages/solid-router/vite.config.ts: hot: !process.env.VITEST becomes refresh: !process.env.VITEST. Without this, every solid-router build and unit suite fails at startup.
  • The 41 Solid vite.config.ts files under benchmarks/ (client-nav, ssr, memory client and server) and packages/solid-router/repro-external-ssr/run.mjs: hot: false becomes refresh: false. dev: false is still a valid option and is unchanged.

Verification

  • NX_DAEMON=false pnpm exec nx run-many --skip-nx-cache --targets=build,test:unit,test:types,test:eslint --projects=@tanstack/solid-router,@tanstack/solid-start,@tanstack/solid-start-client,@tanstack/solid-start-server,@tanstack/solid-router-devtools,@tanstack/solid-router-ssr-query,@tanstack/router-plugin: all pass. solid-router reports 906 passed and 2 skipped (plus 11 in server mode), and router-plugin 755 passed.
  • CI=1 NX_DAEMON=false pnpm exec nx run tanstack-router-e2e-solid-basic-file-based:test:e2e: 120 passed.
  • CI=1 NX_DAEMON=false pnpm exec nx run tanstack-solid-start-e2e-basic:test:e2e: passes in every mode (80, 72, 82 and 80 passed, with some skipped).
  • NODE_ENV=production pnpm exec vite build --config <config> for five of the benchmark configs (ssr, ssr streaming, memory server request-churn, memory client mount-unmount, client-nav links): all build. With hot: false restored, the ssr config fails with the error above.

The other Solid e2e apps (cloudflare, serialization-adapters, server-functions, solid-query) were not run locally.

🤖 Generated with Claude Code

    1. changeset-bot[bot](GitHub profile, opens in a new tab)commented

      🦋 Changeset detected

      Latest commit: 785537d686c1bb42ab6abb7cb5b7a66ce308aab4

      The changes in this PR will be included in the next version bump.

      This PR includes changesets to release 6 packages
      NameType
      @tanstack/solid-routerPatch
      @tanstack/solid-router-devtoolsPatch
      @tanstack/solid-router-ssr-queryPatch
      @tanstack/solid-startPatch
      @tanstack/solid-start-clientPatch
      @tanstack/solid-start-serverPatch

      Not sure what this means? Click here to learn what changesets are.

      Click here if you're a maintainer who wants to add another changeset to this PR

    2. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on base/target branches other than the default branch.

      Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      Run configuration
      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 09d59247-a30a-4aea-b3a9-ba882bef632c

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • Trigger review
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share
    3. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 785537d686c1bb42ab6abb7cb5b7a66ce308aab4

      CommandStatusDurationResult
      nx affected --targets=test:eslint,test:unit,tes...✅ Succeeded9m 6sView ↗
      nx run-many --target=build --exclude=examples/*...✅ Succeeded2m 16sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-31 03:49:48 UTC

    4. socket-security[bot](GitHub profile, opens in a new tab)commented

      Review the following changes in direct dependencies. Learn more about Socket for GitHub.

      Diff Package Supply Chain
      Security
      Vulnerability Quality Maintenance License
      Updated@​solidjs/​web@​2.0.0-rc.16 ⏵ 2.0.0-rc.20100 +110083 +197 +1100
      Updated@​solidjs/​babel-plugin@​2.0.0-rc.16 ⏵ 2.0.0-rc.2094 +1100100 +196 +1100
      Updatedsolid-js@​2.0.0-rc.16 ⏵ 2.0.0-rc.20100 +110095 +196 +2100
      Updated@​solidjs/​vite-plugin@​3.0.0-next.51 ⏵ 3.0.0-next.5498 +110010097 +2100

      View full report

    5. More templates

      @tanstack/arktype-adapter

      npm i https://pkg.pr.new/@tanstack/arktype-adapter@8837

      @tanstack/eslint-plugin-router

      npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@8837

      @tanstack/eslint-plugin-start

      npm i https://pkg.pr.new/@tanstack/eslint-plugin-start@8837

      @tanstack/history

      npm i https://pkg.pr.new/@tanstack/history@8837

      @tanstack/nitro-v2-vite-plugin

      npm i https://pkg.pr.new/@tanstack/nitro-v2-vite-plugin@8837

      @tanstack/react-router

      npm i https://pkg.pr.new/@tanstack/react-router@8837

      @tanstack/react-router-devtools

      npm i https://pkg.pr.new/@tanstack/react-router-devtools@8837

      @tanstack/react-router-ssr-query

      npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@8837

      @tanstack/react-start

      npm i https://pkg.pr.new/@tanstack/react-start@8837

      @tanstack/react-start-client

      npm i https://pkg.pr.new/@tanstack/react-start-client@8837

      @tanstack/react-start-rsc

      npm i https://pkg.pr.new/@tanstack/react-start-rsc@8837

      @tanstack/react-start-server

      npm i https://pkg.pr.new/@tanstack/react-start-server@8837

      @tanstack/router-cli

      npm i https://pkg.pr.new/@tanstack/router-cli@8837

      @tanstack/router-core

      npm i https://pkg.pr.new/@tanstack/router-core@8837

      @tanstack/router-devtools

      npm i https://pkg.pr.new/@tanstack/router-devtools@8837

      @tanstack/router-devtools-core

      npm i https://pkg.pr.new/@tanstack/router-devtools-core@8837

      @tanstack/router-generator

      npm i https://pkg.pr.new/@tanstack/router-generator@8837

      @tanstack/router-plugin

      npm i https://pkg.pr.new/@tanstack/router-plugin@8837

      @tanstack/router-ssr-query-core

      npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@8837

      @tanstack/router-utils

      npm i https://pkg.pr.new/@tanstack/router-utils@8837

      @tanstack/router-vite-plugin

      npm i https://pkg.pr.new/@tanstack/router-vite-plugin@8837

      @tanstack/solid-router

      npm i https://pkg.pr.new/@tanstack/solid-router@8837

      @tanstack/solid-router-devtools

      npm i https://pkg.pr.new/@tanstack/solid-router-devtools@8837

      @tanstack/solid-router-ssr-query

      npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@8837

      @tanstack/solid-start

      npm i https://pkg.pr.new/@tanstack/solid-start@8837

      @tanstack/solid-start-client

      npm i https://pkg.pr.new/@tanstack/solid-start-client@8837

      @tanstack/solid-start-server

      npm i https://pkg.pr.new/@tanstack/solid-start-server@8837

      @tanstack/start-client-core

      npm i https://pkg.pr.new/@tanstack/start-client-core@8837

      @tanstack/start-fn-stubs

      npm i https://pkg.pr.new/@tanstack/start-fn-stubs@8837

      @tanstack/start-plugin-core

      npm i https://pkg.pr.new/@tanstack/start-plugin-core@8837

      @tanstack/start-server-core

      npm i https://pkg.pr.new/@tanstack/start-server-core@8837

      @tanstack/start-static-server-functions

      npm i https://pkg.pr.new/@tanstack/start-static-server-functions@8837

      @tanstack/start-storage-context

      npm i https://pkg.pr.new/@tanstack/start-storage-context@8837

      @tanstack/valibot-adapter

      npm i https://pkg.pr.new/@tanstack/valibot-adapter@8837

      @tanstack/virtual-file-routes

      npm i https://pkg.pr.new/@tanstack/virtual-file-routes@8837

      @tanstack/vue-router

      npm i https://pkg.pr.new/@tanstack/vue-router@8837

      @tanstack/vue-router-devtools

      npm i https://pkg.pr.new/@tanstack/vue-router-devtools@8837

      @tanstack/vue-router-ssr-query

      npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@8837

      @tanstack/vue-start

      npm i https://pkg.pr.new/@tanstack/vue-start@8837

      @tanstack/vue-start-client

      npm i https://pkg.pr.new/@tanstack/vue-start-client@8837

      @tanstack/vue-start-server

      npm i https://pkg.pr.new/@tanstack/vue-start-server@8837

      @tanstack/zod-adapter

      npm i https://pkg.pr.new/@tanstack/zod-adapter@8837

      commit: 785537d

    6. Merging this PR will regress 10 benchmarks

      1 warning, 1 note

      :warning: 10 benchmarks with a significant change ran on different hardware

      Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

      Learn more about Macro Runners

      See affected benchmarks

      :information_source: 38 benchmarks have no flamegraph

      The flamegraph wasn't generated: most of the time was spent in runtime internals, which would leave nothing useful to analyze.

      See affected benchmarks

      ⚡ 21 improved benchmarks ❌ 10 regressed benchmarks ✅ 91 untouched benchmarks 🗄️ 57 archived benchmarks run1

      Warning

      Please fix the performance issues or acknowledge them on CodSpeed.

      Performance Changes

      ModeBenchmarkBASEHEADEfficiency
      ❌CPU Simulationssr before-load chain (solid)251.5 ms273.8 ms-8.12%
      ❌Memorymem client preload-churn (vue)767.4 KB824.1 KB-6.88%
      ❌Memorymem server request-churn (react)660.7 KB709.4 KB-6.86%
      ❌CPU Simulationssr assets inline-css cdn (solid)268.3 ms286.4 ms-6.34%
      ❌CPU Simulationssr streaming deferred (solid)291.9 ms311.4 ms-6.27%
      ❌CPU Simulationssr rewrite localized (solid)324.1 ms339.7 ms-4.57%
      ❌Memorymem server server-fn-churn (react)386.7 KB401.6 KB-3.69%
      ❌Memorymem server serialization-payload (vue)4.4 MB4.5 MB-3.58%
      ❌Memorymem server error-paths redirect (solid)454.7 KB471.5 KB-3.57%
      ❌CPU Simulationclient-rewrites navigation loop (solid)105.8 ms109.4 ms-3.3%
      ⚡Memorymem server request-churn (vue)3,551.2 KB838.2 KB×4.2
      ⚡Memorymem client preload-churn (solid)1,425.9 KB361.4 KB×3.9
      ⚡Memorymem client loader-data-retention (solid)288.2 KB147.6 KB+95.22%
      ⚡CPU Simulationclient-async-pipeline navigation loop (solid)96.1 ms78.3 ms+22.76%
      ⚡CPU Simulationclient-nested-params navigation loop (solid)167.9 ms149.9 ms+12.03%
      ⚡CPU Simulationclient-history navigation loop (solid)88 ms78.6 ms+11.94%
      ⚡CPU Simulationclient-preload interaction loop (solid)111.6 ms102.8 ms+8.61%
      ⚡CPU Simulationclient-mount loop (solid)92.1 ms85.1 ms+8.25%
      ⚡Memorymem client navigation-churn (vue)1.7 MB1.6 MB+7.93%
      ⚡CPU Simulationclient-links navigation loop (solid)228.5 ms212 ms+7.76%
      ..................

      :information_source: Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

      [!TIP] Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


      Comparing brenelz:chore/solid-rc20 (785537d) with solid-router-v2-pre (1015223)[^unexpected-base] Open in CodSpeed

      Footnotes

      1. 57 benchmarks were run, but are now archived. If they were deleted in another branch, consider rebasing to remove them from the report. Instead if they were added back, click here to restore them. ↩

    7. birkskyum(GitHub profile, opens in a new tab) approved these changes

Sign in to join this conversation.