Skip to content
Source
Sign inSign up
TanStack/form

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

Mergedryansolid(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/2456/headmerged 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 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.
    1. changeset-bot[bot](GitHub profile, opens in a new tab)commented

      🦋 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
      NameType
      @tanstack/form-devtoolsPatch
      @tanstack/solid-form-devtoolsPatch
      @tanstack/solid-formPatch
      @tanstack/react-form-devtoolsPatch
      @tanstack/angular-formPatch
      @tanstack/form-corePatch
      @tanstack/react-form-nextjsPatch
      @tanstack/react-form-remixPatch
      @tanstack/react-form-startPatch
      @tanstack/react-formPatch
      @tanstack/svelte-formPatch
      @tanstack/vue-formPatch
      @tanstack/lit-formPatch
      @tanstack/preact-formPatch

      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
      Review in Change Stack →

      Important

      Review skipped

      Review was skipped as selected files did not have any reviewable changes.

      Files ignored due to path filters: 1
      • pnpm-lock.yaml is 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.yaml is excluded by !**/pnpm-lock.yaml

      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 12eea6d647d5c5b5692bf42b389210dbe750ccc9 and bc1bb38a893a40e69c81470a48b6106b6038d71f.

      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 nameStatusExplanation
      Title checkPassedThe 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 checkPassedThe 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 CoveragePassedNo 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 checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck 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.
    3. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 00d84f916a064f8cfcde449ab3afcbd84f59273b

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded1m 59sView ↗
      nx run-many --target=build --exclude=examples/**✅ Succeeded<1sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-29 12:56:33 UTC

    4. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented
      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: 00d84f9

    5. codecov-commenter(GitHub profile, opens in a new tab)commented

      :warning: Please install the 'codecov app svg image' 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.
  • Sign in to join this conversation.