fix(deps): update dependency dio to v5 #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.8
->^5.0.0
Release Notes
cfug/dio (dio)
v5.5.0
: dio 5.5.0What's new
DioExceptionType.badCertificate
.DioMediaType
forhttp_parser
'sMediaType
.MultipartFile.fromBytes
.package:dio_web_adapter
.InterceptorState.toString()
.CancelToken
got canceled before making requests,throws the exception directly rather than cut actual HTTP requests afterward.
MediaType
parse exception inTransformer.isJsonMimeType
.CancelToken
.v5.4.3
: dio 5.4.3What's new
IOHttpClientAdapter
.FormData.boundaryName
instead of the default--dio-boundary-
.v5.4.1
: dio 5.4.1What's new
dart fix
.receiveTimeout
for streamed responses.IOHttpClientAdapter
.IOHttpClientAdapter
.baseUrl
on the Web platform.v5.4.0
: dio 5.4.0What's new
SyncTransformer
's stream transform.preserveHeaderCase
flag through options.receiveTimeout
for theIOHttpClientAdapter
.receiveTimeout
for thedownload
method ofDioForNative
.v5.3.4
: dio 5.3.4What's new
Map
s other thanMap<String, dynamic>
when encoding request data.ResponseDecoder
andRequestEncoder
to be async.Duration.zero
timeouts.v5.3.3
: dio 5.3.3What's new
DioException
s with.unknown
instead of.connectionError
onSocketException
.options
argument forOptions.compose
.BrowserHttpClientAdapter
.GET
request in web.sendTimeout
andonSendProgress
with an empty request body.receiveTimeout
not working correctly on web.ImplyContentTypeInterceptor
can be removed byInterceptors.clear()
by default.v5.3.2
: dio 5.3.2What's new
download
forDioMixin
.Dio.download
not cleaning the file on data handling error.v5.3.1
: dio 5.3.1What's new
MultipartFile
fromFormData
with regression test.MulitpartFile
constructor in favorMultipartFile.fromStream
.FormData.clone
.v5.3.0
: dio 5.3.0What's new
http
fromdev_dependencies
.MultipartFile
fromFormData
.ResponseType.json
.v5.2.1
: dio 5.2.1What's new
List<int>
body data.v5.2.0
: dio 5.2.0What's new
LogInterceptor
prints in DEBUG mode (when the assertion is enabled) by default.DioError
in favor ofDioException
.IOHttpClientAdapter.onHttpClientCreate
Repeated callsIOHttpClientAdapter.onHttpClientCreate
has been deprecated and is scheduled for removal inDio 6.0.0 - Please use the replacement
IOHttpClientAdapter.createHttpClient
instead.CancelToken
no longer closes and re-createsHttpClient
for each request whenIOHttpClientAdapter
is used.receiveTimeout
.CancelToken
no longer closes and re-createsHttpClient
for each request whenIOHttpClientAdapter
is used.List<int>
/Uint8List
).v5.1.2
: dio 5.1.2What's new
FormData
to send a null entry value as an empty string.v5.1.1
: dio 5.1.1What's new
CancelToken.cancel()
behavior, as a result theDioError
provided by the
CancelToken.cancelError
does not contain useful informationwhen the token was not used with a request.
ListFormat
being used for comparison during encoding ofFormData
and
application/x-www-form-urlencoded
, resulting in potential wrong output encodingfor
ListFormat.multi
andListFormat.multiCompatible
since Dio 4.0.x.Options.listFormat
when encodingx-www-url-encoded
content.v5.1.0
: dio 5.1.0What's new
connectionTimeout
on web platform.FormData
encoding regression for maps with dynamic keys, introduced in 5.0.3.DioMixin
functions as@internal
.DioError.stackTrace
non-nullable.DioError.stackTrace
always points to the correct call site.v5.0.3
: dio 5.0.3What's new
List<Map>
as JSON content inImplyContentTypeInterceptor
.FormData
encoding for collections and objects.v5.0.2
: dio 5.0.2What's new
DioErrorType.cancel
inInterceptors
.v5.0.1
: dio 5.0.1What's new
ImplyContentTypeInterceptor
as a default interceptor.Headers.multipartFormDataContentType
for headers usage.withCredentials
inbrowser_adapers.dart
.v5.0.0
What's changed
Dio.transformer
fromDefaultTransformer
toBackgroundTransformer
.FormData
.savePath
.data
in all request methods.HttpClientAdapter
can now be instantiated by doingdio.httpClientAdapter = HttpClientAdapter();
.ValidateCertificate
to handle certificate pinning better.Content-Disposition
header case sensitivity.Breaking Changes
application/json
andapplication/x-www-form-urlencoded
will not be implied anymore in the transformer and the request option.
utf-8
inHeaders
content type constants has been removed.BaseOptions.setRequestContentTypeWhenNoPayload
has been removed.DioError
s. There are now more cases in which the inner original stacktrace is supplied.HttpClientAdapter
must now be implemented instead of extended.dart:io
platforms can now be imported viaimport 'package:diox/io.dart';
.Classes specific to web can be imported via
import 'package:diox/browser.dart';
.connectTimeout
,sendTimeout
, andreceiveTimeout
are nowDuration
s.v4.0.4
Compare Source
What's Changed
New Contributors
Full Changelog: cfug/dio@4.0.3...4.0.4
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
stable version
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.