Skip to content

Commit 84e03e8

Browse files
committed
chore: upgrade version name(1.6.9->1.7.0) code(60->61)
1 parent 1e26062 commit 84e03e8

5 files changed

Lines changed: 42 additions & 4 deletions

File tree

CHANGELOG-ZH.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
> [ Change log in english](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG.md)
44
5+
## Version 1.7.0
6+
7+
_2018-02-01_
8+
9+
#### 修复
10+
11+
- 修复: 通过同步处理暂停操作与状态的更新来修复状态不是一个正确向前的流的问题。 close #889
12+
- 修复: 修复在`pending`状态回调时带回来已经被弃用的`sofar-bytes`。 close #884
13+
- 修复: 修复当`filename`没有用`"`包裹时,无法通过`content-dispostion`获取文件名的问题。 close #908
14+
- 修复: 修正`setCallbackProgressTimes`设置的次数不能正常生效的问题。 close #901
15+
- 修复: 修复由于试探连接采用`0-infinite``Range`导致下载了无用内容到tcp-window的问题。close #933
16+
- 修复: 在连接`ending`的时候再次主动关闭输入流,防止输入流泄漏特别是对于试探连接来说。
17+
18+
#### 性能与提高
19+
20+
- 提高实用性: 当临时文件重命名为目标文件成功时,不再做一次移除临时文件的操作,防止一些文件系统报错的问题。close #912
21+
- 提高实用性: 当确定本地提供的`Range`是正确的,但是后端却返回`416`时,将完全弃用`Range`请求头。close #921
22+
- 提高性能: 为试探连接使用`HEAD`的请求替代`GET`方法,提高试探通信效率。 ref #933
23+
524
## Version 1.6.9
625

726
_2017-12-16_

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
> [中文迭代日志](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG-ZH.md)
44
5+
## Version 1.7.0
6+
7+
_2018-02-01_
8+
9+
#### Fix
10+
11+
- Fix: fix update status can't keep flow through making updating status synchronized with pause action. close #889
12+
- Fix: fix the sofar-bytes carry back through pending state callback has already discarded. close #884
13+
- Fix: fix can't find filename if filename value on content-disposition without around with ". close #908
14+
- Fix: correct `setCallbackProgressTimes` method make `setCallbackProgressTimes` work correctly. close #901
15+
- Fix: fix download useless data on tcp-window because of the first trial connection use `0-infinite` range. close #933
16+
- Fix: close intput stream when connection ending avoid input-stream leak especially for the trial connection.
17+
18+
#### Enhancement
19+
20+
- Improve Practicability: do not remove the temp-file if rename it to the target path success to prevent raise some file-system problem. close #912
21+
- Improve Practicability: discard range totally if range is right but backend response 416. close #921
22+
- Improve Performance: using HEAD request method instead of GET method for trial connect. ref #933
23+
524
## Version 1.6.9
625

726
_2017-12-16_

README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Android 文件下载引擎,稳定、高效、灵活、简单易用
5959
在项目中引用:
6060

6161
```groovy
62-
compile 'com.liulishuo.filedownloader:library:1.6.9'
62+
compile 'com.liulishuo.filedownloader:library:1.7.0'
6363
```
6464

6565
> 如果是eclipse引入jar包参考: [这里](https://github.com/lingochamp/FileDownloader/issues/212#issuecomment-232240415)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ FileDownloader is installed by adding the following dependency to your `build.gr
2626

2727
```groovy
2828
dependencies {
29-
compile 'com.liulishuo.filedownloader:library:1.6.9'
29+
compile 'com.liulishuo.filedownloader:library:1.7.0'
3030
}
3131
```
3232

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=1.6.9
2-
VERSION_CODE=60
1+
VERSION_NAME=1.7.0
2+
VERSION_CODE=61
33
BUILD_TOOLS_VERSION=26.0.2
44
COMPILE_SDK_VERSION=26
55

0 commit comments

Comments
 (0)