Releases: cfug/dio
Releases · cfug/dio
http2_adapter 2.5.1
What's new
- Wrap
SocketException
inDioExceptionType.connectionError
instead ofDioExceptionType.unknown
.
dio 5.4.2
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
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
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
What's new
- Initial version.
native_dio_adapter 1.3.0
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
What's new
- Adds
createCronetEngine
andcreateCupertinoConfiguration
to deprecatecronetEngine
andcupertinoConfiguration
for theNativeAdapter
, to avoid platform exceptions. - Improve the request stream byte conversion.
http2_adapter 2.4.0
What's new
- Support non-TLS connection requests.
- Improve the implementation of
receiveTimeout
. - Add more header value types implicit support.
dio 5.4.0
What's new
- Improve
SyncTransformer
's stream transform. - Allow case-sensitive header keys with the
preserveHeaderCase
flag through options. - Fix
receiveTimeout
for theIOHttpClientAdapter
. - Fix
receiveTimeout
for thedownload
method ofDioForNative
. - Improve the stream byte conversion.
native_dio_adapter 1.1.1
What's new
- Adds the missing
flutter
dependency.