unstale

npm / @tanstack/react-table

@tanstack/react-table

What changed in @tanstack/react-table 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

59 breaking3 deprecations21 new APIs and options2 performance3 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@tanstack/react-table 990 changes

Breaking changes 59

  • Bundled Intent skills now use smaller entry points; consumers must replace retired feature or composition IDs and refresh Intent mappings.

    9.2.6release notes

  • AggregationFnDef replaces the callable AggregationFn and CreatedAggregationFn types.

    9.0.0release notes

  • The position argument uses end instead of right.

    9.0.0release notes

  • The accessor is plural because a column can run multiple aggregation definitions; it replaces column.getAggregationFn().

    9.0.0release notes

  • This method now takes one options object containing rows and maxDepth instead of positional arguments.

    9.0.0release notes

  • The automatic sorting accessor was renamed from column.getAutoSortingFn().

    9.0.0release notes

  • The sorting accessor was renamed from column.getSortingFn().

    9.0.0release notes

  • The position argument uses start instead of left.

    9.0.0release notes

  • Use start and end arguments instead of left and right when pinning columns.

    9.0.0release notes

  • ColumnMeta now takes TFeatures as its first generic parameter when extended through declaration merging.

    9.0.0release notes

  • Column pinning state uses logical start/end terminology instead of physical left/right terminology; there are no deprecated aliases.

    9.0.0release notes

  • Column pinning now uses start/end terminology, including columnPinning.start and the corresponding pin and getStart*/getEnd* APIs.

    9.0.0release notes

  • The resizing state replaces columnSizingInfo.

    9.0.0release notes

  • Rename columnSizingInfo state to columnResizing, along with related options.

    9.0.0release notes

  • Column sizing and interactive resizing are separate features; register columnResizingFeature alongside columnSizingFeature when drag-to-resize is needed.

    9.0.0release notes

  • Custom aggregation callables now use context-based definitions constructed with constructAggregationFn.

    9.0.0release notes

  • Pass TFeatures as the first generic parameter to createColumnHelper, before TData.

    9.0.0release notes

  • Factory for the expanded row model, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Factory for faceted minimum and maximum values, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Factory for the faceted row model, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Factory for faceted unique values, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Factory for the filtered row model, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Move get*RowModel() configuration to tableFeatures slots, such as filteredRowModel: createFilteredRowModel(); row model factories no longer take arguments.

    9.0.0release notes

  • Factory for the grouped row model, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Factory for the paginated row model, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • Factory for the sorted row model, registered on tableFeatures instead of as a separate table option.

    9.0.0release notes

  • The former enablePinning option is split into separate column- and row-pinning options.

    9.0.0release notes

  • Set this option to false to preserve the previous non-range handler behavior.

    9.0.0release notes

  • Packages ship as modern ESM; UMD and CJS builds have been dropped.

    9.0.0release notes

  • The useTable options require features to declare which features, row models, and processing functions the table uses.

    9.0.0release notes

  • Register custom filter functions in the feature registry slot; registered keys become valid string values without FilterFns augmentation.

    9.0.0release notes

  • Use the filterMeta feature slot to type filter metadata instead of augmenting FilterMeta globally.

    9.0.0release notes

  • Table state is no longer accessed through table.getState(); use table.state, table.store.state, or a state-slice atom instead.

    9.0.0release notes

  • This column option controls which depth is selected for context.rows; the default 0 preserves direct-child aggregation, while Infinity selects terminal leaf rows.

    9.0.0release notes

  • The change callback option replaces onColumnSizingInfoChange.

    9.0.0release notes

  • The table option is removed; subscribe to table.store for any state change. Individual on[State]Change handlers remain available.

    9.0.0release notes

  • The visible-cell accessor formerly named row.getLeftVisibleCells() is now row.getStartVisibleCells(); the right-side counterpart uses the end terminology.

    9.0.0release notes

  • When rowSelectionFeature is enabled, the handler now enables inclusive Shift range selection by default; set enableRowRangeSelection to false to retain non-range behavior.

    9.0.0release notes

  • Call row, cell, column, and header methods on their instances rather than destructuring those methods.

    9.0.0release notes

  • Aggregation is now independent from column grouping; explicitly register this feature when columns use aggregation APIs or definitions.

    9.0.0release notes

  • RowData is now restricted to Record<string, any> or Array<any>, so unusual data types must conform to one of these shapes.

    9.0.0release notes

  • Use setColumnResizing() instead of setColumnSizingInfo().

    9.0.0release notes

  • The column definition option sortingFn was renamed to sortFn; update column definitions accordingly.

    9.0.0release notes

  • The SortingFn type was renamed to SortFn.

    9.0.0release notes

  • The SortingFns interface was renamed to SortFns.

    9.0.0release notes

  • The built-in sorting functions are now exposed as sortFns instead of sortingFns.

    9.0.0release notes

  • Register sort functions in the feature registry slot so their keys can be used as sortFn string values.

    9.0.0release notes

  • Published packages no longer include source files or source maps, reducing install footprint.

    9.0.0release notes

  • This internal API has been removed.

    9.0.0release notes

  • This internal API has been removed.

    9.0.0release notes

  • This internal API has been removed.

    9.0.0release notes

  • This internal API has been removed.

    9.0.0release notes

  • This check now means at least one page row is selected, including when all page rows are selected.

    9.0.0release notes

  • This check now means at least one row is selected, including when all rows are selected; gate indeterminate state with the all-selected check.

    9.0.0release notes

  • Header-group accessors now use start/end instead of left/right terminology.

    9.0.0release notes

  • Access state through table.store.state or table.state instead of table.getState().

    9.0.0release notes

  • Creates the features configuration where features, row models, and processing function registries are registered.

    9.0.0release notes

  • Most types now take TFeatures as a generic parameter, changing their type argument shapes.

    9.0.0release notes

  • Replaces useReactTable as the React hook for creating a table.

    9.0.0release notes

Deprecations 3

  • The full registry export is deprecated in favor of importing and registering only the individual aggregation functions used.

    9.0.0release notes

  • The full registry export is deprecated in favor of importing and registering only the individual filter functions used.

    9.0.0release notes

  • The full registry export is deprecated in favor of importing and registering only the individual sort functions used.

    9.0.0release notes

New APIs and options 21

  • Register aggregation functions in the feature registry slot so their keys can be used as aggregationFn string values.

    9.0.0release notes

  • Lets callers provide writable atoms for state slices they want to own externally.

    9.0.0release notes

  • Adds spreadsheet-style rectangular cell-range selection, including dragging, Shift-extend, and multiple disjoint ranges.

    9.0.0release notes

  • Adds body-cell spanning across rows and columns, with span-aware cell selection.

    9.0.0release notes

  • Wrap column arrays with this helper to preserve individual TValue types, including through nested group columns.

    9.0.0release notes

  • A type-only columnMeta slot on the features option declares column meta types per table without global declaration merging.

    9.0.0release notes

  • Creates custom table hooks with pre-bound features and components for reusable application-level table patterns.

    9.0.0release notes

  • A component-based rendering alternative accepts header, cell, or footer props; the existing flexRender function continues to work.

    9.0.0release notes

  • Header groups compute rowSpan so shallow columns can span header rows.

    9.0.0release notes

  • Includes all features for Table V8-like behavior without requiring individual feature imports.

    9.0.0release notes

  • Use StockFeatures as the feature type when using stockFeatures with useTable.

    9.0.0release notes

  • Exposes readonly atoms for individual state slices to enable fine-grained subscriptions.

    9.0.0release notes

  • The table instance exposes a component-based renderer for headers, cells, and footers.

    9.0.0release notes

  • Provides the selected table state; by default it contains the full registered state.

    9.0.0release notes

  • Exposes a framework-agnostic store for reading and subscribing to the entire table state.

    9.0.0release notes

  • Enables fine-grained reactive subscriptions to selected table state and limits re-renders to changes in those slices.

    9.0.0release notes

  • A type-only tableMeta slot on the features option declares meta types per table without global declaration merging.

    9.0.0release notes

  • Provides a way to compose reusable table configuration, including features, row models, and default options.

    9.0.0release notes

  • This utility provides type-safe composition of table options and supports partial configurations that omit required fields.

    9.0.0release notes

  • Legacy-specific APIs are imported from a separate package export.

    9.0.0release notes

  • A temporary migration hook accepts the Table V8-style API while using Table V9 under the hood; it includes all features by default.

    9.0.0release notes

Performance 2

  • The core architecture shares more behavior across table objects, with some large-table scenarios seeing up to 90% memory savings.

    9.0.0release notes

  • Sorting, filtering, and aggregation paths use improved algorithms and memoization, with many scenarios seeing 40–70% speed improvements.

    9.0.0release notes

Behavior and default changes 3

  • This cell lookup is now public; it replaces the private row._getAllCellsByColumnId().

    9.0.0release notes

  • TanStack Table v9 is now a stable release; developers should follow the framework-specific migration guide for upgrade instructions.

    9.0.0release notes

  • Compiled output now targets ES2022.

    9.0.0release notes

Fixes and other changes 2

  • Consumers now receive refreshed table context when useAppTable renders with new options or state, preventing stale rows after cached AppTable data changes.

    9.3.1release notes

  • Column definitions now accept built-in filterFn, sortFn, and aggregationFn names matching the registries registered by useLegacyTable.

    9.0.1release notes