What's new
- Make
LogInterceptor
prints in DEBUG mode (when the assertion is enabled) by default. - Deprecate
DioError
in favor ofDioException
. - Fix
IOHttpClientAdapter.onHttpClientCreate
Repeated calls IOHttpClientAdapter.onHttpClientCreate
has been deprecated and is scheduled for removal in
Dio 6.0.0 - Please use the replacementIOHttpClientAdapter.createHttpClient
instead.- Using
CancelToken
no longer closes and re-createsHttpClient
for each request whenIOHttpClientAdapter
is used. - Fix timeout handling for browser
receiveTimeout
. - Using
CancelToken
no longer closes and re-createsHttpClient
for each request whenIOHttpClientAdapter
is used. - Improve performance when sending binary data (
List<int>
/Uint8List
).