Skip to content

Releases: cfug/dio

web_adapter 2.1.2

02 Mar 04:30

Choose a tag to compare

What's new

  • Fix inaccurate timeout type detection using xhr.readyState instead of timer existence.

http2_adapter 2.7.0

02 Mar 04:30

Choose a tag to compare

What's new

  • Fix inconsistent cache key format in _ConnectionManager between getConnection() and _connect(),
    which caused _transportsMap.remove() to fail silently during idle timeout cleanup and led to memory leaks.
  • Add handshakeTimeout (defaults to 15 seconds) to the ConnectionManager to prevent long waiting
    if there's something wrong with the handshake procedure.
  • Provides httpVersion in Response.extra.

dio 5.9.2

02 Mar 04:31

Choose a tag to compare

What's new

  • Fixes kIsWeb across different Flutter SDKs.
  • Provides httpVersion in Response.extra when using IOHttpClientAdapter.

cookie_manager 3.4.0

02 Mar 04:30

Choose a tag to compare

What's new

  • Fixes kIsWeb across different Flutter SDKs.
  • Introduce CookieManager.ignoreInvalidCookies.

compatibility_layer 0.1.1

02 Mar 04:31

Choose a tag to compare

What's new

  • Fixes kIsWeb across different Flutter SDKs.

native_dio_adapter 1.5.1

27 Jan 13:10

Choose a tag to compare

What's new

  • Support request cancellation for native HTTP clients via use of AbortableRequest (introduced in http package from version 1.5.0)
  • Add timeout handling for sendTimeout, connectTimeout, and receiveTimeout in ConversionLayerAdapter

dio 5.9.1

27 Jan 13:10

Choose a tag to compare

What's new

  • Add requestUrl and responseUrl parameters to LogInterceptor for more precise control over URL logging.

dio 5.9.0

07 Aug 19:37

Choose a tag to compare

What's new

  • Do not allow updating the error field after a cancel token has canceled.
  • Allow passing an initial interceptors list to the constructor of Interceptors.
  • Use package:mime to help determine the content-type of MultipartFile base on the provided filename.

cookie_manager 3.3.0

07 Aug 19:37

Choose a tag to compare

What's new

  • Proceed better DioExceptions from the cookie manager.
    Now CookieManagerLoadException and CookieManagerSaveException are including in the DioException.
  • Expose loadCookies and saveCookies for CookieManager.

native_dio_adapter 1.5.0

21 Jul 09:48

Choose a tag to compare

What's new

  • Close the CronetEngine when closing the CronetClient by default.
  • Expose underlying adapters from all adapters.