Dio Versions Save

A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.

http2_adapter_v2.4.0

5 months ago

What's new

  • Support non-TLS connection requests.
  • Improve the implementation of receiveTimeout.
  • Add more header value types implicit support.

native_dio_adapter_v1.2.0

5 months ago

What's new

  • Adds createCronetEngine and createCupertinoConfiguration to deprecate cronetEngine and cupertinoConfiguration for the NativeAdapter, to avoid platform exceptions.
  • Improve the request stream byte conversion.

dio_v5.4.0

5 months ago

What's new

  • Improve SyncTransformer's stream transform.
  • Allow case-sensitive header keys with the preserveHeaderCase flag through options.
  • Fix receiveTimeout for the IOHttpClientAdapter.
  • Fix receiveTimeout for the download method of DioForNative.
  • Improve the stream byte conversion.

dio_v5.3.4

5 months ago

What's new

  • Raise warning for Maps other than Map<String, dynamic> when encoding request data.
  • Improve exception messages.
  • Allow ResponseDecoder and RequestEncoder to be async.
  • Ignores Duration.zero timeouts.

http2_adapter_v2.3.2

5 months ago

What's new

  • Implement sendTimeout and receiveTimeout for the adapter.
  • Fix redirect not working when requestStream is null.
  • Ignores Duration.zero timeouts.

native_dio_adapter_v1.1.1

5 months ago

What's new

  • Adds the missing flutter dependency.

native_dio_adapter_v1.1.0

6 months ago

What's new

  • Bump cronet_http version.
  • Minimal required Dart version is now 3.1.
  • Minimal required Flutter version is now 3.13.0.

cookie_manager_v3.1.1

7 months ago

What's new

  • Fix FileSystemException when saving redirect cookies without a proper host.

dio_v5.3.3

7 months ago

What's new

  • Fix failing requests throw DioExceptions with .unknown instead of .connectionError on SocketException.
  • Removes the accidentally added options argument for Options.compose.
  • Fix wrong formatting of multi-value header in BrowserHttpClientAdapter.
  • Add warning in debug mode when trying to send data with a GET request in web.
  • Reduce cases in which browsers would trigger a CORS preflight request.
  • Add warnings in debug mode when using sendTimeout and onSendProgress with an empty request body.
  • Fix receiveTimeout not working correctly on web.
  • Fix ImplyContentTypeInterceptor can be removed by Interceptors.clear() by default.

dio_v5.3.2

9 months ago

What's new

  • Revert removed download for DioMixin.
  • Fix for Dio.download not cleaning the file on data handling error.