Skip to content

fix(adapters): Deprecate Solid and Vue table.Subscribe - #6615

Merged
KevinVandy merged 1 commit into
mainfrom
fix-solid-vue-subscribe-deprecation
Oct 7, 2026
Merged

KevinVandy merged 1 commit into
mainfrom
fix-solid-vue-subscribe-deprecation

Conversation

@KevinVandy

@KevinVandy KevinVandy commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

🎯 Changes

  • Deprecate table.Subscribe in Solid and Vue. Both wrappers only pass atoms to a callback; native framework tracking supplies reactivity. Preserve their runtime behavior for compatibility.
  • Replace Solid spreadsheet usage and update API docs, guides, and bundled skills to use native reactive reads. Explain how Vue users can preserve a component render boundary with a child component.
  • Add patch changesets for both adapters. Verified with pnpm build, pnpm test, pnpm test:e2e, pnpm test:skills, and formatting checks.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm test and pnpm test:e2e, 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).

Summary by CodeRabbit

  • Documentation
    • Marked table.Subscribe as deprecated in the Solid and Vue adapters; it remains available for compatibility but does not create a reactive subscription or tracking scope.
    • Updated guides, references, and migration materials to recommend reading table APIs or atoms in framework-native reactive contexts. Use a child component when a separate render boundary is needed.
    • Updated Solid examples to read table state directly.

@changeset-bot

changeset-bot Bot commented Oct 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8712031

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

This PR includes changesets to release 2 packages
Name Type
@tanstack/solid-table Patch
@tanstack/vue-table 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

@nx-cloud

nx-cloud Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 8712031

Command Status Duration Result
nx affected --targets=test:eslint,test:sherif,t... ✅ Succeeded 4m 34s View ↗
nx run-many --targets=build --exclude=examples/** ✅ Succeeded 35s View ↗

☁️ Nx Cloud last updated this comment at 2026-10-06 20:56:28 UTC

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: TanStack/table/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0da79882-eea3-410f-b1a5-53f1e134f956
📥 Commits

Reviewing files that changed from the base of the PR and between 2df4cf3 and 8712031.

📒 Files selected for processing (37)
  • .changeset/mighty-pans-arrive.md
  • .changeset/whole-horses-sink.md
  • docs/framework/solid/guide/column-filtering.md
  • docs/framework/solid/guide/global-filtering.md
  • docs/framework/solid/guide/migrating.md
  • docs/framework/solid/guide/pagination.md
  • docs/framework/solid/guide/row-selection.md
  • docs/framework/solid/guide/sorting.md
  • docs/framework/solid/guide/table-state.md
  • docs/framework/solid/reference/functions/createTable.md
  • docs/framework/solid/reference/functions/createTableHook.md
  • docs/framework/solid/reference/interfaces/AppTableComponent.md
  • docs/framework/solid/reference/type-aliases/SolidTable.md
  • docs/framework/vue/guide/cell-selection.md
  • docs/framework/vue/guide/column-faceting.md
  • docs/framework/vue/guide/column-filtering.md
  • docs/framework/vue/guide/column-resizing.md
  • docs/framework/vue/guide/global-filtering.md
  • docs/framework/vue/guide/migrating.md
  • docs/framework/vue/guide/pagination.md
  • docs/framework/vue/guide/row-selection.md
  • docs/framework/vue/guide/sorting.md
  • docs/framework/vue/guide/table-state.md
  • docs/framework/vue/reference/functions/useTable.md
  • docs/framework/vue/reference/type-aliases/VueTable.md
  • examples/solid/spreadsheet/src/Spreadsheet.tsx
  • packages/solid-table/skills/migrate-v8-to-v9/SKILL.md
  • packages/solid-table/skills/migrate-v8-to-v9/references/adapter-migration.md
  • packages/solid-table/skills/table-state/SKILL.md
  • packages/solid-table/src/createTable.ts
  • packages/solid-table/src/createTableHook.tsx
  • packages/vue-table/skills/getting-started/references/create-table-hook.md
  • packages/vue-table/skills/migrate-v8-to-v9/SKILL.md
  • packages/vue-table/skills/migrate-v8-to-v9/references/adapter-migration.md
  • packages/vue-table/skills/table-state/SKILL.md
  • packages/vue-table/skills/table-state/references/reactivity.md
  • packages/vue-table/src/useTable.ts

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

Walkthrough

The Solid and Vue adapters now document table.Subscribe as deprecated while retaining it for compatibility. The guides and migration materials direct reactive atom reads to framework-native tracking contexts. The Solid spreadsheet example replaces Subscribe wrappers with direct atom reads.

Changes

Solid adapter

Layer / File(s) Summary
Solid API and usage guidance
packages/solid-table/src/*, docs/framework/solid/reference/*, docs/framework/solid/guide/*, packages/solid-table/skills/*
The documentation marks table.Subscribe as deprecated and describes it as providing no subscription or tracking scope. It directs atom reads to JSX, createMemo, or createEffect. Examples use direct atom reads, including the spreadsheet formula bar and selection summary.
Solid release note
.changeset/mighty-pans-arrive.md
Adds a patch changeset describing the deprecation, compatibility retention, and replacement guidance.

Vue adapter

Layer / File(s) Summary
Vue API and usage guidance
packages/vue-table/src/useTable.ts, docs/framework/vue/reference/*, docs/framework/vue/guide/*, packages/vue-table/skills/*
The documentation marks table.Subscribe as deprecated and describes it as adding no subscription logic. It directs atom reads to templates, render functions, computed values, or watcher sources, and recommends child components for separate render boundaries.
Vue release note
.changeset/whole-horses-sink.md
Adds a patch changeset describing the deprecation, compatibility retention, and replacement guidance.

Priority: ⬇️ Low

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

Change: Other

Merge Risk: ⚪ Minimal · up to 87120

The spreadsheet footer remains reactive after the wrapper is removed. No identified issue prevents merging.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 4 files. (33 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: deprecating table.Subscribe in the Solid and Vue adapters.
Description check ✅ Passed The description explains the change and motivation, completes the checklist, reports tests, and identifies the release impact with changesets for both adapters.
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: Docstring Coverage

Explanation

Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 4 files. (33 skipped: 33 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · 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.

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

2 package(s) bumped directly, 0 bumped as dependents.

🟩 Patch bumps

Package Version Reason
@tanstack/solid-table 9.2.6 → 9.2.7 Changeset
@tanstack/vue-table 9.2.6 → 9.2.7 Changeset

@pkg-pr-new

pkg-pr-new Bot commented Oct 6, 2026

Copy link
Copy Markdown
More templates

@tanstack/alpine-table

npm i https://pkg.pr.new/@tanstack/alpine-table@6615

@tanstack/angular-table

npm i https://pkg.pr.new/@tanstack/angular-table@6615

@tanstack/angular-table-devtools

npm i https://pkg.pr.new/@tanstack/angular-table-devtools@6615

@tanstack/ember-table

npm i https://pkg.pr.new/@tanstack/ember-table@6615

@tanstack/lit-table

npm i https://pkg.pr.new/@tanstack/lit-table@6615

@tanstack/match-sorter-utils

npm i https://pkg.pr.new/@tanstack/match-sorter-utils@6615

@tanstack/octane-table

npm i https://pkg.pr.new/@tanstack/octane-table@6615

@tanstack/preact-table

npm i https://pkg.pr.new/@tanstack/preact-table@6615

@tanstack/preact-table-devtools

npm i https://pkg.pr.new/@tanstack/preact-table-devtools@6615

@tanstack/react-table

npm i https://pkg.pr.new/@tanstack/react-table@6615

@tanstack/react-table-devtools

npm i https://pkg.pr.new/@tanstack/react-table-devtools@6615

@tanstack/solid-table

npm i https://pkg.pr.new/@tanstack/solid-table@6615

@tanstack/solid-table-devtools

npm i https://pkg.pr.new/@tanstack/solid-table-devtools@6615

@tanstack/svelte-table

npm i https://pkg.pr.new/@tanstack/svelte-table@6615

@tanstack/table-core

npm i https://pkg.pr.new/@tanstack/table-core@6615

@tanstack/table-devtools

npm i https://pkg.pr.new/@tanstack/table-devtools@6615

@tanstack/vue-table

npm i https://pkg.pr.new/@tanstack/vue-table@6615

@tanstack/vue-table-devtools

npm i https://pkg.pr.new/@tanstack/vue-table-devtools@6615

commit: 8712031

@KevinVandy
KevinVandy merged commit ce5b45c into main Oct 7, 2026
11 checks passed
@KevinVandy
KevinVandy deleted the fix-solid-vue-subscribe-deprecation branch October 7, 2026 15:39
@github-actions github-actions Bot mentioned this pull request Oct 7, 2026
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.

1 participant