0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
Commit graph

52 commits

Author SHA1 Message Date
Kevin Van Cott
ff436663f8
refactor(table-core): centralize no-op state update guarding in setStateSlice (#6532)
* refactor(table-core): centralize no-op state update guarding in setStateSlice

Route every table.setX state router through a single setStateSlice util
that resolves the updater once against the slice's current value,
structurally compares the result, and skips the onXChange handler
entirely when nothing changed. This removes the class of render loops
where auto resets fired change handlers with freshly allocated but
semantically identical values (e.g. autoResetExpanded after a data
reference change), and deletes the scattered ad-hoc guards that
previously protected individual slices.

For uncontrolled slices the default handler receives the pre-resolved
value, so updaters run exactly once. User handlers and externally owned
slices receive the original updater untouched to preserve functional
update composition and independent base-atom fallback semantics.

Supersedes #6519.

Co-Authored-By: Dmitrii Kartashev <dikartashev@gmail.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix test and regen docs

* add date filters to filter examples

* omit row selection from new check

* auto fix lint issues

* ci: apply automated fixes

* format

* lint fix

* uncomment

* address stale updater bug, simplify

* still skip autoResetPageIndex in controlled state scenarios

* regen docs again

* refactor(table-core): make stateSlicesEqual the setStateSlice default, call unguarded handlers directly

setStateSlice now always guards, with isEqual as an override hook for
custom feature slices. Slices that deliberately skip guarding
(rowSelection, columnSizing, columnResizing, globalFilter, and the
expanded/cellSelection setters) call their change handler directly
instead of routing through a no-op wrapper, keeping pointer-frequency
paths free of the routing overhead. rowPinning picks up the guard via
the new default, matching columnPinning.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Dmitrii Kartashev <dikartashev@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-08 21:48:26 -05:00
github-actions[bot]
058a5208ef
ci: Version Packages (#6531)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-08 13:27:55 -05:00
github-actions[bot]
3af6abca64
ci: Version Packages (#6527)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-07 13:18:09 -05:00
github-actions[bot]
896e998827
ci: Version Packages (#6525)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-07 08:19:43 -05:00
github-actions[bot]
7ec3b9034f
ci: Version Packages (#6513)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-04 00:35:44 -05:00
github-actions[bot]
d0f2ef7a60
release: version packages (#6510)
release: v9.0.0-beta.80

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-03 21:27:01 -05:00
github-actions[bot]
00bccc405f
release: version packages (#6504)
release: v9.0.0-beta.78

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 23:36:16 -05:00
github-actions[bot]
4085eec990
release: version packages (#6502)
release: v9.0.0-beta.77

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 23:01:31 -05:00
github-actions[bot]
015b3d2cb4
release: version packages (#6500)
release: v9.0.0-beta.76

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 17:45:29 -05:00
github-actions[bot]
bd622ee31b
release: version packages (#6498)
release: v9.0.0-beta.75

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 16:54:59 -05:00
github-actions[bot]
6fe1f858bb
release: version packages (#6496)
release: v9.0.0-beta.74

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 10:52:57 -05:00
github-actions[bot]
bd19ba772c
release: version packages (#6494)
release: v9.0.0-beta.73

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 09:10:25 -05:00
github-actions[bot]
9700f9b73b
release: version packages (#6492)
release: v9.0.0-beta.72

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-02 07:38:11 -05:00
Kevin Van Cott
54fb3bf757
chore: update vite configs to run in codesandbox better 2026-08-02 07:19:17 -05:00
github-actions[bot]
958551dbbc
release: version packages (#6490)
release: v9.0.0-beta.71

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-01 21:17:56 -05:00
github-actions[bot]
3941f7e155
release: version packages (#6488)
release: v9.0.0-beta.70

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-01 19:42:31 -05:00
github-actions[bot]
65712b74fd
release: version packages (#6486)
release: v9.0.0-beta.69

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-01 12:22:03 -05:00
Kevin Van Cott
f944d5893e
chore: package upgrades 2026-07-31 17:40:00 -05:00
Kevin Van Cott
d2b2f75d45
feat: octane-table adapter (#6477)
* feat: octane-table adapter

* add skills for octane

* move to compiled tsrx
2026-07-31 14:44:13 -05:00
github-actions[bot]
d66b39f01e
release: version packages (#6471)
release: v9.0.0-beta.65

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-30 19:59:32 -05:00
github-actions[bot]
22d775430f
release: version packages (#6470)
release: v9.0.0-beta.64

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-30 19:09:04 -05:00
github-actions[bot]
05edac5768
release: version packages (#6469)
release: v9.0.0-beta.63

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-30 15:53:55 -05:00
github-actions[bot]
79cbfb6722
release: version packages (#6468)
release: v9.0.0-beta.62

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-30 10:48:10 -05:00
github-actions[bot]
e4837e04d2
release: version packages (#6466)
release: v9.0.0-beta.61

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-30 08:47:46 -05:00
github-actions[bot]
95f548ae6b
release: version packages (#6463)
release: v9.0.0-beta.59

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-29 19:05:47 -05:00
github-actions[bot]
dbff4329f7
release: version packages (#6456)
release: v9.0.0-beta.58

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-25 20:58:24 -05:00
github-actions[bot]
ba45ea109f
release: version packages (#6453)
release: v9.0.0-beta.56

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-24 11:45:15 -05:00
github-actions[bot]
206f4dc427
release: version packages (#6437)
release: v9.0.0-beta.55

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-17 17:17:03 -05:00
github-actions[bot]
f7b30c7199
release: version packages (#6430)
release: v9.0.0-beta.54

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-17 16:18:32 -05:00
github-actions[bot]
7016e8a982
release: version packages (#6428)
release: v9.0.0-beta.53

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-17 09:26:58 -05:00
github-actions[bot]
6ed6fdc02d
release: version packages (#6426)
release: v9.0.0-beta.52

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-16 09:58:43 -05:00
github-actions[bot]
9288b9ee14
release: version packages (#6422)
release: v9.0.0-beta.50

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-15 19:08:16 -05:00
github-actions[bot]
b4a6a366e3
release: version packages (#6420)
release: v9.0.0-beta.49

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-14 19:56:11 -05:00
github-actions[bot]
074ef46376
release: version packages (#6419)
release: v9.0.0-beta.48

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-14 13:08:05 -05:00
github-actions[bot]
e60e6546fb
release: version packages (#6416)
release: v9.0.0-beta.47

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-12 20:56:22 -05:00
Kevin Van Cott
eba5386a67
feat: new filter, sort, aggregation Fns, and recommended import patterns (#6415)
* feat: new filter, sort, aggregation Fns, and recommended import patterns

* fix some examples
2026-07-12 20:47:49 -05:00
github-actions[bot]
a6dcc22367
release: version packages (#6414)
release: v9.0.0-beta.46

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-12 13:54:51 -05:00
github-actions[bot]
efdeeb91ba
release: version packages (#6413)
release: v9.0.0-beta.45

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-12 12:59:44 -05:00
github-actions[bot]
838fb35964
release: version packages (#6412)
release: v9.0.0-beta.44

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-12 11:32:36 -05:00
Kevin Van Cott
e90cfdcfd4
feat: batch row selection (#6409)
* feat: batch row selection

* fix tests

* pr feedback and add migration guide note

* no more e2e in pr

* fix angular examples double building in ci tests

* fix type
2026-07-12 11:04:00 -05:00
github-actions[bot]
55501ea13f
release: version packages (#6408)
release: v9.0.0-beta.43

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-11 22:56:14 -05:00
github-actions[bot]
df202c33c0
release: version packages (#6406)
release: v9.0.0-beta.42

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-11 17:35:31 -05:00
github-actions[bot]
14b93c92f2
release: version packages (#6400)
release: v9.0.0-beta.38

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-10 08:12:54 -05:00
github-actions[bot]
3381f42900
release: version packages (#6399)
release: v9.0.0-beta.37

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-09 21:10:33 -05:00
Kevin Van Cott
9db621f3c5
add devcontainer.json to all examples 2026-07-08 22:13:26 -05:00
github-actions[bot]
7ec51ef568
release: version packages (#6392)
release: v9.0.0-beta.36

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-07 17:00:13 -05:00
github-actions[bot]
8f4778d9cf
release: version packages (#6390)
release: v9.0.0-beta.35

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-07 10:09:26 -05:00
github-actions[bot]
965106a6d7
release: version packages (#6388)
release: v9.0.0-beta.34

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 19:36:14 -05:00
github-actions[bot]
f520f9f5c2
release: version packages (#6384)
release: v9.0.0-beta.33

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 16:41:14 -05:00
Kevin Van Cott
379f57e52c
feat: web workers for row models (#6383)
* poc: web workers for row models

* add other package exports and docs
2026-07-06 08:13:35 -05:00