IOHttpClientAdapter.onHttpClientCreate has been deprecated and is scheduled for removal in
Dio 6.0.0 - Please use the replacement IOHttpClientAdapter.createHttpClient instead.
Using CancelToken no longer closes and re-creates HttpClient for each request when IOHttpClientAdapter is used.
Fix timeout handling for browser receiveTimeout.
Using CancelToken no longer closes and re-creates HttpClient for each request when IOHttpClientAdapter is used.
Improve performance when sending binary data (List<int>/Uint8List).
dio 5.1.2
What's new
Allow FormData to send a null entry value as an empty string.
dio 5.1.1
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.
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.
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.2.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)