This repository was archived by the owner on Feb 13, 2023. It is now read-only.
Releases: cfug/diox
Releases · cfug/diox
v5.0.0
This is the first stable release of the diox package.
What's Changed
- Change
Dio.transformerfromDefaultTransformertoBackgroundTransformer. - Remove plain ASCII check in
FormData. - Allow asynchronized method with
savePath. - Allow
datain all request methods. - A platform independent
HttpClientAdaptercan now be instantiated by doing
dio.httpClientAdapter = HttpClientAdapter();. - Add
ValidateCertificateto handle certificate pinning better. - Support
Content-Dispositionheader case sensitivity.
Breaking Changes
- Content type with
application/jsonandapplication/x-www-form-urlencoded
will not be implied anymore in the transformer and the request option. - The default charset
utf-8inHeaderscontent type constants has been removed. BaseOptions.setRequestContentTypeWhenNoPayloadhas been removed.- Remove
BaseOptions.setRequestContentTypeWhenNoPayload. - Improve
DioErrors. There are now more cases in which the inner original stacktrace is supplied. HttpClientAdaptermust now be implemented instead of extended.- Any classes specific to
dart:ioplatforms can now be imported viaimport 'package:diox/io.dart';.
Classes specific to web can be imported viaimport 'package:diox/browser.dart';. connectTimeout,sendTimeout, andreceiveTimeoutare nowDurations.
Contributors
- @ueman made their first contribution in #12
- @domesticmouse made their first contribution in #56
- @kuhnroyal made their first contribution in #58
- @chenglu made their first contribution in #60
v5.0.0-dev.3
v5.0.0-dev.2
What's Changed
- Fix links in readmes by @ueman in #39
- Add dio image provider to list of plugins by @ueman in #40
- Adds link to diox_flutter_transformer plugin by @josh-burton in #41
- Imply the default content type if capable by @AlexV525 in #46
New Contributors
- @josh-burton made their first contribution in #41
Full Changelog: v5.0.0-dev.1...v5.0.0-dev.2
v5.0.0-dev.1
This is the first release for the diox package.
What's Changed
- Allow asynchronized method with
savePath. - Allow
datain all request methods. - A platform independent
HttpClientAdaptercan now be instantiated by doing
dio.httpClientAdapter = HttpClientAdapter();. - Add
ValidateCertificateto handle certificate pinning better. - Support
Content-Dispositionheader case sensitivity.
Breaking Changes
- Improve
DioErrors. There are now more cases in which the inner original stacktrace is supplied. HttpClientAdaptermust now be implemented instead of extended.- Any classes specific to
dart:ioplatforms can now be imported viaimport 'package:diox/io.dart';.
Classes specific to web can be imported viaimport 'package:diox/browser.dart';. connectTimeout,sendTimeout, andreceiveTimeoutare nowDurations.
Full Changelog: https://github.com/cfug/diox/commits/v5.0.0-dev.1