Skip to content

fix(solid): cap solid-js peer range at ^1 - #2456

Open
ryansolid wants to merge 2 commits into
TanStack:mainfrom
ryansolid:solid-js-peer-cap
Open

ryansolid wants to merge 2 commits into
TanStack:mainfrom
ryansolid:solid-js-peer-cap

Conversation

@ryansolid

@ryansolid ryansolid commented Oct 28, 2026 •

Copy link
Copy Markdown

🎯 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 peerDependencies ranges 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.

The open-ended >= range lets solid-js 2.0.0 satisfy the peer once it is
released, but these adapters are built for Solid 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWMMJ6aTSA3MvtgJWG2
@changeset-bot

changeset-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: dadc504

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

This PR includes changesets to release 14 packages
Name Type
@tanstack/form-devtools Patch
@tanstack/solid-form-devtools Patch
@tanstack/solid-form Patch
@tanstack/react-form-devtools Patch
@tanstack/angular-form Patch
@tanstack/form-core Patch
@tanstack/react-form-nextjs Patch
@tanstack/react-form-remix Patch
@tanstack/react-form-start Patch
@tanstack/react-form Patch
@tanstack/svelte-form Patch
@tanstack/vue-form Patch
@tanstack/lit-form Patch
@tanstack/preact-form 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

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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: 0ea2e0f3-cdd8-44a0-9a0f-4ee506d3e736

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

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 12eea6d and bc1bb38.

Files selected for processing: 4
  • .changeset/solid-js-peer-cap.md
  • packages/form-devtools/package.json
  • packages/solid-form-devtools/package.json
  • packages/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-js peer 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

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.md
The three package manifests replace open-ended minimum solid-js peer ranges with ^1.9.9 or ^1.9.7. The changeset records a patch release for the packages.

Priority: Normal

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

Change: Bug fix

Merge Risk: Minimal · previous review bc1bb

The dependency range update and accompanying changeset are consistent with the stated compatibility goal and appear ready to merge.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed 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 Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nx-cloud

nx-cloud Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit dadc504

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 2m 53s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 9s View ↗

☁️ Nx Cloud last updated this comment at 2026-10-28 21:19:50 UTC

@pkg-pr-new

pkg-pr-new Bot commented Oct 28, 2026

Copy link
Copy Markdown
More templates

@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@2456

commit: dadc504

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.78%. Comparing base (6892ed0) to head (dadc504).
⚠️ Report is 282 commits behind head on main.
❗ 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      812     +368     
==========================================
+ Hits         1583     2902    +1319     
- Misses        149      296     +147     
- Partials       20       34      +14     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

2 participants