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.
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.
dio 5.0.3
What's new
Imply List<Map> as JSON content in ImplyContentTypeInterceptor.
Fix FormData encoding for collections and objects.
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 in Interceptors.
Fix wrong encoding of collection query parameters.
Fix "unsupported operation" error on web platform.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps dio from 4.0.6 to 5.1.1.
Release notes
Sourced from dio's releases.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)