This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
v5.0.0-dev.1
Pre-release
Pre-release
This is the first release for the diox
package.
What's Changed
- Allow asynchronized method with
savePath
. - Allow
data
in all request methods. - A platform independent
HttpClientAdapter
can now be instantiated by doing
dio.httpClientAdapter = HttpClientAdapter();
. - Add
ValidateCertificate
to handle certificate pinning better. - Support
Content-Disposition
header case sensitivity.
Breaking Changes
- Improve
DioError
s. There are now more cases in which the inner original stacktrace is supplied. HttpClientAdapter
must now be implemented instead of extended.- Any classes specific to
dart:io
platforms can now be imported viaimport 'package:diox/io.dart';
.
Classes specific to web can be imported viaimport 'package:diox/browser.dart';
. connectTimeout
,sendTimeout
, andreceiveTimeout
are nowDuration
s.
Full Changelog: https://github.com/cfug/diox/commits/v5.0.0-dev.1