Skip to content

Releases: cfug/dio

v5.0.0

13 Feb 06:34
1332d32
Compare
Choose a tag to compare

What's changed

  • Change Dio.transformer from DefaultTransformer to BackgroundTransformer.
  • Remove plain ASCII check in FormData.
  • 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

  • Content type with application/json and application/x-www-form-urlencoded
    will not be implied anymore in the transformer and the request option.
  • The default charset utf-8 in Headers content type constants has been removed.
  • BaseOptions.setRequestContentTypeWhenNoPayload has been removed.
  • Improve DioErrors. 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 via import 'package:diox/io.dart';.
    Classes specific to web can be imported via import 'package:diox/browser.dart';.
  • connectTimeout, sendTimeout, and receiveTimeout are now Durations.

4.0.4

29 Nov 12:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.3...4.0.4

4.0.0

28 Mar 12:06
Compare
Choose a tag to compare

stable version

3.0.10

07 Aug 14:33
Compare
Choose a tag to compare
1. fix #877 'dio.interceptors.errorLock.lock()'
2. fix #851
3. fix #641

3.0.9

24 Feb 13:43
Compare
Choose a tag to compare

add test cases

3.0.8

24 Feb 13:24
a2a8424
Compare
Choose a tag to compare

add test cases

3.0.7

13 Dec 09:00
f9009c9
Compare
Choose a tag to compare

Merge #574 : fix upload image header error, support both oss and other server

3.0.6

22 Nov 06:16
Compare
Choose a tag to compare
revert #562, and fixed #566

3.0.2

26 Sep 11:29
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/master'

3.0.0

19 Sep 06:04
Compare
Choose a tag to compare

3.0.0 stable version