2022-12-04 21:42:59 +08:00

58 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 3.0.7 (2021-09-04)
1. Bug Fix: 修复通过 `Request.config` 设置全局参数,多个实例`config`存在共同引用bug
## 3.0.6 (2021-05-10)
1. New Feature: APP端 增加`responseType`配置项
## 3.0.5 (2021-01-10)
### Features
* [重要] APP不再支持`CONNECT``HEAD``TRACE`请求方式。[uni.request](https://uniapp.dcloud.io/api/request/request)
* [重要]全局默认`timeout``30000`ms,改为`60000`ms
* [重要]增加`index.d.ts`文件支持。感谢`Mr_Mao`的支持。github:`https://github.com/TuiMao233`
* [重要]网络请求相关接口 uni.request、uni.uploadFile、uni.downloadFile 支持 timeout 参数。
* [重要]返回结果response 增加`fullPath`参数。
## 3.0.4 (2020-07-05)
1. New Feature: request 方法增加 ` firstIpv4 `配置项
1. New Feature: 增加 ` middleware `通用请求方法
## 3.0.3 (2020-06-16)
1. Bug Fix: 修复` params ` 选项对数组格式化错误bug
## 3.0.2 (2020-06-04)
1. Bug Fix: 修复文件上传和request 配置缺少字段bug
## 3.0.1 (2020-06-02)
1. Bug Fix: 请求方式都为` GET `的bug
## 3.0.0 (2020-06-01)
1. New Feature: 支持多拦截器
1. New Feature: 支持局部配置自定义验证器
## 2.0.1 (2020-05-01)
1. Bug Fix: 修复多实例全局配置共用问题
## 2.0.0 (2020-04-24)
1. New Feature: 增加 request ` withCredentials `选项仅h5端支持
1. New Feature: h5端 upload 增加 ` files ` ` file `选项。[uni.uploadFile](https://uniapp.dcloud.io/api/request/network-file?id=uploadfile "uni.uploadFile")
1. Enhancement: ` params ` 选项参数格式化方法使用axios 格式化方法
1. Bug Fix: 对upload 返回data 为空字符串的情况容错
1. Change: 修改header与全局合并方式。当前header = Object.assign(全局,局部)
## 0.0.0 (2019-05)
1. luch-request created