fix: require solid-js 1.9.13 or later #543
main fromrefs/pull/543/head·merged by AlemTuzlak View on GitHubSSR 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
usefromsolid-js/webfor everyref. Sincedevtools-ui0.7.0,ThemeContextProviderhas aref, anddevtoolsanddevtools-utilshave refs too. - solid-js added
useto its server build (as anotSupstub) in 1.9.13. Our ranges were>=1.9.7and^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, andsolid-devtoolsnow start at1.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, becausesherifrequires 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
serovalsecurity 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 runfordevtools-ui(64),devtools(370),devtools-utils(18), anddevtools-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/webresolves to the server build under Node, andtypeof useisfunction. - I did not run the full
pnpm test:pr.
Manual test
- Use a TanStack Start app with
solid-js@1.9.12in its lockfile and@tanstack/devtools@0.14.x. - Before this fix:
vite devfails withMISSING_EXPORT "use". - After this fix: installing a build from this branch pulls solid-js 1.9.13 or later, and
vite devstarts.
How this PR makes testing easy
No new tests. The existing Solid package suites now run on solid-js 1.9.15.
Linked issues#
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
View your CI Pipeline Execution ↗ for commit 345187fd450c6f36f26097a164287b93e5b4b2ee
Command Status Duration Result nx affected --targets=test:eslint,test:sherif,t...✅ Succeeded 3m 18s View ↗ nx run-many --target=test:e2e --parallel=1 --pr...✅ Succeeded 1m 1s View ↗ nx run-many --targets=build --exclude=examples/...✅ Succeeded 39s View ↗
☁️ Nx Cloud last updated this comment at
2026-10-29 15:40:00UTC
🤖 Nx Cloud AI Fix Eligible#
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)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.
View your CI Pipeline Execution ↗ for commit 76ea7ee8f611feb5bd1b4535a6b9cec057b58174
Command Status Duration Result nx affected --targets=test:eslint,test:sherif,t...❌ Failed 4m 54s View ↗ nx run-many --target=test:e2e --parallel=1 --pr...✅ Succeeded 1m 16s View ↗ nx run-many --targets=build --exclude=examples/...✅ Succeeded 48s View ↗
☁️ Nx Cloud last updated this comment at
2026-10-02 13:33:48UTCMore templates
- @tanstack/devtools-example-angular-a11y-devtools
- @tanstack/devtools-example-angular-basic
- @tanstack/devtools-example-angular-panel
- ssr
- @tanstack/devtools-example-angular-with-devtools
- @tanstack/solid-devtools-a11y-example
- @tanstack/devtools-example-solid-basic
- @tanstack/devtools-example-devtools-ui
- @tanstack/devtools-example-solid-start
- @tanstack/react-devtools-a11y-example
- @tanstack/devtools-example-react-basic
- start-repro
- @tanstack/devtools-custom-devtools
- tanstack-start-example-counter
- @tanstack/devtools-example-react-https
- start
- start-cloudflare
- start-nitro
- @tanstack/devtools-example-react-time-travel
- @tanstack/query-example-vue-basic
- @tanstack/devtools-example-preact-basic
- @tanstack/devtools-custom-devtools-preact
@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@543commit:
a708c24🦋 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
Name Type @tanstack/devtools Patch @tanstack/devtools-ui Patch @tanstack/devtools-utils Patch @tanstack/devtools-a11y Patch @tanstack/solid-devtools Patch @tanstack/angular-devtools Patch @tanstack/preact-devtools Patch @tanstack/react-devtools Patch @tanstack/svelte-devtools Patch @tanstack/vue-devtools Patch @tanstack/devtools-example-angular-a11y-devtools Patch @tanstack/devtools-example-angular-basic Patch @tanstack/devtools-example-angular-panel Patch @tanstack/devtools-example-angular-with-devtools Patch 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
AlemTuzlak merged thisbbe529a
AlemTuzlak closed this
🎉 This PR has been released!
- @tanstack/devtools@0.16.0
- @tanstack/devtools-a11y@0.2.3
- @tanstack/devtools-ui@0.7.2
- @tanstack/devtools-utils@0.7.2
- @tanstack/solid-devtools@0.8.14
Thank you for your contribution!
Sign in to join this conversation.
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.yamlis excluded by!**/pnpm-lock.yaml📒 Files selected for processing (11)
.changeset/solid-js-1-9-13-floor.mde2e/apps/solid/package.jsonexamples/solid/a11y-devtools/package.jsonexamples/solid/basic/package.jsonexamples/solid/devtools-ui/package.jsonexamples/solid/start/package.jsonpackages/devtools-a11y/package.jsonpackages/devtools-ui/package.jsonpackages/devtools-utils/package.jsonpackages/devtools/package.jsonpackages/solid-devtools/package.jsonIncluded 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
.changeset/solid-js-1-9-13-floor.md,packages/*/package.json,e2e/apps/solid/package.json,examples/solid/*/package.json,package.jsonsolid-js/webserver export required by compiled output. The devtools bundle size limit increases from 66 KB to 67 KB.Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Medium
Possibly related PRs
^1.9.7instead of^1.9.13.Suggested reviewers:
kevinvandy,ryansolidMerge Risk:
Minimal · up to
a708cThe dependency floor changes are consistent with the intended SolidJS compatibility fix, with no established merge-blocking risk.
Architecture risk:
Low · up to
d2c61The change affects 7 systems.
Changed systems:
examples,e2e,packages/devtools,packages/devtools-a11y,packages/devtools-ui,packages/devtools-utils,packages/solid-devtoolsArchitecture concerns No architecture-level concerns identified.
Review details
Systems and components
Before / after behavior
solid-jsdependency range changed from^1.9.9to^1.9.13.solid-jsdependency range changed from^1.9.9to^1.9.13.solid-jsdependency range changed from^1.9.9to^1.9.13.solid-jsdependency range changed from^1.9.9to^1.9.13.🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
solid-jsdependency and peer-dependency minimum to^1.9.13or>=1.9.13inpackages/devtoolsandpackages/devtools-ui, which addresses the SSRuseexport failure in [#511]…Finishing Touches
🧪 Generate unit tests (beta)
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