dio 4.0.0-beta6 
dio: ^4.0.0-beta6 copied to clipboard
A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.
4.0.0-beta6 #
- fix #1070
 
4.0.0-beta5 #
- support ListParam
 
4.0.0-beta4 #
- fix #1060
 
4.0.0-beta3 #
- rename CollectionFormat to ListFormat
 - change default value of Options.listFormat from 
mutiComptibletomulti - add upload_stream_test.dart
 
4.0.0-beta2 #
- support null-safety
 - add 
CollectionFormatconfiguration in Options - add 
fetchAPI for Dio - rename DioErrorType enums from uppercase to camel style
 - rename 'Options.merge' to 'Options.copyWith'
 
3.0.10 2020.8.7 #
- fix #877 'dio.interceptors.errorLock.lock()'
 - fix #851
 - fix #641
 
3.0.9 2020.2.24 #
- Add test cases
 
3.0.8 2019.12.29 #
- Code style improvement
 
3.0.7 2019.11.25 #
- Merge #574 : fix upload image header error, support both oss and other server
 
3.0.6 2019.11.22 #
- revert #562, and fixed #566
 
3.0.5 2019.11.19 #
- merge #557 #531
 
3.0.4 2019.10.29 #
- fix #502 #515 #523
 
3.0.3 2019.10.1 #
- fix encode bug
 
3.0.2 2019.9.26 #
- fix #474 #480
 
3.0.2-dev.1 2019.9.20 #
- fix #470 #471
 
3.0.1 2019.9.20 #
- Fix #467
 - Export 
DioForNativeandDioForBrowserclasses. 
3.0.0 #
New features #
- Support Flutter Web.
 - Extract CookieManager into a separate package(No need for Flutter Web).
 - Provides a HTTP/2.0 HttpClientAdapter.
 
Change List #
- 
Options.cookies - 
Options.connectionTimeout;We should config connection timed out inBaseOptions. For keep-alive reasons, not every request requires a separate connection。 - 
Options.followRedirects、Options.maxRedirects、Response.redirectsdon't make sense in Flutter Web,because redirection can be automatically handled by browsers. - 
FormData.from,useFormData.fromMapinstead. - 
Delete
Formdata.asBytes()、Formdata.asBytesAsync(), useFormdata.readAsBytes()instead. - 
Delete
class,UploadFileInfoMultipartFileinstead. - 
The return type of Interceptor's callback changes from
FutureOr<dynamic>toFuture. The reason is here . - 
The type of
Response.headerschanges fromHttpHeaderstoHeaders, becauseHttpHeadersis in "dart:io" library which is not supported in Flutter Web. 
2.1.16 #
Add deleteOnError parameter to downloadUri
2.1.14 #
- fix #402 #385 #422
 
2.1.13 #
- fix #369
 
2.1.12 #
- fix #367 #365
 
2.1.10 #
- fix #360
 
2.1.9 #
- support flutter version>=1.8 (fix #357)
 
2.1.8 #
- fix #354 #312
 - Allow "delete" method with request body(#223)
 
2.1.7 #
- fix #321 #318
 
2.1.4 #
- Add 
options.responseDecoder - Make DioError catchable by implementing Exception instead of Error
 
2.1.3 #
Add statusMessage attribute for Response and ResponseBody
2.1.2 #
First Stable version for 2.x
2.0 #
Refactor the Interceptors
- Support add Multiple Interceptors.
 - Add Log Interceptor
 - Add CookieManager Interceptor
 
API
- Support Uri
 - Support 
queryParametersfor all request API - Modify the 
getAPI 
Options
- Separate Options to three class: Options、BaseOptions、RequestOptions
 - Add 
queryParametersandcookiesfor BaseOptions 
Adapter
- Abstract HttpClientAdapter layer.
 - Provide a DefaultHttpClientAdapter which make http requests by 
dart:io:HttpClient 
0.1.8 #
- change file name "TransFormer" to "Transformer"
 - change "dio.transFormer" to "dio.transformer"
 - change deprecated "UTF8" to "utf8"
 
0.1.5 #
- add 
clearmethod for dio instance 
0.1.4 #
- fix 
downloadbugs 
0.1.3 #
- support upload files with Array
 - support create 
HttpClientby user self inonHttpClientCreate - support generic
 - bug fix
 
0.0.1 #
- Initial version, created by Stagehand