Skip to content

Commit da1cfd8

Browse files
authored
Merge pull request #407 from YangSen-qn/refactor
Refactor modify CHANGELOG.md
2 parents fc762c2 + 8e1c238 commit da1cfd8

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#Changelog
22
## 8.0.0 (2020-08-06)
33
## 重构
4-
8.0.0版本相对于7.4.6版本的改进
4+
8.0.0版本相对于7.x版本的改进
55
- 优化上传流程
66
- 优化重试方案
7+
- 更改dns解析自定义方式:通过GlobalConfiguration进行配置
8+
- 更改并发上传配置方式:通过Configuration配置,useConcurrentResumeUpload配置是否开启并发上传 & concurrentTaskCount配置并发上传任务数量
79

810
8.0.0版本是在7.x版本基础上,在保证上传接口不变的条件下进行的升级,代码修改信息如下:
911
- 增加的内部使用类:GlobalConfiguration(dns配置类)、HttpRegionRequest、UploadRequestState等
@@ -15,9 +17,6 @@
1517

1618
详细情况请参考:[Android_Changes_from_7.x_to_8.0.0.md](./doc/Android_Changes_from_7.x_to_8.0.0.md)
1719

18-
注:
19-
- dns配置类:GlobalConfiguration
20-
- 设置并发上传:Configuration -> useConcurrentResumeUpload & concurrentTaskCount
2120

2221
# 7.6.5
2322
* 优化Dns local cache
@@ -288,3 +287,4 @@
288287
* 项目使用Android Studio构建
289288
* 实现crc32的检查
290289
* 支持取消上传
290+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ https://github.com/qiniudemo/qiniu-lab-android
4141
[happy-dns下载地址](https://repo1.maven.org/maven2/com/qiniu/happy-dns/)
4242

4343
### 通过maven
44-
* Adroid Studio中添加dependencies 或者 在项目中添加maven依赖
44+
* Android Studio中添加dependencies 或者 在项目中添加maven依赖
4545
```
4646
// 1. 直接导入
4747
implementation 'com.qiniu:qiniu-android-sdk:8.0.+'

doc/Android_Changes_from_7.x_to_8.0.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Differences from 7.6.4 to 8.0.0
33

44
注:
5-
- dns配置类:`GlobalConfiguration`
6-
- 设置并发上传:`Configuration` -> `useConcurrentResumeUpload` & `concurrentTaskCount`
5+
- 更改dns解析自定义方式:通过GlobalConfiguration进行配置
6+
- 更改并发上传配置方式:通过Configuration配置,useConcurrentResumeUpload配置是否开启并发上传 & concurrentTaskCount配置并发上传任务数量
77

88

99
## 1. com.qiniu.android.storage

library/src/main/java/com/qiniu/android/storage/PartsUpload.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ abstract class PartsUpload extends BaseUpload {
3434
protected PartsUpload(File file,
3535
String key,
3636
UpToken token,
37-
UploadOptions option,
38-
Configuration config,
39-
Recorder recorder,
40-
String recorderKey,
41-
UpTaskCompletionHandler completionHandler) {
37+
UploadOptions option,
38+
Configuration config,
39+
Recorder recorder,
40+
String recorderKey,
41+
UpTaskCompletionHandler completionHandler) {
4242
super(file, key, token, option, config, recorder, recorderKey, completionHandler);
4343
RandomAccessFile randomAccessFile = null;
4444
if (file != null){

0 commit comments

Comments
 (0)