Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Releases: cfug/diox

v5.0.0

10 Feb 07:12
a874d7f
Compare
Choose a tag to compare

This is the first stable release of the diox package.

What's Changed

  • Change Dio.transformer from DefaultTransformer to BackgroundTransformer.
  • Remove plain ASCII check in FormData.
  • Allow asynchronized method with savePath.
  • Allow data in all request methods.
  • A platform independent HttpClientAdapter can now be instantiated by doing
    dio.httpClientAdapter = HttpClientAdapter();.
  • Add ValidateCertificate to handle certificate pinning better.
  • Support Content-Disposition header case sensitivity.

Breaking Changes

  • Content type with application/json and application/x-www-form-urlencoded
    will not be implied anymore in the transformer and the request option.
  • The default charset utf-8 in Headers content type constants has been removed.
  • BaseOptions.setRequestContentTypeWhenNoPayload has been removed.
  • Remove BaseOptions.setRequestContentTypeWhenNoPayload.
  • Improve DioErrors. There are now more cases in which the inner original stacktrace is supplied.
  • HttpClientAdapter must now be implemented instead of extended.
  • Any classes specific to dart:io platforms can now be imported via import 'package:diox/io.dart';.
    Classes specific to web can be imported via import 'package:diox/browser.dart';.
  • connectTimeout, sendTimeout, and receiveTimeout are now Durations.

Contributors

v5.0.0-dev.3

29 Dec 03:28
cf233f7
Compare
Choose a tag to compare
v5.0.0-dev.3 Pre-release
Pre-release

What's Changed

  • Fix DioErrorType.other to DioErrorType.unknown in docs comment by @feicien in #47
  • Inherit content-type from options first by @AlexV525 in #51
  • Remove plain ASCII check in FormData by @AlexV525 in #53

New Contributors

Full Changelog: v5.0.0-dev.2...v5.0.0-dev.3

v5.0.0-dev.2

21 Dec 13:15
2e63df2
Compare
Choose a tag to compare
v5.0.0-dev.2 Pre-release
Pre-release

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

Full Changelog: v5.0.0-dev.1...v5.0.0-dev.2

v5.0.0-dev.1

18 Dec 15:02
0c0a5d8
Compare
Choose a tag to compare
v5.0.0-dev.1 Pre-release
Pre-release

This is the first release for the diox package.

What's Changed

  • Allow asynchronized method with savePath.
  • Allow data in all request methods.
  • A platform independent HttpClientAdapter can now be instantiated by doing
    dio.httpClientAdapter = HttpClientAdapter();.
  • Add ValidateCertificate to handle certificate pinning better.
  • Support Content-Disposition header case sensitivity.

Breaking Changes

  • Improve DioErrors. There are now more cases in which the inner original stacktrace is supplied.
  • HttpClientAdapter must now be implemented instead of extended.
  • Any classes specific to dart:io platforms can now be imported via import 'package:diox/io.dart';.
    Classes specific to web can be imported via import 'package:diox/browser.dart';.
  • connectTimeout, sendTimeout, and receiveTimeout are now Durations.

Full Changelog: https://github.com/cfug/diox/commits/v5.0.0-dev.1