Skip to content

Commit

Permalink
Release 4.0.4: Flutter web performance improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoyvaerts committed Nov 22, 2021
1 parent 3243fb2 commit 34b8be2
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 39 deletions.
56 changes: 38 additions & 18 deletions README-ZH.md
Expand Up @@ -14,7 +14,7 @@ dio是一个强大的Dart Http请求库,支持Restful API、FormData、拦截

```yaml
dependencies:
dio: ^4.0.3
dio: ^4.0.4
```

> 如果你是dio 3.x 用户,想了解4.0的变更,请参考 [4.x更新列表](./migration_to_4.x.md)!
Expand All @@ -35,23 +35,43 @@ void getHttp() async {

## 内容列表

- [示例](#示例)
- [Dio APIs](#dio-apis)
- [请求配置](#请求配置)
- [响应数据](#响应数据)
- [拦截器](#拦截器)
- [Cookie管理](#cookie管理)
- [错误处理](#错误处理)
- [使用application/x-www-form-urlencoded编码](#使用applicationx-www-form-urlencoded编码)
- [FormData](#formdata)
- [转换器](#转换器)
- [HttpClientAdapter](#httpclientadapter )
- [设置Http代理](#设置Http代理)
- [Https证书校验](#Https证书校验)
- [Http2支持](#Http2支持)
- [请求取消](#请求取消)
- [继承 Dio class](#继承-dio-class)
- [Features and bugs](#features-and-bugs)
- [dio](#dio)
- [添加依赖](#添加依赖)
- [一个极简的示例](#一个极简的示例)
- [内容列表](#内容列表)
- [示例](#示例)
- [示例目录](#示例目录)
- [Dio APIs](#dio-apis)
- [创建一个Dio实例,并配置它](#创建一个dio实例并配置它)
- [请求方法别名](#请求方法别名)
- [请求配置](#请求配置)
- [响应数据](#响应数据)
- [拦截器](#拦截器)
- [完成和终止请求/响应](#完成和终止请求响应)
- [QueuedInterceptor](#queuedinterceptor)
- [例子](#例子)
- [日志](#日志)
- [Cookie管理](#cookie管理)
- [自定义拦截器](#自定义拦截器)
- [错误处理](#错误处理)
- [DioError 字段](#dioerror-字段)
- [DioErrorType](#dioerrortype)
- [使用application/x-www-form-urlencoded编码](#使用applicationx-www-form-urlencoded编码)
- [FormData](#formdata)
- [多文件上传](#多文件上传)
- [转换器](#转换器)
- [Flutter中设置](#flutter中设置)
- [其它示例](#其它示例)
- [执行流](#执行流)
- [HttpClientAdapter](#httpclientadapter)
- [设置Http代理](#设置http代理)
- [Https证书校验](#https证书校验)
- [Http2支持](#http2支持)
- [请求取消](#请求取消)
- [继承 Dio class](#继承-dio-class)
- [Copyright & License](#copyright--license)
- [Features and bugs](#features-and-bugs)
- [支持](#支持)


## 示例
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ A powerful Http client for Dart, which supports Interceptors, Global configurati

```yaml
dependencies:
dio: ^4.0.3
dio: ^4.0.4
```
> Already know Dio 3 and just want to learn about what's new in Dio 4? Check out the [Migration Guide](./migration_to_4.x.md)!
Expand Down
2 changes: 2 additions & 0 deletions dio/CHANGELOG.md
@@ -1,3 +1,5 @@
# 4.0.4
- Fix download performance on Flutter Web ([#1318](https://github.com/flutterchina/dio/pull/1318))

# 4.0.3
- fix #1311
Expand Down
56 changes: 38 additions & 18 deletions dio/README-ZH.md
Expand Up @@ -14,7 +14,7 @@ dio是一个强大的Dart Http请求库,支持Restful API、FormData、拦截

```yaml
dependencies:
dio: ^4.0.3
dio: ^4.0.4
```

> 如果你是dio 3.x 用户,想了解4.0的变更,请参考 [4.x更新列表](./migration_to_4.x.md)!
Expand All @@ -35,23 +35,43 @@ void getHttp() async {

## 内容列表

- [示例](#示例)
- [Dio APIs](#dio-apis)
- [请求配置](#请求配置)
- [响应数据](#响应数据)
- [拦截器](#拦截器)
- [Cookie管理](#cookie管理)
- [错误处理](#错误处理)
- [使用application/x-www-form-urlencoded编码](#使用applicationx-www-form-urlencoded编码)
- [FormData](#formdata)
- [转换器](#转换器)
- [HttpClientAdapter](#httpclientadapter )
- [设置Http代理](#设置Http代理)
- [Https证书校验](#Https证书校验)
- [Http2支持](#Http2支持)
- [请求取消](#请求取消)
- [继承 Dio class](#继承-dio-class)
- [Features and bugs](#features-and-bugs)
- [dio](#dio)
- [添加依赖](#添加依赖)
- [一个极简的示例](#一个极简的示例)
- [内容列表](#内容列表)
- [示例](#示例)
- [示例目录](#示例目录)
- [Dio APIs](#dio-apis)
- [创建一个Dio实例,并配置它](#创建一个dio实例并配置它)
- [请求方法别名](#请求方法别名)
- [请求配置](#请求配置)
- [响应数据](#响应数据)
- [拦截器](#拦截器)
- [完成和终止请求/响应](#完成和终止请求响应)
- [QueuedInterceptor](#queuedinterceptor)
- [例子](#例子)
- [日志](#日志)
- [Cookie管理](#cookie管理)
- [自定义拦截器](#自定义拦截器)
- [错误处理](#错误处理)
- [DioError 字段](#dioerror-字段)
- [DioErrorType](#dioerrortype)
- [使用application/x-www-form-urlencoded编码](#使用applicationx-www-form-urlencoded编码)
- [FormData](#formdata)
- [多文件上传](#多文件上传)
- [转换器](#转换器)
- [Flutter中设置](#flutter中设置)
- [其它示例](#其它示例)
- [执行流](#执行流)
- [HttpClientAdapter](#httpclientadapter)
- [设置Http代理](#设置http代理)
- [Https证书校验](#https证书校验)
- [Http2支持](#http2支持)
- [请求取消](#请求取消)
- [继承 Dio class](#继承-dio-class)
- [Copyright & License](#copyright--license)
- [Features and bugs](#features-and-bugs)
- [支持](#支持)


## 示例
Expand Down
2 changes: 1 addition & 1 deletion dio/README.md
Expand Up @@ -12,7 +12,7 @@ A powerful Http client for Dart, which supports Interceptors, Global configurati

```yaml
dependencies:
dio: ^4.0.3
dio: ^4.0.4
```
> Already know Dio 3 and just want to learn about what's new in Dio 4? Check out the [Migration Guide](./migration_to_4.x.md)!
Expand Down
2 changes: 1 addition & 1 deletion dio/pubspec.yaml
@@ -1,6 +1,6 @@
name: dio
description: A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.
version: 4.0.3
version: 4.0.4
homepage: https://github.com/flutterchina/dio

environment:
Expand Down

0 comments on commit 34b8be2

Please sign in to comment.