Skip to content

Releases: cfug/dio

cookie_manager 2.1.4

03 Apr 13:34
Compare
Choose a tag to compare

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

30 Mar 10:18
Compare
Choose a tag to compare

What's new

  • Revert changes to CancelToken.cancel() behavior, as a result the DioError
    provided by the CancelToken.cancelError does not contain useful information
    when the token was not used with a request.
  • Fix wrong ListFormat being used for comparison during encoding of FormData
    and application/x-www-form-urlencoded, resulting in potential wrong output encoding
    for ListFormat.multi and ListFormat.multiCompatible since Dio 4.0.x.
  • Respect Options.listFormat when encoding x-www-url-encoded content.

http2_adapter 2.2.0

29 Mar 09:26
Compare
Choose a tag to compare

What's new

  • Support proxy for the adapter.
  • Improve code formats according to linter rules.

dio 5.1.0

27 Mar 05:34
Compare
Choose a tag to compare

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

20 Mar 02:55
Compare
Choose a tag to compare

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

17 Mar 18:52
Compare
Choose a tag to compare

What's new

  • Imply List<Map> as JSON content in ImplyContentTypeInterceptor.
  • Fix FormData encoding for collections and objects.

native_dio_adapter 0.1.0

14 Mar 08:56
Compare
Choose a tag to compare

What's new

  • Bump cupertino_http and cronet_http versions.
  • Improve code formats according to linter rules.

cookie_manager 2.1.2

12 Mar 07:15
Compare
Choose a tag to compare

What's new

  • Fix empty cookie parsing and header value set.
  • Improve code formats according to linter rules.

dio 5.0.2

10 Mar 15:00
Compare
Choose a tag to compare

What's new

  • Improve code formats according to linter rules.
  • Remove the force conversion for the response body.
  • Fix DioErrorType.cancel in Interceptors.
  • Fix wrong encoding of collection query parameters.
  • Fix "unsupported operation" error on web platform.

dio 5.0.1

24 Feb 04:33
Compare
Choose a tag to compare

What's new

  • Add ImplyContentTypeInterceptor as a default interceptor.
  • Add Headers.multipartFormDataContentType for headers usage.
  • Fix variable shadowing of withCredentials in browser_adapers.dart.