- [BREAKING CHANGE]
MultipartFileRecreatable
removed. Use a regularMultipartFile
instead ofMultipartFileRecreatable
.
- 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.
- Add supporting of the new dio 5.+
- Add supporting of DioX
- 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.
- Add a feature allowing to specify extra retryable status codes (parameter
retryableExtraStatuses
) (#11) - Add a request's
CancelToken
checking - Update dependencies
- Add properly an incorrect url scheme error handling in the default retry evaluator (#2)
- A request catching is fixed (#1)
- Dependencies were updated
- Example updated
- Initial version.