retry_with_connectivity 1.0.1
retry_with_connectivity: ^1.0.1 copied to clipboard
A reliable execution framework for Flutter that intelligently retries asynchronous operations with backoff strategies and circuit breakers.
1.0.1 #
- Fixed
DioExceptionerror by bumping minimumdiodependency to^5.4.0. - Shortened
pubspec.yamldescription for better search engine optimization.
1.0.0 #
- Initial Release: Production-grade, reliable execution framework (
SmartRetry) for Flutter and Dart. - Core Retry Engine: Added
SmartRetry.runandSmartRetry.runResultsupportingmaxAttempts,maxDuration, per-attempt timeouts, and cancellation viaRetryToken. - Mathematical Backoff Strategies: Implemented
ExponentialWithJitterBackoff,DecorrelatedJitterBackoff,FibonacciBackoff,ExponentialBackoff,LinearBackoff,FixedBackoff, andCustomBackoff. - Dual-Layer Connectivity Awareness: Added
ConnectivityMonitor,ConnectivityPlusDetector(Layer 1), and active reachability verification (DnsReachabilityCheckerandSocketReachabilityChecker- Layer 2). - HTTP & API Intelligence: Added
HttpRetryConfig,HttpRetryCondition,RetryAfterParser(supporting RFC 7231 header parsing), andCompositeHttpResponseExtractor(supporting dynamic duck-typing for third-party exceptions). - Client Integrations: Added first-class
SmartRetryInterceptorfor Dio (lib/dio.dart) andRetryHttpClientforpackage:http(lib/http.dart). - Resilience Circuit Breakers: Implemented stateful
CircuitBreaker(closed,open,halfOpen) with configurable thresholds and concurrency control. - Offline Queue & Replay: Added
OfflineQueue,InMemoryOfflineQueue,QueuedTask, andQueueProcessorfor automatic task execution upon connectivity restoration. - Observability & Logging: Added
RetryCallbacksandRetryLoggerwith built-in console formatting and custom callback support.