Skip to content

Releases: cfug/dio

http2_adapter 2.5.1

26 Mar 02:30
Compare
Choose a tag to compare

What's new

  • Wrap SocketException in DioExceptionType.connectionError
    instead of DioExceptionType.unknown.

dio 5.4.2

26 Mar 02:30
Compare
Choose a tag to compare

What's new

  • Fix receiveTimeout throws exception after the request has been cancelled.
  • Catch sync/async exceptions in interceptors' handlers.
  • Throws precise StateError for handler's duplicated calls.

http2_adapter 2.5.0

28 Feb 01:42
Compare
Choose a tag to compare

What's new

  • Fix cancellation for streamed responses and downloads.
  • Fix progress for streamed responses and downloads.
  • Bump minimum Dart SDK to 3.0.0 as required by the http2 package.
  • Allows HTTP/1.0 when connecting to proxies.
  • Add the ability to use a fallback HttpClientAdapter
    when HTTP/2 is unavailable for the current request.

dio 5.4.1

18 Feb 11:01
Compare
Choose a tag to compare

What's new

  • Provide fix suggestions for dart fix.
  • Fix receiveTimeout for streamed responses.
  • Fix cancellation for streamed responses and downloads when using IOHttpClientAdapter.
  • Fix receive progress for streamed responses and downloads when using IOHttpClientAdapter.
  • Support relative baseUrl on the Web platform.
  • Avoid fake uncaught exceptions during debugging with IDEs.

compatibility_layer 0.1.0

02 Jan 02:47
Compare
Choose a tag to compare

What's new

  • Initial version.

native_dio_adapter 1.3.0

30 Dec 09:18
Compare
Choose a tag to compare

What's new

  • Provide fix suggestions for dart fix.
  • Bump cronet_http version to >=0.4.0 <=2.0.0.

native_dio_adapter 1.2.0

30 Nov 08:19
Compare
Choose a tag to compare

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.

http2_adapter 2.4.0

30 Nov 08:19
Compare
Choose a tag to compare

What's new

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

dio 5.4.0

30 Nov 08:13
Compare
Choose a tag to compare

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.

native_dio_adapter 1.1.1

22 Nov 02:26
Compare
Choose a tag to compare

What's new

  • Adds the missing flutter dependency.