File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
+
3
+ ## 7.21.0
4
+ * 新增
5
+ * 统一环境变量和配置文件
6
+ * 新版存储客户端库 storagev2 包,包含
7
+ * 新的 [ resolver] ( github.com/qiniu/go-sdk/v7/storagev2/resolver ) 包设计,可以为 HTTP 客户端指定域名解析器
8
+ * 新的 [ chooser] ( github.com/qiniu/go-sdk/v7/storagev2/chooser ) 包设计,可以为 HTTP 客户端选择成功率较高的 IP 地址
9
+ * 新的 [ backoff] ( github.com/qiniu/go-sdk/v7/storagev2/backoff ) 包设计,可以为 HTTP 客户端指定重试退避时长
10
+ * 新的 [ retrier] ( github.com/qiniu/go-sdk/v7/storagev2/retrier ) 包设计,可以为 HTTP 客户端指定重试策略
11
+ * 为 HTTP 客户端新增 uplog 机制
12
+
2
13
## 7.20.2
3
14
* 修复
4
15
* 修复通过 FormUploader 上传的文件无法正确设置 Content-Type 的问题
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ github.com/qiniu/go-sdk
17
17
在您的项目中的 ` go.mod ` 文件内添加这行代码
18
18
19
19
```
20
- require github.com/qiniu/go-sdk/v7 v7.20.2
20
+ require github.com/qiniu/go-sdk/v7 v7.21.0
21
21
```
22
22
23
23
并且在项目中使用 ` "github.com/qiniu/go-sdk/v7" ` 引用 Qiniu Go SDK。
Original file line number Diff line number Diff line change 4
4
"github.com/qiniu/go-sdk/v7/internal/env"
5
5
)
6
6
7
- const Version = "7.20.2 "
7
+ const Version = "7.21.0 "
8
8
9
9
const (
10
10
CONTENT_TYPE_JSON = "application/json"
You can’t perform that action at this time.
0 commit comments