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

Commit

Permalink
🔖 Stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Feb 10, 2023
1 parent 4bc5bdf commit a874d7f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 32 deletions.
25 changes: 5 additions & 20 deletions dio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
# CHANGELOG

## UNRELEASED
## 5.0.0

- Change `Dio.transformer` from `DefaultTransformer` to `BackgroundTransformer`.

### 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.

## 5.0.0-dev.3

- Remove plain ASCII check in `FormData`.
- Inherit `content-type` from `Options` first.

## 5.0.0-dev.2

- Revert the removal of `setRequestContentTypeWhenNoPayload`
and provide better conditions for the default `content-type` header.

## 5.0.0-dev.1

- Allow asynchronized method with `savePath`.
- Allow `data` in all request methods.
- A platform independent `HttpClientAdapter` can now be instantiated by doing
Expand All @@ -32,6 +13,10 @@

### 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 `DioError`s. There are now more cases in which the inner original stacktrace is supplied.
- `HttpClientAdapter` must now be implemented instead of extended.
Expand Down
2 changes: 1 addition & 1 deletion dio/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: |
homepage: https://github.com/cfug/diox
repository: https://github.com/cfug/diox/blob/main/dio
issue_tracker: https://github.com/cfug/diox/issues
version: 5.0.0-dev.3
version: 5.0.0

environment:
sdk: '>=2.13.0 <3.0.0'
Expand Down
4 changes: 2 additions & 2 deletions plugins/cookie_manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CHANGELOG

## 2.1.0-dev.1
## 2.1.0

* Prepare for the `diox`'s release.
* For the `diox`'s release.

## 2.0.0

Expand Down
4 changes: 2 additions & 2 deletions plugins/cookie_manager/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: diox_cookie_manager
description: A cookie manager for Dio, which supports persistent cookies in RAM and file.
version: 2.1.0-dev.1
version: 2.1.0
homepage: https://github.com/cfug/diox
repository: https://github.com/cfug/diox/blob/main/plugins/cookie_manager
issue_tracker: https://github.com/cfug/diox/issues
Expand All @@ -10,7 +10,7 @@ environment:

dependencies:
cookie_jar: ^3.0.0
diox: ^5.0.0-dev.1
diox: ^5.0.0

dev_dependencies:
lints: any
Expand Down
4 changes: 2 additions & 2 deletions plugins/http2_adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CHANGELOG

## 2.1.0-dev.1
## 2.1.0

* Prepare for the `diox`'s release.
* For the `diox`'s release.
* Add `validateCertificate` for `ClientSetting`.

## [2.0.0]
Expand Down
4 changes: 2 additions & 2 deletions plugins/http2_adapter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: diox_http2_adapter
description: A Dio HttpClientAdapter which support Http/2.0(Support connection reuse, header compression, server pushing is not supported yet.)
version: 2.1.0-dev.1
version: 2.1.0
homepage: https://github.com/cfug/diox
repository: https://github.com/cfug/diox/blob/main/plugins/http2_adapter
issue_tracker: https://github.com/cfug/diox/issues
Expand All @@ -10,7 +10,7 @@ environment:

dependencies:
http2: ^2.0.0
diox: ^5.0.0-dev.1
diox: ^5.0.0

dev_dependencies:
crypto: ^3.0.2
Expand Down
2 changes: 1 addition & 1 deletion plugins/native_diox_adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 0.0.1-dev.1
## 0.0.1

- Initial version.
4 changes: 2 additions & 2 deletions plugins/native_diox_adapter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: native_diox_adapter
description: A client for diox which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform.
version: 0.0.1-dev.1
version: 0.0.1
homepage: https://github.com/cfug/diox
repository: https://github.com/cfug/diox/blob/main/plugins/native_diox_adapter
issue_tracker: https://github.com/cfug/diox/issues
Expand All @@ -10,7 +10,7 @@ environment:
flutter: ">=3.0.0"

dependencies:
diox: ^5.0.0-0
diox: ^5.0.0
cupertino_http: ^0.0.9
cronet_http: ^0.0.3
http: ^0.13.4
Expand Down

0 comments on commit a874d7f

Please sign in to comment.