Skip to content
Source
Sign inSign up
TanStack/devtools

fix: require solid-js 1.9.13 or later #543

MergedAlemTuzlakmerged 4 commits intomain fromrefs/pull/543/headmerged by AlemTuzlak View on GitHub

AlemTuzlakcommented

SSR apps with solid-js 1.9.12 or earlier in their lockfile cannot start the dev server: "use" is not exported by solid-js/web/dist/server.js. This PR raises the solid-js minimum to 1.9.13, the first version whose server build exports use.

🎯 Changes

  • The Solid compiler emits use from solid-js/web for every ref. Since devtools-ui 0.7.0, ThemeContextProvider has a ref, and devtools and devtools-utils have refs too.
  • solid-js added use to its server build (as a notSup stub) in 1.9.13. Our ranges were >=1.9.7 and ^1.9.9, so lockfiles with 1.9.12 stayed valid and then failed.
  • The dependency and peer ranges in devtools, devtools-ui, devtools-utils, devtools-a11y, and solid-devtools now start at 1.9.13. The peer range is ^1.9.13, so it keeps the Solid 2 cap that main added in the meantime.
  • The Solid examples and the Solid e2e app also move to ^1.9.13, because sherif requires one range per dependency in the workspace.
  • The lockfile moves from solid-js 1.9.12 to 1.9.15 everywhere, so the workspace keeps one copy of Solid. No other package changes.
  • 1.9.11 and later also include the seroval security fix that #410 asks for.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Testing

Commands run

  • vitest run for devtools-ui (64), devtools (370), devtools-utils (18), and devtools-a11y (31): all pass on solid-js 1.9.15.
  • pnpm install --frozen-lockfile: the lockfile is consistent.
  • pnpm run test:sherif: no errors.
  • From packages/devtools-ui, solid-js/web resolves to the server build under Node, and typeof use is function.
  • I did not run the full pnpm test:pr.

Manual test

  1. Use a TanStack Start app with solid-js@1.9.12 in its lockfile and @tanstack/devtools@0.14.x.
  2. Before this fix: vite dev fails with MISSING_EXPORT "use".
  3. After this fix: installing a build from this branch pulls solid-js 1.9.13 or later, and vite dev starts.

How this PR makes testing easy

No new tests. The existing Solid package suites now run on solid-js 1.9.15.

Linked issues

Fixes #511 Fixes #410

Risk / rollback

Low. Apps that pin solid-js below 1.9.13 get a peer warning and must update solid-js. To undo, revert this PR.

Public API change

Before

"peerDependencies": { "solid-js": ">=1.9.7" }

After

"peerDependencies": { "solid-js": "^1.9.13" }

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Compatibility
    • SolidJS DevTools packages and examples now require SolidJS 1.9.13 or later. Earlier versions may not support server builds correctly, so update SolidJS to meet the new minimum when using these packages or examples.
  • Releases
    • Patch releases are planned for the affected DevTools packages. These releases include the updated SolidJS compatibility requirement.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      Caution

      Review failed

      The pull request is closed.

      No actionable comments were generated in the recent review.

      ℹ️ Recent review info
      ⚙️ Run configuration

      Configuration used: Repository: TanStack/devtools/.coderabbit.yaml

      Review profile: CHILL

      Plan: Advanced

      Run ID: 0cd7e95a-d377-402e-87de-0ebc4873063c

      📥 Commits

      Reviewing files that changed from the base of the PR and between afa01fec1751308eb5f60e737e408f2fc34e669a and d2c6102bc2ddc5ee090d1c618c7af7cdc1f82823.

      ⛔ Files ignored due to path filters (1)
      • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
      📒 Files selected for processing (11)
      • .changeset/solid-js-1-9-13-floor.md
      • e2e/apps/solid/package.json
      • examples/solid/a11y-devtools/package.json
      • examples/solid/basic/package.json
      • examples/solid/devtools-ui/package.json
      • examples/solid/start/package.json
      • packages/devtools-a11y/package.json
      • packages/devtools-ui/package.json
      • packages/devtools-utils/package.json
      • packages/devtools/package.json
      • packages/solid-devtools/package.json

      Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

      Walkthrough

      The pull request raises SolidJS dependency and peer dependency minimums to 1.9.13 across devtools packages and Solid examples. It adds a changeset for five patch releases and increases the devtools bundle size limit by 1 KB.

      Changes: SolidJS version requirement

      Layer / File(s)Summary
      Update SolidJS requirements
      .changeset/solid-js-1-9-13-floor.md, packages/*/package.json, e2e/apps/solid/package.json, examples/solid/*/package.json, package.json
      Devtools package requirements and Solid example dependencies now specify SolidJS 1.9.13 or later. The changeset records patch releases for five packages and states that older versions lack the solid-js/web server export required by compiled output. The devtools bundle size limit increases from 66 KB to 67 KB.
      Priority: Not assessed

      Estimated code review effort: 2 (Simple) | ~10 minutes

      Change: Bug fix · Severity of issue fixed: Medium

      Possibly related PRs

      • TanStack/devtools#557: Changes the same SolidJS peer dependency declarations, but sets their minimum to ^1.9.7 instead of ^1.9.13.

      Suggested reviewers: kevinvandy, ryansolid

      Merge Risk: Minimal · up to a708c

      The dependency floor changes are consistent with the intended SolidJS compatibility fix, with no established merge-blocking risk.

      Architecture risk: Low · up to d2c61

      The change affects 7 systems.

      Changed systems: examples, e2e, packages/devtools, packages/devtools-a11y, packages/devtools-ui, packages/devtools-utils, packages/solid-devtools

      Architecture concerns No architecture-level concerns identified.

      Review details

      Systems and components

      • observed — examples (service) was modified; 4 changed files map to changed impact.
      • observed — e2e (service) was modified; 1 changed file maps to changed impact.
      • observed — packages/devtools (library) was modified; 1 changed file maps to changed impact.
      • observed — packages/devtools-a11y (library) was modified; 1 changed file maps to changed impact.

      Before / after behavior

      • observed — Modified behavior in e2e/apps/solid/package.json: The solid-js dependency range changed from ^1.9.9 to ^1.9.13.
      • observed — Modified behavior in examples/solid/a11y-devtools/package.json: The solid-js dependency range changed from ^1.9.9 to ^1.9.13.
      • observed — Modified behavior in examples/solid/basic/package.json: The solid-js dependency range changed from ^1.9.9 to ^1.9.13.
      • observed — Modified behavior in examples/solid/devtools-ui/package.json: The solid-js dependency range changed from ^1.9.9 to ^1.9.13.
      🚥 Pre-merge checks | ✅ 5
      ✅ Passed checks (5 passed)
      Check nameStatusExplanation
      Linked Issues check✅ PassedThe PR raises the solid-js dependency and peer-dependency minimum to ^1.9.13 or >=1.9.13 in packages/devtools and packages/devtools-ui, which addresses the SSR use export failure in [#511]…
      Out of Scope Changes check✅ PassedThe changeset and the Solid version updates in the Solid examples and e2e app support the dependency-floor change. The additional package manifest updates keep related workspace packages consistent wi…
      Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
      Title check✅ PassedThe title clearly and concisely identifies the main change: requiring SolidJS 1.9.13 or later.
      Description check✅ PassedThe description is complete and relevant. It explains the SSR failure, dependency changes, release impact, testing performed, linked issues, risks, rollback, and public API impact. It also records tha…
      Finishing Touches
      🧪 Generate unit tests (beta)
      • Commit to this branch
      • Create a new PR
      • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Autopilot is currently an internal CodeRabbit preview.

      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
      Comment `@coderabbitai help` to get the list of available commands.
    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 345187fd450c6f36f26097a164287b93e5b4b2ee

      CommandStatusDurationResult
      nx affected --targets=test:eslint,test:sherif,t...✅ Succeeded3m 18sView ↗
      nx run-many --target=test:e2e --parallel=1 --pr...✅ Succeeded1m 1sView ↗
      nx run-many --targets=build --exclude=examples/...✅ Succeeded39sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-29 15:40:00 UTC

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

      🤖 Nx Cloud AI Fix Eligible

      An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

      To disable these notifications, a workspace admin can disable them [in workspace settings.](https://cloud.nx.app/orgs/6412ca9d1c251d000efa21ba/workspaces/68d74dda9d18071f643ecda4/settings/self-healing-ci?utm_source=pull-request&utm_medium=comment)

      View your CI Pipeline Execution ↗ for commit 76ea7ee8f611feb5bd1b4535a6b9cec057b58174

      CommandStatusDurationResult
      nx affected --targets=test:eslint,test:sherif,t...❌ Failed4m 54sView ↗
      nx run-many --target=test:e2e --parallel=1 --pr...✅ Succeeded1m 16sView ↗
      nx run-many --targets=build --exclude=examples/...✅ Succeeded48sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-02 13:33:48 UTC

    4. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented
      More templates

      @tanstack/angular-devtools

      npm i https://pkg.pr.new/@tanstack/angular-devtools@543

      @tanstack/devtools

      npm i https://pkg.pr.new/@tanstack/devtools@543

      @tanstack/devtools-a11y

      npm i https://pkg.pr.new/@tanstack/devtools-a11y@543

      @tanstack/devtools-bundler-core

      npm i https://pkg.pr.new/@tanstack/devtools-bundler-core@543

      @tanstack/devtools-client

      npm i https://pkg.pr.new/@tanstack/devtools-client@543

      @tanstack/devtools-rspack

      npm i https://pkg.pr.new/@tanstack/devtools-rspack@543

      @tanstack/devtools-ui

      npm i https://pkg.pr.new/@tanstack/devtools-ui@543

      @tanstack/devtools-utils

      npm i https://pkg.pr.new/@tanstack/devtools-utils@543

      @tanstack/devtools-vite

      npm i https://pkg.pr.new/@tanstack/devtools-vite@543

      @tanstack/devtools-webmcp

      npm i https://pkg.pr.new/@tanstack/devtools-webmcp@543

      @tanstack/devtools-event-bus

      npm i https://pkg.pr.new/@tanstack/devtools-event-bus@543

      @tanstack/devtools-event-client

      npm i https://pkg.pr.new/@tanstack/devtools-event-client@543

      @tanstack/preact-devtools

      npm i https://pkg.pr.new/@tanstack/preact-devtools@543

      @tanstack/react-devtools

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

      @tanstack/solid-devtools

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

      @tanstack/svelte-devtools

      npm i https://pkg.pr.new/@tanstack/svelte-devtools@543

      @tanstack/vue-devtools

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

      commit: a708c24

    5. 🦋 Changeset detected

      Latest commit: a708c24dedafd0a4948330ecdd78a026624e912a

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

      This PR includes changesets to release 14 packages
      NameType
      @tanstack/devtoolsPatch
      @tanstack/devtools-uiPatch
      @tanstack/devtools-utilsPatch
      @tanstack/devtools-a11yPatch
      @tanstack/solid-devtoolsPatch
      @tanstack/angular-devtoolsPatch
      @tanstack/preact-devtoolsPatch
      @tanstack/react-devtoolsPatch
      @tanstack/svelte-devtoolsPatch
      @tanstack/vue-devtoolsPatch
      @tanstack/devtools-example-angular-a11y-devtoolsPatch
      @tanstack/devtools-example-angular-basicPatch
      @tanstack/devtools-example-angular-panelPatch
      @tanstack/devtools-example-angular-with-devtoolsPatch

      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

    6. AlemTuzlak merged thisbbe529a

    7. AlemTuzlak closed this

Sign in to join this conversation.