fix(solid): cap solid-js peer range at ^1 #2456
main fromrefs/pull/2456/head·merged by LeCarbonator(GitHub profile, opens in a new tab) 🎯 Changes#
The Solid packages here declare an open-ended solid-js peer (>=1.x). Solid 2.0.0 is due shortly. Once it's tagged latest, that range will accept it, so npm install will pair these Solid 1 adapters with Solid 2 without any peer warning, and they will fail at build or run time: Solid 2 removes solid-js/store, createComputed, mergeProps/splitProps, onMount, batch and more.
This PR changes each range from >=X to ^X, keeping the same lower bound, and adds a patch changeset so the cap actually ships. Solid 2 support can then come as a new adapter major on a pre-release branch, the way @tanstack/solid-router 2.x and @tanstack/solid-query 6.x did it.
Prereleases (2.0.0-rc.*) never matched >=1.x, which is why nobody has run into this yet.
✅ Checklist#
- Only
peerDependenciesranges and a changeset change; no code changes.
Summary by CodeRabbit#
- Compatibility
- Updated supported SolidJS version ranges for the form and devtools packages. Versions must now be within the 1.x series, which may affect projects using later major versions.
- 1
Important
Review skipped#
Review was skipped as selected files did not have any reviewable changes.
Files ignored due to path filters: 1-
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
Run configuration-
- Source mode: Auto
- Repository: TanStack/form
- Branch: main
- File: .coderabbit.yaml
- Commit: ed2f320
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a9a85f09-f229-4c1d-9d06-f18f422aaa3a
Commits-
Reviewing files that changed from the base of the PR and between dadc50498aa6e96d43a77093c17ea9ef6ca3594b and 00d84f916a064f8cfcde449ab3afcbd84f59273b.
Files ignored due to path filters: 1-
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- 🔍 Trigger review
No actionable comments were generated in the recent review.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: TanStack/form
- Branch: main
- File: .coderabbit.yaml
- Commit: 12eea6d
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
9ea71714-2abc-4fb2-87ca-695524049d2f
Commits-
Reviewing files that changed from the base of the PR and between 12eea6d647d5c5b5692bf42b389210dbe750ccc9 and bc1bb38a893a40e69c81470a48b6106b6038d71f.
Files selected for processing: 4-
.changeset/solid-js-peer-cap.mdpackages/form-devtools/package.jsonpackages/solid-form-devtools/package.jsonpackages/solid-form/package.json
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
-
Walkthrough
-
The
solid-jspeer dependency ranges in three package manifests now use caret constraints within major version 1. A patch changeset records the updates.Changes: SolidJS peer range cap
Priority:Layer / File(s) Summary Peer range updates
packages/solid-form/package.json,packages/form-devtools/package.json,packages/solid-form-devtools/package.json,.changeset/solid-js-peer-cap.mdThe three package manifests replace open-ended minimum solid-jspeer ranges with^1.9.9or^1.9.7. The changeset records a patch release for the packages. NormalEstimated code review effort: 2 (Simple) | ~5 minutes
Change: Bug fix
Merge Risk:
Minimal · previous reviewbc1bb-
The dependency range update and accompanying changeset are consistent with the stated compatibility goal and appear ready to merge.
Pre-merge checks:
5-
Check name Status Explanation Title check The title "fix(solid): cap solid-js peer range at ^1" matches the main change. The PR changes the solid-js peerDependencies in three packages from open-ended >=X ranges to ^X ranges, and adds a patch … Description check The description follows the template structure. It has a Changes section that explains the motivation: Solid 2.0.0 could satisfy the open-ended solid-js peer range and break Solid 1 adapters. It state… Docstring Coverage No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Full details: Title check
-
Explanation
The title "fix(solid): cap solid-js peer range at ^1" matches the main change. The PR changes the solid-js peerDependencies in three packages from open-ended >=X ranges to ^X ranges, and adds a patch changeset. The title names the scope (solid), the action (cap the peer range), and the version bound (^1). It follows the conventional commit style.
Full details: Description check
-
Explanation
The description follows the template structure. It has a Changes section that explains the motivation: Solid 2.0.0 could satisfy the open-ended solid-js peer range and break Solid 1 adapters. It states the change: each range goes from >=X to ^X, and a patch changeset is added. The Checklist section is present, but only one item is ticked. The description does not state whether the tests were run with pnpm test:pr, and it does not confirm the contributing guide steps or the AI-assistance understanding item. The Release Impact section is missing, although the changeset covers that point.
Resolution
Optional improvements: tick or address the remaining checklist items, including the pnpm test:pr item and the AI-assistance item. Mark the Release Impact checkbox that applies (the changeset makes this a published change).
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- 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.
Comment `@coderabbitai help` to get the list of available commands.-
View your CI Pipeline Execution ↗ for commit 00d84f916a064f8cfcde449ab3afcbd84f59273b
Command Status Duration Result nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded 1m 59s View ↗ nx run-many --target=build --exclude=examples/**✅ Succeeded <1s View ↗
☁️ Nx Cloud last updated this comment at
2026-10-29 12:56:33UTCMore templates
- @tanstack/form-example-angular-array
- @tanstack/form-example-angular-large-form
- @tanstack/form-example-angular-multi-step-wizard
- @tanstack/form-example-angular-simple
- @tanstack/form-example-angular-standard-schema
- @tanstack/form-example-lit-array
- @tanstack/form-example-lit-large-form
- @tanstack/form-example-lit-multi-step-wizard
- @tanstack/form-example-lit-simple
- @tanstack/form-example-lit-standard-schema
- @tanstack/form-example-lit-ui-libraries
- @tanstack/form-example-preact-multi-step-wizard
- @tanstack/form-example-preact-simple
- @tanstack/form-example-react-array
- @tanstack/form-example-react-compiler
- @tanstack/form-example-react-composition
- @tanstack/form-example-react-devtools
- @tanstack/form-example-react-dynamic
- @tanstack/form-example-react-expo
- @tanstack/field-errors-from-form-validators
- @tanstack/form-example-react-large-form
- @tanstack/form-example-react-multi-step-wizard
- @tanstack/form-example-react-next-server-actions
- @tanstack/form-example-react-next-server-actions-zod
- @tanstack/form-example-react-query-integration
- @tanstack/form-example-remix
- @tanstack/form-example-react-simple
- @tanstack/form-example-react-standard-schema
- @tanstack/form-example-react-tanstack-start
- @tanstack/form-example-react-ui-libraries
- @tanstack/form-example-svelte-array
- @tanstack/form-example-svelte-large-form
- @tanstack/form-example-svelte-multi-step-wizard
- @tanstack/form-example-svelte-simple
- @tanstack/form-example-svelte-standard-schema
- @tanstack/form-example-solid-array
- @tanstack/form-example-solid-devtools
- @tanstack/form-example-solid-large-form
- @tanstack/form-example-solid-multi-step-wizard
- @tanstack/form-example-solid-simple
- @tanstack/form-example-solid-standard-schema
- @tanstack/form-example-vue-array
- @tanstack/form-example-vue-multi-step-wizard
- @tanstack/form-example-vue-simple
- @tanstack/form-example-vue-standard-schema
@tanstack/angular-form
npm i https://pkg.pr.new/@tanstack/angular-form@2456@tanstack/form-core
npm i https://pkg.pr.new/@tanstack/form-core@2456@tanstack/form-devtools
npm i https://pkg.pr.new/@tanstack/form-devtools@2456@tanstack/lit-form
npm i https://pkg.pr.new/@tanstack/lit-form@2456@tanstack/preact-form
npm i https://pkg.pr.new/@tanstack/preact-form@2456@tanstack/react-form
npm i https://pkg.pr.new/@tanstack/react-form@2456@tanstack/react-form-devtools
npm i https://pkg.pr.new/@tanstack/react-form-devtools@2456@tanstack/react-form-nextjs
npm i https://pkg.pr.new/@tanstack/react-form-nextjs@2456@tanstack/react-form-remix
npm i https://pkg.pr.new/@tanstack/react-form-remix@2456@tanstack/react-form-start
npm i https://pkg.pr.new/@tanstack/react-form-start@2456@tanstack/solid-form
npm i https://pkg.pr.new/@tanstack/solid-form@2456@tanstack/solid-form-devtools
npm i https://pkg.pr.new/@tanstack/solid-form-devtools@2456@tanstack/svelte-form
npm i https://pkg.pr.new/@tanstack/svelte-form@2456@tanstack/vue-form
npm i https://pkg.pr.new/@tanstack/vue-form@2456commit:
00d84f9:warning: Please install the
to ensure uploads and comments are reliably processed by Codecov.
Codecov Report#
:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 89.78%. Comparing base (
6892ed0) to head (00d84f9). :warning: Report is 283 commits behind head on main. :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.Additional details and impacted files
@@ Coverage Diff @@ ## main #2456 +/- ## ========================================== - Coverage 90.35% 89.78% -0.57% ========================================== Files 38 66 +28 Lines 1752 3232 +1480 Branches 444 811 +367 ========================================== + Hits 1583 2902 +1319 - Misses 149 296 +147 - Partials 20 34 +14:umbrella: View full report in Codecov by Harness. :loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
LeCarbonator(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
🦋 Changeset detected#
Latest commit: 00d84f916a064f8cfcde449ab3afcbd84f59273b
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 14 packages
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