Skip to content

Releases: TanStack/pacer

@tanstack/pacer@0.12.0

30 Jul 15:17
6ad331d

Choose a tag to compare

Minor Changes

  • breaking: changed callback signature of onError in AsyncDebouncer, AsyncThrottler, AsyncQueuer, AsyncRatelimiter, and AsyncBatcher to include the item that caused the error (#45)
    fix: Fixed Error Handling in Async Debouncer and Throttler by properly resolving and rejecting returned promises from maybeExecute

@tanstack/solid-pacer@0.11.0

20 Jul 00:20
ea8bc75

Choose a tag to compare

Minor Changes

  • breaking: selectors are required in react and solid adapters in order to read state changes with reactivity (#43)

Patch Changes

  • Updated dependencies [7969682]:
    • @tanstack/pacer@0.11.0

@tanstack/react-pacer@0.11.0

20 Jul 00:20
ea8bc75

Choose a tag to compare

Minor Changes

  • breaking: selectors are required in react and solid adapters in order to read state changes with reactivity (#43)

Patch Changes

  • Updated dependencies [7969682]:
    • @tanstack/pacer@0.11.0

@tanstack/pacer@0.11.0

20 Jul 00:20
ea8bc75

Choose a tag to compare

Minor Changes

  • fix: lastArgs in Debouncer and AsyncDebouncer not getting set to undefined after execution (#43)
    fix: nextExecution in Throttler and AsyncThrottler not getting set to undefined after timestamp has passed

@tanstack/solid-pacer@0.10.0

18 Jul 23:21
63b1945

Choose a tag to compare

Minor Changes

  • breaking: Removed isRunning state from Batcher and AsyncBatcher utils, and also removed start and stop methods (#40)
    breaking: Changed flush() method in AsyncDebouncer, AsyncThrottler, and AsyncQueuer to return Promises instead of void
    feat: Added flushAsBatch methods to the Queuer and AsyncQueuer utils
    feat: Added isExceeded and status state properties to RateLimiter and AsyncRateLimiter for better rate limit tracking
    feat: Enhanced error handling in AsyncDebouncer and AsyncThrottler with proper promise rejection support
    feat: Improved timeout management in rate limiters with automatic cleanup of expired execution times

Patch Changes

  • Updated dependencies [d229d42]:
    • @tanstack/pacer@0.10.0

@tanstack/react-pacer@0.10.0

18 Jul 23:21
63b1945

Choose a tag to compare

Minor Changes

  • breaking: Removed isRunning state from Batcher and AsyncBatcher utils, and also removed start and stop methods (#40)
    breaking: Changed flush() method in AsyncDebouncer, AsyncThrottler, and AsyncQueuer to return Promises instead of void
    feat: Added flushAsBatch methods to the Queuer and AsyncQueuer utils
    feat: Added isExceeded and status state properties to RateLimiter and AsyncRateLimiter for better rate limit tracking
    feat: Enhanced error handling in AsyncDebouncer and AsyncThrottler with proper promise rejection support
    feat: Improved timeout management in rate limiters with automatic cleanup of expired execution times

Patch Changes

  • Updated dependencies [d229d42]:
    • @tanstack/pacer@0.10.0

@tanstack/pacer@0.10.0

18 Jul 23:21
63b1945

Choose a tag to compare

Minor Changes

  • breaking: Removed isRunning state from Batcher and AsyncBatcher utils, and also removed start and stop methods (#40)
    breaking: Changed flush() method in AsyncDebouncer, AsyncThrottler, and AsyncQueuer to return Promises instead of void
    feat: Added flushAsBatch methods to the Queuer and AsyncQueuer utils
    feat: Added isExceeded and status state properties to RateLimiter and AsyncRateLimiter for better rate limit tracking
    feat: Enhanced error handling in AsyncDebouncer and AsyncThrottler with proper promise rejection support
    feat: Improved timeout management in rate limiters with automatic cleanup of expired execution times

@tanstack/solid-pacer@0.9.1

15 Jul 18:38
0b7ea05

Choose a tag to compare

Patch Changes

  • Updated dependencies [6b435f5]:
    • @tanstack/pacer@0.9.1

@tanstack/react-pacer@0.9.1

15 Jul 18:38
0b7ea05

Choose a tag to compare

Patch Changes

  • Updated dependencies [6b435f5]:
    • @tanstack/pacer@0.9.1

@tanstack/pacer@0.9.1

15 Jul 18:37
0b7ea05

Choose a tag to compare

Patch Changes

  • Fixed queuer being stuck after flush (6b435f5)