Releases: cfug/dio
Releases · cfug/dio
web_adapter 2.1.2
What's new
- Fix inaccurate timeout type detection using
xhr.readyStateinstead of timer existence.
http2_adapter 2.7.0
What's new
- Fix inconsistent cache key format in
_ConnectionManagerbetweengetConnection()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 theConnectionManagerto prevent long waiting
if there's something wrong with the handshake procedure. - Provides
httpVersioninResponse.extra.
dio 5.9.2
cookie_manager 3.4.0
What's new
- Fixes
kIsWebacross different Flutter SDKs. - Introduce
CookieManager.ignoreInvalidCookies.
compatibility_layer 0.1.1
What's new
- Fixes
kIsWebacross different Flutter SDKs.
native_dio_adapter 1.5.1
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, andreceiveTimeoutinConversionLayerAdapter
dio 5.9.1
What's new
- Add
requestUrlandresponseUrlparameters toLogInterceptorfor more precise control over URL logging.
dio 5.9.0
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:mimeto help determine thecontent-typeofMultipartFilebase on the providedfilename.
cookie_manager 3.3.0
What's new
- Proceed better
DioExceptions from the cookie manager.
NowCookieManagerLoadExceptionandCookieManagerSaveExceptionare including in theDioException. - Expose
loadCookiesandsaveCookiesforCookieManager.
native_dio_adapter 1.5.0
What's new
- Close the
CronetEnginewhen closing theCronetClientby default. - Expose underlying adapters from all adapters.