Skip to content

dio 5.2.0

Compare
Choose a tag to compare
@cfug-dev cfug-dev released this 06 Jun 01:52
· 229 commits to main since this release

What's new

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