Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
0a86348
feat: add persister util and persistent rate limited examples
KevinVandy Jun 10, 2025
7ea9d51
ci: apply automated fixes
autofix-ci[bot] Jun 10, 2025
e43360b
simplify storage key management
KevinVandy Jun 11, 2025
d5abc25
start writing persisting guide
KevinVandy Jun 11, 2025
dabfe8b
separate out persisters into own package
KevinVandy Jun 17, 2025
2f2da24
refactor to external state management instead of internal persisters
KevinVandy Jun 20, 2025
6174634
split storage persister to own import section
KevinVandy Jun 20, 2025
6b98699
onStateChange signature
KevinVandy Jun 21, 2025
ff76c7b
refactor debouner with state
KevinVandy Jun 21, 2025
503809b
refactor all utils to have state objects with initialState and onStat…
KevinVandy Jun 21, 2025
acae915
jsdoc updates
KevinVandy Jun 22, 2025
5613df7
ci: apply automated fixes
autofix-ci[bot] Jun 22, 2025
d37d647
fix truty to boolean
KevinVandy Jun 22, 2025
652f226
clean up state mutations and generated changesets
KevinVandy Jun 23, 2025
03a5737
check
KevinVandy Jun 25, 2025
54c6552
refactor async debouncer to tanstack store
KevinVandy Jun 27, 2025
0d14145
ci: apply automated fixes
autofix-ci[bot] Jun 27, 2025
780f580
refactor async queuer with store
KevinVandy Jun 29, 2025
f5c478d
ci: apply automated fixes
autofix-ci[bot] Jun 29, 2025
288f63f
update rate limiter with tanstack store
KevinVandy Jun 30, 2025
f5a38b5
remove bindInstanceMethods util after defining all methods with arrow…
KevinVandy Jun 30, 2025
1593839
ci: apply automated fixes
autofix-ci[bot] Jun 30, 2025
9fb189b
package upgrades and debouncer uses tanstack store
KevinVandy Jul 4, 2025
e643373
ci: apply automated fixes
autofix-ci[bot] Jul 4, 2025
9812d2d
update throttler utils to tanstack store
KevinVandy Jul 6, 2025
5f3732e
ci: apply automated fixes
autofix-ci[bot] Jul 6, 2025
f55ab2d
rewrite queuer utils with tanstack store
KevinVandy Jul 6, 2025
8c6e25b
ci: apply automated fixes
autofix-ci[bot] Jul 6, 2025
954c8b2
fix solid debouncer examples
KevinVandy Jul 6, 2025
b959650
upgrade tanstack store version
KevinVandy Jul 7, 2025
fb51ac0
format
KevinVandy Jul 7, 2025
5effd78
update async rate limiter utils to tanstack store
KevinVandy Jul 7, 2025
f9c57ec
update batcher utils to tanstack store
KevinVandy Jul 8, 2025
291184b
create async batcher and examples
KevinVandy Jul 8, 2025
85a028b
ci: apply automated fixes
autofix-ci[bot] Jul 8, 2025
97ea384
track failed batch items
KevinVandy Jul 8, 2025
11f3c91
add flushing to utils
KevinVandy Jul 8, 2025
b5d3408
async batcher and flushing
KevinVandy Jul 8, 2025
ebde4f7
safer readonly state and jsdoc changes
KevinVandy Jul 9, 2025
4e35765
clean up flush logic and add jsdoc to state properties
KevinVandy Jul 9, 2025
cfa84af
update guides to reflect tanstack store changes
KevinVandy Jul 9, 2025
4d027b8
progress on persister
KevinVandy Jul 10, 2025
a172562
ci: apply automated fixes
autofix-ci[bot] Jul 10, 2025
1d5ada4
update persister tests
KevinVandy Jul 10, 2025
dc7a17e
add async callback variants to react adapter
KevinVandy Jul 10, 2025
8623274
ci: apply automated fixes
autofix-ci[bot] Jul 10, 2025
eb8e273
update docs config
KevinVandy Jul 10, 2025
6c22f47
fix some edge cases and render bugs with flushing and batching
KevinVandy Jul 10, 2025
8710998
package upgrades and update changesets
KevinVandy Jul 10, 2025
6b0b27d
update lock file
KevinVandy Jul 10, 2025
20d429c
ci: apply automated fixes
autofix-ci[bot] Jul 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .changeset/quick-teams-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@tanstack/react-pacer': minor
'@tanstack/solid-pacer': minor
'@tanstack/pacer': minor
---

- breaking: Removed most "get" methods that can now be read directly from the state (e.g. `debouncer.getExecutionCount()` -> `debouncer.store.state.executionCount` or `debouncer.state.executionCount` in framework adapters)
- breaking: Removed `getOptions` and other option resolver methods such as `getEnabled` and `getWait`
- feat: Rewrote TanStack Pacer to use TanStack Store for state management
- feat: Added `flush` methods to all utils to trigger pending executions to execute immediately.
- feat: Added an `initialState` option to all utils to set the initial state for persistence features
- feat: Added status state to all utils except rate-limiters for pending, excution, etc. states.
- feat: Added new AsyncBatcher utility
- fix: Multiple bug fixes
6 changes: 6 additions & 0 deletions .changeset/sharp-mirrors-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@tanstack/react-persister': minor
'@tanstack/persister': minor
---

Created TanStack Persister packages
6 changes: 6 additions & 0 deletions .cursor/rules/commands.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
description: running commands
globs:
alwaysApply: false
---
- use pnpm instead of npm
Loading
Loading