Skip to content
Source
Sign inSign up
TanStack/table

chore(octane-table): Upgrade to octane 0.12 and octane-store 0.13 #6627

MergedKevinVandymerged 1 commit intomain fromrefs/pull/6627/headmerged by KevinVandy

KevinVandycommented
  • Peer range for octane goes from 0.1.21 to >=0.12.0. It's open-ended because octane ships a new minor every few days. @tanstack/octane-store goes to ^0.13.0.
  • AppTable, AppCell and AppHeader in createTableHook.tsrx render their contexts directly (<TableContext value>), since octane 0.12 removed Context.Provider. The table-context doc example is updated to match.
  • @tsrx/oxc@0.20.0 is a new dev dependency of the adapter and the octane examples. Octane 0.12 made it an optional peer of the compiler.
  • One conformance test now awaits a microtask after .click(). Octane 0.12 commits a click's updates in the microtask after the event, as React does, so asserting synchronously inside the event no longer holds. A plain useState counter shows the same timing.
  • Removes an unused PaginationState import in the composable-tables example that failed test:types.
  • pnpm-workspace.yaml exempts octane@0.12.1 and @tanstack/octane-store@0.13.0 from the 24-hour release-age gate. Both were published today.

Notes

The changeset is minor because the peer range narrows on 0.x octane.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Compatibility

    • Updated the table integration and examples to support Octane 0.12 and later.
    • Contexts continue to be provided to table, cell, header, and footer components using the current Octane API.
  • Documentation

    • Updated the table-context guide to use the current context API.
  • Bug Fixes

    • Improved the reliability of an adapter reactivity check for controlled pagination updates.
    1. 🦋 Changeset detected

      Latest commit: 72b00f04b5fa1c94c29fac3bf636739c470bbe19

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

      This PR includes changesets to release 1 package
      NameType
      @tanstack/octane-tableMinor

      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
      • Configuration used: Repository: TanStack/table/.coderabbit.yaml
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 4294e72d-957b-4be4-abb6-cd009764cd40

      📥 Commits

      Reviewing files that changed from the base of the PR and between d8ae30bcfe8665ef43d7557f4a492e0caa6f9c40 and 72b00f04b5fa1c94c29fac3bf636739c470bbe19.


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

      📒 Files selected for processing (40)
      • .changeset/octane-table-octane-0-12.md
      • docs/framework/octane/guide/table-context.md
      • examples/octane/aggregation/package.json
      • examples/octane/basic-dynamic-columns/package.json
      • examples/octane/basic-external-atoms/package.json
      • examples/octane/basic-external-state/package.json
      • examples/octane/basic-subscribe/package.json
      • examples/octane/basic-use-app-table/package.json
      • examples/octane/basic-use-table/package.json
      • examples/octane/cell-spanning/package.json
      • examples/octane/column-ordering/package.json
      • examples/octane/column-pinning-split/package.json
      • examples/octane/column-pinning-sticky/package.json
      • examples/octane/column-pinning/package.json
      • examples/octane/column-resizing-performant/package.json
      • examples/octane/column-resizing/package.json
      • examples/octane/column-sizing/package.json
      • examples/octane/column-visibility/package.json
      • examples/octane/composable-tables/package.json
      • examples/octane/composable-tables/src/components/table-components.tsrx
      • examples/octane/custom-plugin/package.json
      • examples/octane/expanding/package.json
      • examples/octane/filters-faceted-bucketed/package.json
      • examples/octane/filters-faceted/package.json
      • examples/octane/filters-fuzzy/package.json
      • examples/octane/filters/package.json
      • examples/octane/grouped-aggregation/package.json
      • examples/octane/grouping/package.json
      • examples/octane/header-groups/package.json
      • examples/octane/kitchen-sink/package.json
      • examples/octane/pagination/package.json
      • examples/octane/realtime-trading/package.json
      • examples/octane/row-pinning/package.json
      • examples/octane/row-selection/package.json
      • examples/octane/sorting/package.json
      • examples/octane/sub-components/package.json
      • packages/octane-table/package.json
      • packages/octane-table/src/createTableHook.tsrx
      • packages/octane-table/tests/conformance/adapter-reactivity.test.ts
      • pnpm-workspace.yaml

      💤 Files with no reviewable changes (1)
      • examples/octane/composable-tables/src/components/table-components.tsrx

      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 Octane table package and examples update their Octane dependencies. Table components and the guide example now use context components with value props. The conformance test waits one microtask before checking the update.

      Changes

      Octane compatibility

      Layer / File(s)Summary
      Update Octane dependencies
      examples/octane/*/package.json, examples/octane/composable-tables/src/components/table-components.tsrx, packages/octane-table/package.json, pnpm-workspace.yaml
      Examples and the table package update Octane and Octane Store versions. Several examples add @tsrx/oxc. The workspace excludes the specified package versions from the minimum release-age policy.
      Migrate context providers
      packages/octane-table/src/createTableHook.tsrx, packages/octane-table/tests/conformance/adapter-reactivity.test.ts, docs/framework/octane/guide/table-context.md, .changeset/octane-table-octane-0-12.md
      Table components and the guide example use context components with value props instead of .Provider. The conformance test waits one microtask after the click. A minor changeset records the version requirements and provider update.

      Priority: ➖ Normal

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

      Change: Other

      Suggested reviewers: riccardoperra


      Merge Risk: ⚪ Minimal · up to 72b00

      The context migration and click-update timing match the resolved Octane implementation, and the example tooling dependency is declared. No concrete compatibility or installation issue remains evident.

      Pre-merge checks | Passed 4 | Failed 1

      ❌ Failed checks (1 warning)

      Check nameStatusExplanationResolution
      Description checkWarningThe description explains the code, dependency, documentation, test, and workspace changes. However, it does not use the required template sections and does not complete the checklist for contributing …Update the description to include the required Changes, Checklist, and Release Impact sections. Mark each checklist item as complete or explain why it does not apply. Confirm whether tests were run or are not applicable, confirm contributin…
      ✅ Passed checks (4 passed)
      Check nameStatusExplanation
      Title checkPassedThe title clearly summarizes the primary change: upgrading the Octane table adapter to Octane 0.12 and octane-store 0.13.
      Docstring CoveragePassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
      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 code, dependency, documentation, test, and workspace changes. However, it does not use the required template sections and does not complete the checklist for contributing guidance, test execution or applicability, and AI-assisted code review. It also does not explicitly select the release-impact option.

      Resolution

      Update the description to include the required Changes, Checklist, and Release Impact sections. Mark each checklist item as complete or explain why it does not apply. Confirm whether tests were run or are not applicable, confirm contributing-guide compliance, confirm understanding of AI-assisted code, and select the appropriate release-impact option.



      • Fix all pre-merge checks with AI
      ✨ Finishing Touches
      📝 Generate docstrings
      • Commit to this branch
      • Create a new PR

      🧪 Generate unit tests (beta)
      • Commit to this branch
      • 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 72b00f04b5fa1c94c29fac3bf636739c470bbe19

      CommandStatusDurationResult
      nx affected --targets=test:eslint,test:sherif,t...✅ Succeeded5m 13sView ↗
      nx run-many --targets=build --exclude=examples/**✅ Succeeded39sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-09 23:45:06 UTC

    4. 🚀 Changeset Version Preview

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

      🟨 Minor bumps

      PackageVersionReason
      @tanstack/octane-table9.2.8 → 9.3.0Changeset
    5. Review the following changes in direct dependencies. Learn more about Socket for GitHub.

      Diff Package Supply Chain
      Security
      Vulnerability Quality Maintenance License
      Updated@​tanstack/​octane-store@​0.12.3 ⏵ 0.13.0751006693100
      Added@​tsrx/​oxc@​0.20.0891001009780
      Updatedoctane@​0.1.36 ⏵ 0.12.195 +6100100 +1199 +280 -19

      View full report

    6. More templates

      @tanstack/alpine-table

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

      @tanstack/angular-table

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

      @tanstack/angular-table-devtools

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

      @tanstack/ember-table

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

      @tanstack/lit-table

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

      @tanstack/match-sorter-utils

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

      @tanstack/octane-table

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

      @tanstack/preact-table

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

      @tanstack/preact-table-devtools

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

      @tanstack/react-table

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

      @tanstack/react-table-devtools

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

      @tanstack/solid-table

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

      @tanstack/solid-table-devtools

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

      @tanstack/svelte-table

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

      @tanstack/table-core

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

      @tanstack/table-devtools

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

      @tanstack/vue-table

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

      @tanstack/vue-table-devtools

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

      commit: 72b00f0

    7. KevinVandy merged this47733cb

    8. KevinVandy closed this

Sign in to join this conversation.