dio_smart_retry 7.0.0 dio_smart_retry: ^7.0.0 copied to clipboard
Retry library for Dio and Dio package made with love. By default, the request will be retried only for appropriate retryable http statuses.
7.0.0 #
- [BREAKING CHANGE]
MultipartFileRecreatable
removed. Use a regularMultipartFile
instead ofMultipartFileRecreatable
.
6.0.0 #
- Updated internal libraries.
- Bumped minimum Dart SDK to 3.0.
- Added
MultipartFileRecreatable
documentation. - Refactors static constructors to factories.
- Adds a new
MultipartFileRecreatable.fromBytes
factory compatible with web. - Added a new
headers
parameter. - You can now read the file's content with
MultipartFileRecreatable.data
. - Breaking:
MultipartFileRecreatable.filename
is now a named parameter to matchdio
. - Breaking: Removed
MultipartFileRecreatable.filePath
since it was not being used internally.
5.0.0 #
- Add supporting of the new dio 5.+
1.4.0 #
- Add supporting of retrying for requests with
multipart/form-data
, useMultipartFileRecreatable
class for that (details). DefaultRetryEvaluator
and status codes constants from the filehttp_status_codes.dart
was made a part of the public API.
1.3.2 #
- Add a feature allowing to specify extra retryable status codes (parameter
retryableExtraStatuses
) (#11) - Add a request's
CancelToken
checking - Update dependencies
1.2.0 #
- Add properly an incorrect url scheme error handling in the default retry evaluator (#2)
1.1.0 #
- A request catching is fixed (#1)
- Dependencies were updated
1.0.3 #
- Example updated
1.0.2 #
- Initial version.