Skip to content

Commit 2327f80

Browse files
release v9 (#6512)
* release v9 * update docs for v9 stable * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 9e523bc commit 2327f80

60 files changed

Lines changed: 346 additions & 477 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/v9-stable-release.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@tanstack/table-core': major
3+
'@tanstack/table-devtools': major
4+
'@tanstack/alpine-table': major
5+
'@tanstack/angular-table': major
6+
'@tanstack/angular-table-devtools': major
7+
'@tanstack/ember-table': major
8+
'@tanstack/lit-table': major
9+
'@tanstack/octane-table': major
10+
'@tanstack/preact-table': major
11+
'@tanstack/preact-table-devtools': major
12+
'@tanstack/react-table': major
13+
'@tanstack/react-table-devtools': major
14+
'@tanstack/solid-table': major
15+
'@tanstack/solid-table-devtools': major
16+
'@tanstack/svelte-table': major
17+
'@tanstack/vue-table': major
18+
'@tanstack/vue-table-devtools': major
19+
'@tanstack/match-sorter-utils': major
20+
---
21+
22+
TanStack Table v9 stable release. See the "Migrating to V9" guide for your framework (e.g. [React](https://tanstack.com/table/latest/docs/framework/react/guide/migrating)) for upgrade instructions.

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: GitHub Actions Security Analysis
22

33
on:
44
push:
5-
branches: [alpha]
5+
branches: [main]
66
pull_request:
77
branches: ['**']
88

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@
4747
> [!NOTE]
4848
> You may know TanStack Table by the adapter names:
4949
>
50-
> - [Angular Table](https://tanstack.com/table/alpha/docs/framework/angular/angular-table)
51-
> - [Lit Table](https://tanstack.com/table/alpha/docs/framework/lit/lit-table)
52-
> - [Octane Table](https://tanstack.com/table/beta/docs/framework/octane/quick-start)
53-
> - [Preact Table](https://tanstack.com/table/beta/docs/framework/preact/quick-start)
54-
> - [React Table](https://tanstack.com/table/alpha/docs/framework/react/react-table)
55-
> - [Solid Table](https://tanstack.com/table/alpha/docs/framework/solid/solid-table)
56-
> - [Svelte Table](https://tanstack.com/table/alpha/docs/framework/svelte/svelte-table)
57-
> - [Vue Table](https://tanstack.com/table/alpha/docs/framework/vue/vue-table)
58-
> - [Alpine Table](https://tanstack.com/table/alpha/docs/framework/alpine/alpine-table)
59-
> - [Ember Table](https://tanstack.com/table/alpha/docs/framework/ember/ember-table)
50+
> - [Angular Table](https://tanstack.com/table/latest/docs/framework/angular/angular-table)
51+
> - [Lit Table](https://tanstack.com/table/latest/docs/framework/lit/lit-table)
52+
> - [Octane Table](https://tanstack.com/table/latest/docs/framework/octane/quick-start)
53+
> - [Preact Table](https://tanstack.com/table/latest/docs/framework/preact/quick-start)
54+
> - [React Table](https://tanstack.com/table/latest/docs/framework/react/react-table)
55+
> - [Solid Table](https://tanstack.com/table/latest/docs/framework/solid/solid-table)
56+
> - [Svelte Table](https://tanstack.com/table/latest/docs/framework/svelte/svelte-table)
57+
> - [Vue Table](https://tanstack.com/table/latest/docs/framework/vue/vue-table)
58+
> - [Alpine Table](https://tanstack.com/table/latest/docs/framework/alpine/alpine-table)
59+
> - [Ember Table](https://tanstack.com/table/latest/docs/framework/ember/ember-table)
6060
6161
A headless table library for building powerful datagrids with full control over markup, styles, and behavior.
6262

docs/devtools.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,18 @@ The table devtools let you inspect registered table instances, switch between mu
1414

1515
Install the TanStack Devtools host package and the Table adapter for your framework.
1616

17-
> [!IMPORTANT]
18-
> While TanStack Table v9 is in beta, the table devtools adapters must be installed with the `@beta` tag. Installing without the tag resolves to the old v8 devtools, which have a completely different API.
19-
2017
<!-- ::start:framework -->
2118

2219
# React
2320

2421
```sh
25-
npm install @tanstack/react-devtools @tanstack/react-table-devtools@beta
22+
npm install @tanstack/react-devtools @tanstack/react-table-devtools
2623
```
2724

2825
# Preact
2926

3027
```sh
31-
npm install @tanstack/preact-devtools @tanstack/preact-table-devtools@beta
28+
npm install @tanstack/preact-devtools @tanstack/preact-table-devtools
3229
```
3330

3431
# Octane
@@ -38,19 +35,19 @@ There is not currently a dedicated Octane Table Devtools adapter.
3835
# Vue
3936

4037
```sh
41-
npm install @tanstack/vue-devtools @tanstack/vue-table-devtools@beta
38+
npm install @tanstack/vue-devtools @tanstack/vue-table-devtools
4239
```
4340

4441
# Solid
4542

4643
```sh
47-
npm install @tanstack/solid-devtools @tanstack/solid-table-devtools@beta
44+
npm install @tanstack/solid-devtools @tanstack/solid-table-devtools
4845
```
4946

5047
# Angular
5148

5249
```sh
53-
npm install @tanstack/angular-devtools @tanstack/angular-table-devtools@beta
50+
npm install @tanstack/angular-devtools @tanstack/angular-table-devtools
5451
```
5552

5653
<!-- ::end:framework -->

docs/framework/alpine/guide/custom-features.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,19 +120,19 @@ This might be a bit confusing, so let's break down what each of these methods do
120120

121121
#### getDefaultTableOptions
122122

123-
The `getDefaultTableOptions` method in a table feature is responsible for setting the default table options for that feature. For example, in the [Column Resizing](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/column-resizing/columnResizingFeature.ts) feature, the `getDefaultTableOptions` method sets the default `columnResizeMode` option with a default value of `"onEnd"`.
123+
The `getDefaultTableOptions` method in a table feature is responsible for setting the default table options for that feature. For example, in the [Column Resizing](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/column-resizing/columnResizingFeature.ts) feature, the `getDefaultTableOptions` method sets the default `columnResizeMode` option with a default value of `"onEnd"`.
124124

125125
<br />
126126

127127
#### getDefaultColumnDef
128128

129-
The `getDefaultColumnDef` method in a table feature is responsible for setting the default column options for that feature. For example, in the [Sorting](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/row-sorting/rowSortingFeature.ts) feature, the `getDefaultColumnDef` method sets the default `sortUndefined` column option with a default value of `1`.
129+
The `getDefaultColumnDef` method in a table feature is responsible for setting the default column options for that feature. For example, in the [Sorting](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-sorting/rowSortingFeature.ts) feature, the `getDefaultColumnDef` method sets the default `sortUndefined` column option with a default value of `1`.
130130

131131
<br />
132132

133133
#### getInitialState
134134

135-
The `getInitialState` method in a table feature is responsible for setting the default state for that feature. For example, in the [Pagination](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/row-pagination/rowPaginationFeature.ts) feature, the `getInitialState` method sets the default `pageSize` state with a value of `10` and the default `pageIndex` state with a value of `0`.
135+
The `getInitialState` method in a table feature is responsible for setting the default state for that feature. For example, in the [Pagination](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-pagination/rowPaginationFeature.ts) feature, the `getInitialState` method sets the default `pageSize` state with a value of `10` and the default `pageIndex` state with a value of `0`.
136136

137137
### API Creators
138138

@@ -150,13 +150,13 @@ Keep API assignment in `constructTableAPIs`; initialization and reset hooks are
150150

151151
#### constructTableAPIs
152152

153-
The `constructTableAPIs` method in a table feature is exclusively responsible for adding methods to the `table` instance. It runs after all feature-owned table instance data has been initialized. For example, in the [Row Selection](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/row-selection/rowSelectionFeature.ts) feature, the `constructTableAPIs` method adds many table instance API methods such as `toggleAllRowsSelected`, `getIsAllRowsSelected`, `getIsSomeRowsSelected`, etc. So then, when you call `table.toggleAllRowsSelected()`, you are calling a method that was added to the table instance by the `rowSelectionFeature` feature.
153+
The `constructTableAPIs` method in a table feature is exclusively responsible for adding methods to the `table` instance. It runs after all feature-owned table instance data has been initialized. For example, in the [Row Selection](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-selection/rowSelectionFeature.ts) feature, the `constructTableAPIs` method adds many table instance API methods such as `toggleAllRowsSelected`, `getIsAllRowsSelected`, `getIsSomeRowsSelected`, etc. So then, when you call `table.toggleAllRowsSelected()`, you are calling a method that was added to the table instance by the `rowSelectionFeature` feature.
154154

155155
<br />
156156

157157
#### assignHeaderPrototype and initHeaderInstanceData
158158

159-
The `assignHeaderPrototype` method in a table feature is responsible for adding methods to the shared `header` prototype. For example, the [Column Sizing](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/column-sizing/columnSizingFeature.ts) feature adds header instance API methods such as `getStart`. So then, when you call `header.getStart()`, you are calling a method that was added by the column sizing feature. The `initHeaderInstanceData` method is available for per-header instance data or caches that cannot live on the shared prototype. It runs during header construction, before sub-headers are populated and before the header is linked to its header group. Headers are reconstructed whenever header groups recompute, so it reruns on every rebuild.
159+
The `assignHeaderPrototype` method in a table feature is responsible for adding methods to the shared `header` prototype. For example, the [Column Sizing](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/column-sizing/columnSizingFeature.ts) feature adds header instance API methods such as `getStart`. So then, when you call `header.getStart()`, you are calling a method that was added by the column sizing feature. The `initHeaderInstanceData` method is available for per-header instance data or caches that cannot live on the shared prototype. It runs during header construction, before sub-headers are populated and before the header is linked to its header group. Headers are reconstructed whenever header groups recompute, so it reruns on every rebuild.
160160

161161
<br />
162162

@@ -168,13 +168,13 @@ The `initHeaderGroupInstanceData` method is available for per-header-group insta
168168

169169
#### assignColumnPrototype and initColumnInstanceData
170170

171-
The `assignColumnPrototype` method in a table feature is responsible for adding methods to the shared `column` prototype. For example, the [Sorting](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/row-sorting/rowSortingFeature.ts) feature adds column instance API methods such as `getNextSortingOrder`, `toggleSorting`, etc. So then, when you call `column.toggleSorting()`, you are calling a method that was added by the row sorting feature. The `initColumnInstanceData` method is available for per-column instance data or caches that cannot live on the shared prototype. For example, the [Aggregation](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/row-aggregation/rowAggregationFeature.ts) feature uses it to set up a per-column aggregation cache.
171+
The `assignColumnPrototype` method in a table feature is responsible for adding methods to the shared `column` prototype. For example, the [Sorting](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-sorting/rowSortingFeature.ts) feature adds column instance API methods such as `getNextSortingOrder`, `toggleSorting`, etc. So then, when you call `column.toggleSorting()`, you are calling a method that was added by the row sorting feature. The `initColumnInstanceData` method is available for per-column instance data or caches that cannot live on the shared prototype. For example, the [Aggregation](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/rowAggregationFeature.ts) feature uses it to set up a per-column aggregation cache.
172172

173173
<br />
174174

175175
#### assignRowPrototype and initRowInstanceData
176176

177-
The `assignRowPrototype` method in a table feature is responsible for adding methods to the shared `row` prototype. The `initRowInstanceData` method is available for per-row instance data or caches that cannot live on the shared prototype. For example, the [Row Selection](https://github.com/TanStack/table/blob/beta/packages/table-core/src/features/row-selection/rowSelectionFeature.ts) feature adds row instance API methods such as `toggleSelected` and `getIsSelected`.
177+
The `assignRowPrototype` method in a table feature is responsible for adding methods to the shared `row` prototype. The `initRowInstanceData` method is available for per-row instance data or caches that cannot live on the shared prototype. For example, the [Row Selection](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-selection/rowSelectionFeature.ts) feature adds row instance API methods such as `toggleSelected` and `getIsSelected`.
178178

179179
<br />
180180

docs/framework/alpine/quick-start.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ TanStack Table is a headless table library. It manages your table's state and lo
66

77
## Installation
88

9-
TanStack Table v9 is currently published under the `beta` tag:
10-
119
```bash
12-
npm install @tanstack/alpine-table@beta alpinejs
10+
npm install @tanstack/alpine-table alpinejs
1311
```
1412

1513
The `@tanstack/alpine-table` package works with Alpine 3.

0 commit comments

Comments
 (0)