Skip to content
Source
Sign inSign up
TanStack/table

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

Openryansolid(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/6643/headopened

🎯 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 the Solid version requirements for Solid Table and Solid Table Devtools to specify supported Solid 1 versions. The packages no longer declare compatibility with later major versions.
  • Release
    • Patch releases are planned for both packages with this compatibility update.
    1. 🦋 Changeset detected

      Latest commit: a5fecc4dc5b97202b5f5deb510e97612ce94691c

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

      This PR includes changesets to release 2 packages
      NameType
      @tanstack/solid-table-devtoolsPatch
      @tanstack/solid-tablePatch

      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 →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      Commits

      Reviewing files that changed from the base of the PR and between c14e0221b1e656c7bb35e7b3d4cdf188719a3599 and a5fecc4dc5b97202b5f5deb510e97612ce94691c.

      Files selected for processing: 3
      • .changeset/solid-js-peer-cap.md
      • packages/solid-table-devtools/package.json
      • packages/solid-table/package.json

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

      Walkthrough

      Both Solid Table package manifests now cap their solid-js peer dependency ranges at major version 1. A changeset requests patch releases for both packages.

      Changes: Solid peer dependency range

      Layer / File(s)Summary
      Cap peer ranges and record releases
      packages/solid-table-devtools/package.json, packages/solid-table/package.json, .changeset/solid-js-peer-cap.md
      The manifests change the solid-js peer ranges to ^1.9.7 and ^1.3. The changeset requests patch releases for both packages.
      Priority: Normal

      Estimated code review effort: 1 (Trivial) | ~5 minutes

      Change: Bug fix

      Suggested reviewers: kevinvandy

      Merge Risk: Minimal · up to a5fec

      The dependency caps and release metadata are consistent with the stated Solid 1 compatibility change.

      Pre-merge checks: Passed 5
      Check nameStatusExplanation
      Title checkPassedThe title clearly and concisely describes the main change: limiting the Solid packages' solid-js peer dependency to version 1.
      Description checkPassedThe description explains the problem, the motivation, the dependency changes, and the changeset. It includes a checklist section, but it omits the required Release Impact section and two checklist ite…
      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: Description check

      Explanation

      The description explains the problem, the motivation, the dependency changes, and the changeset. It includes a checklist section, but it omits the required Release Impact section and two checklist items from the template.

      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. (3 skipped: 3 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.

Sign in to join this conversation.