Skip to content

Releases: TanStack/pacer

@tanstack/[email protected]

12 Nov 17:52
6bdd861

Choose a tag to compare

Patch Changes

@tanstack/[email protected]

12 Nov 14:59
a5b473f

Choose a tag to compare

Patch Changes

@tanstack/[email protected]

12 Nov 17:52
6bdd861

Choose a tag to compare

Patch Changes

@tanstack/[email protected]

12 Nov 14:59
a5b473f

Choose a tag to compare

Patch Changes

@tanstack/[email protected]

12 Nov 17:52
6bdd861

Choose a tag to compare

Patch Changes

  • fix devtools visibility issue (#96)

@tanstack/[email protected]

12 Nov 14:59
a5b473f

Choose a tag to compare

Patch Changes

  • Removed auto-uuid key generation for devtools. Now in order for pacer devtools to detect a util, you must define a key option (#94)

@tanstack/[email protected]

03 Nov 04:47
29c04e8

Choose a tag to compare

Minor Changes

    • feat:Added AsyncRetryer class and asyncRetry function with exponential/linear/fixed backoff strategies, jitter support, timeout controls (maxExecutionTime, maxTotalExecutionTime), lifecycle callbacks (onRetry, onSuccess, onError, onLastError, onSettled, onAbort, onExecutionTimeout, onTotalExecutionTimeout), dynamic options, and built-in retry integration via asyncRetryerOptions for all async utilities (AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) (#54)
    • feat: Added getAbortSignal() method to all async utilities (AsyncRetryer, AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) to enable true cancellation of underlying async operations (like fetch requests) when abort() is called
    • feat: Added asyncBatcherOptions, asyncDebouncerOptions, asyncQueuerOptions, asyncRateLimiterOptions, asyncRetryerOptions, asyncThrottlerOptions, debouncerOptions, queuerOptions, rateLimiterOptions, throttlerOptions utility functions for sharing common options between different pacer utilities
    • fix: Fixed async-throtter trailing edge behavior when long executions were awaited.
    • breaking: standardized reset, cancel and abort API behaviors with consistent naming and behavior across all async utilities. Canceling no longer aborts, new dedicated abort method is provided for aborting ongoing executions.

Patch Changes

@tanstack/[email protected]

03 Nov 04:47
29c04e8

Choose a tag to compare

Minor Changes

    • feat:Added AsyncRetryer class and asyncRetry function with exponential/linear/fixed backoff strategies, jitter support, timeout controls (maxExecutionTime, maxTotalExecutionTime), lifecycle callbacks (onRetry, onSuccess, onError, onLastError, onSettled, onAbort, onExecutionTimeout, onTotalExecutionTimeout), dynamic options, and built-in retry integration via asyncRetryerOptions for all async utilities (AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) (#54)
    • feat: Added getAbortSignal() method to all async utilities (AsyncRetryer, AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) to enable true cancellation of underlying async operations (like fetch requests) when abort() is called
    • feat: Added asyncBatcherOptions, asyncDebouncerOptions, asyncQueuerOptions, asyncRateLimiterOptions, asyncRetryerOptions, asyncThrottlerOptions, debouncerOptions, queuerOptions, rateLimiterOptions, throttlerOptions utility functions for sharing common options between different pacer utilities
    • fix: Fixed async-throtter trailing edge behavior when long executions were awaited.
    • breaking: standardized reset, cancel and abort API behaviors with consistent naming and behavior across all async utilities. Canceling no longer aborts, new dedicated abort method is provided for aborting ongoing executions.

Patch Changes

@tanstack/[email protected]

03 Nov 04:47
29c04e8

Choose a tag to compare

Minor Changes

  • feat: Added PacerProvider component and related hooks (usePacerContext, useDefaultPacerOptions) for React applications to set default configurations for all pacer utilities within a component tree (#54)

    • feat:Added AsyncRetryer class and asyncRetry function with exponential/linear/fixed backoff strategies, jitter support, timeout controls (maxExecutionTime, maxTotalExecutionTime), lifecycle callbacks (onRetry, onSuccess, onError, onLastError, onSettled, onAbort, onExecutionTimeout, onTotalExecutionTimeout), dynamic options, and built-in retry integration via asyncRetryerOptions for all async utilities (AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) (#54)
    • feat: Added getAbortSignal() method to all async utilities (AsyncRetryer, AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) to enable true cancellation of underlying async operations (like fetch requests) when abort() is called
    • feat: Added asyncBatcherOptions, asyncDebouncerOptions, asyncQueuerOptions, asyncRateLimiterOptions, asyncRetryerOptions, asyncThrottlerOptions, debouncerOptions, queuerOptions, rateLimiterOptions, throttlerOptions utility functions for sharing common options between different pacer utilities
    • fix: Fixed async-throtter trailing edge behavior when long executions were awaited.
    • breaking: standardized reset, cancel and abort API behaviors with consistent naming and behavior across all async utilities. Canceling no longer aborts, new dedicated abort method is provided for aborting ongoing executions.

Patch Changes

@tanstack/[email protected]

03 Nov 04:47
29c04e8

Choose a tag to compare

Minor Changes

    • feat:Added AsyncRetryer class and asyncRetry function with exponential/linear/fixed backoff strategies, jitter support, timeout controls (maxExecutionTime, maxTotalExecutionTime), lifecycle callbacks (onRetry, onSuccess, onError, onLastError, onSettled, onAbort, onExecutionTimeout, onTotalExecutionTimeout), dynamic options, and built-in retry integration via asyncRetryerOptions for all async utilities (AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) (#54)
    • feat: Added getAbortSignal() method to all async utilities (AsyncRetryer, AsyncBatcher, AsyncDebouncer, AsyncQueuer, AsyncRateLimiter, AsyncThrottler) to enable true cancellation of underlying async operations (like fetch requests) when abort() is called
    • feat: Added asyncBatcherOptions, asyncDebouncerOptions, asyncQueuerOptions, asyncRateLimiterOptions, asyncRetryerOptions, asyncThrottlerOptions, debouncerOptions, queuerOptions, rateLimiterOptions, throttlerOptions utility functions for sharing common options between different pacer utilities
    • fix: Fixed async-throtter trailing edge behavior when long executions were awaited.
    • breaking: standardized reset, cancel and abort API behaviors with consistent naming and behavior across all async utilities. Canceling no longer aborts, new dedicated abort method is provided for aborting ongoing executions.

Patch Changes