Skip to content

Commit

Permalink
chore: upgrade version name(1.6.9->1.7.0) code(60->61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksgong committed Feb 1, 2018
1 parent 1e26062 commit 84e03e8
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 4 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

> [ Change log in english](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG.md)
## Version 1.7.0

_2018-02-01_

#### 修复

- 修复: 通过同步处理暂停操作与状态的更新来修复状态不是一个正确向前的流的问题。 close #889
- 修复: 修复在`pending`状态回调时带回来已经被弃用的`sofar-bytes`。 close #884
- 修复: 修复当`filename`没有用`"`包裹时,无法通过`content-dispostion`获取文件名的问题。 close #908
- 修复: 修正`setCallbackProgressTimes`设置的次数不能正常生效的问题。 close #901
- 修复: 修复由于试探连接采用`0-infinite``Range`导致下载了无用内容到tcp-window的问题。close #933
- 修复: 在连接`ending`的时候再次主动关闭输入流,防止输入流泄漏特别是对于试探连接来说。

#### 性能与提高

- 提高实用性: 当临时文件重命名为目标文件成功时,不再做一次移除临时文件的操作,防止一些文件系统报错的问题。close #912
- 提高实用性: 当确定本地提供的`Range`是正确的,但是后端却返回`416`时,将完全弃用`Range`请求头。close #921
- 提高性能: 为试探连接使用`HEAD`的请求替代`GET`方法,提高试探通信效率。 ref #933

## Version 1.6.9

_2017-12-16_
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

> [中文迭代日志](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG-ZH.md)
## Version 1.7.0

_2018-02-01_

#### Fix

- Fix: fix update status can't keep flow through making updating status synchronized with pause action. close #889
- Fix: fix the sofar-bytes carry back through pending state callback has already discarded. close #884
- Fix: fix can't find filename if filename value on content-disposition without around with ". close #908
- Fix: correct `setCallbackProgressTimes` method make `setCallbackProgressTimes` work correctly. close #901
- Fix: fix download useless data on tcp-window because of the first trial connection use `0-infinite` range. close #933
- Fix: close intput stream when connection ending avoid input-stream leak especially for the trial connection.

#### Enhancement

- 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
- Improve Practicability: discard range totally if range is right but backend response 416. close #921
- Improve Performance: using HEAD request method instead of GET method for trial connect. ref #933

## Version 1.6.9

_2017-12-16_
Expand Down
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Android 文件下载引擎,稳定、高效、灵活、简单易用
在项目中引用:

```groovy
compile 'com.liulishuo.filedownloader:library:1.6.9'
compile 'com.liulishuo.filedownloader:library:1.7.0'
```

> 如果是eclipse引入jar包参考: [这里](https://github.com/lingochamp/FileDownloader/issues/212#issuecomment-232240415)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ FileDownloader is installed by adding the following dependency to your `build.gr

```groovy
dependencies {
compile 'com.liulishuo.filedownloader:library:1.6.9'
compile 'com.liulishuo.filedownloader:library:1.7.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.6.9
VERSION_CODE=60
VERSION_NAME=1.7.0
VERSION_CODE=61
BUILD_TOOLS_VERSION=26.0.2
COMPILE_SDK_VERSION=26

Expand Down

0 comments on commit 84e03e8

Please sign in to comment.