Releases: cfug/dio
Releases · cfug/dio
cookie_manager 2.1.4
What's new
- Fix cookie not applied to the original destination during redirect handling.
- Resolves the location for cookies during redirect handling.
dio 5.1.1
What's new
- Revert changes to
CancelToken.cancel()
behavior, as a result theDioError
provided by theCancelToken.cancelError
does not contain useful information
when the token was not used with a request. - Fix wrong
ListFormat
being used for comparison during encoding ofFormData
andapplication/x-www-form-urlencoded
, resulting in potential wrong output encoding
forListFormat.multi
andListFormat.multiCompatible
since Dio 4.0.x. - Respect
Options.listFormat
when encodingx-www-url-encoded
content.
http2_adapter 2.2.0
What's new
- Support proxy for the adapter.
- Improve code formats according to linter rules.
dio 5.1.0
What's new
- Fix double-completion when using
connectionTimeout
on web platform. - Allow defining adapter methods through their constructors.
- Fix
FormData
encoding regression for maps with dynamic keys, introduced in 5.0.3. - Mark several static
DioMixin
functions as@internal
. - Make
DioError.stackTrace
non-nullable. - Ensure
DioError.stackTrace
always points to the correct call site.
cookie_manager 2.1.3
What's new
- Allow
Set-Cookie
to be parsed in redirect responses. - Fix new cookies being replaced by old cookies with the same name.
- Sort the cookie by path (longer path first).
dio 5.0.3
What's new
- Imply
List<Map>
as JSON content inImplyContentTypeInterceptor
. - Fix
FormData
encoding for collections and objects.
native_dio_adapter 0.1.0
What's new
- Bump cupertino_http and cronet_http versions.
- Improve code formats according to linter rules.
cookie_manager 2.1.2
What's new
- Fix empty cookie parsing and header value set.
- Improve code formats according to linter rules.
dio 5.0.2
What's new
- Improve code formats according to linter rules.
- Remove the force conversion for the response body.
- Fix
DioErrorType.cancel
inInterceptors
. - Fix wrong encoding of collection query parameters.
- Fix "unsupported operation" error on web platform.
dio 5.0.1
What's new
- Add
ImplyContentTypeInterceptor
as a default interceptor. - Add
Headers.multipartFormDataContentType
for headers usage. - Fix variable shadowing of
withCredentials
inbrowser_adapers.dart
.