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.
You can trigger a rebase of this PR 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)
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps dio from 5.0.1 to 5.1.1.
Release notes
Sourced from dio's releases.
Commits
2a15492
π dio v5.1.198019c9
[dio] Fix wrong default encoding being used for lists (#1771)4064ae7
π http2_adapter v2.2.0d75aaaf
π¨ Analyze repos with fatal infos (#1773)7664127
[http2_adapter] HTTP/2 proxy (#1386)ae90d7d
[dio] Revert changes to CancelToken.cancel behavior (#1769)f11f5f0
Updated README.md and README_ZH.md (#1768)302343f
π dio v5.1.0a75693a
[dio] Fix missing source stacktrace in DioError (#1722)d4442a2
[dio] Fix FormData encoding regression for maps with dynamic keys (#1757)You can trigger a rebase of this PR 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)