ilkersevim_retry 0.1.3 copy "ilkersevim_retry: ^0.1.3" to clipboard
ilkersevim_retry: ^0.1.3 copied to clipboard

Add HTTP-client-neutral retries with backoff, jitter, cancellation, and injectable delays for deterministic Dart tests.

Changelog #

0.1.3 #

  • Add optional policy-level shouldRetry (per-call override still wins).
  • Make transientErrors / networkErrors fail closed: do not retry ArgumentError, StateError, FormatException, TypeError, or other non-timeout errors (only TimeoutException by default).
  • Document that a null filter still retries every non-cancellation error.

0.1.2 #

  • Explain how client-neutral policies centralize backoff, cancellation, and testable delay behavior.
  • Rewrite package metadata around those use cases.

0.1.1 #

  • OIDC publish proof: GitHub Actions → pub.dev via pub.dev environment (trusted publishing).

0.1.0 #

  • Initial release: RetryPolicy, RetryStrategy, RetryDelay, CancelToken, CancellationException, RetryPolicy.calculateDelay, and presets (transientErrors, networkErrors).
1
likes
160
points
94
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Add HTTP-client-neutral retries with backoff, jitter, cancellation, and injectable delays for deterministic Dart tests.

Repository (GitHub)
View/report issues

Topics

#retry #async #dart

License

Apache-2.0 (license)

More

Packages that depend on ilkersevim_retry