Skip to content

Commit

Permalink
chore: upgrade version name(1.7.1->1.7.2) code(62->63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksgong committed Mar 13, 2018
1 parent 37d54d3 commit 6218f2f
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

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

_2018-03-14_

#### 修复

- 修复: 将原本所需要下载的文件大小为`0`的时候,回调错误,修改为直接回调完成。closes #789
- 修复: 修复当存在另外一个正在下载的相同临时文件路径的任务时,数据库中存在数据未被删除的问题。closes #953
- 修复: 修复在重试后重试之前下载的进度丢失的问题。closes #958
- 修复: 修复当试探连接没有提供`Content-Range`字段,但是提供`Content-Length`字段时,计算出的总长度始终是`1`的问题。

#### 性能与提高

- 提高实用性: 当在响应头中不存在`Content-Length`字段时,使用隐藏在`Content-Range`中的内容大小数据。 cloese #968

## Version 1.7.1

_2018-02-05_
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

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

_2018-03-14_

#### Fix

- Fix: do not download callback error when the instance length of the task is zero, callback complete directly instead. close #789
- Fix: fix the temp duplicate data on the database isn't removed when there are another running task with the same temp file path. closes #953
- Fix: the data lost when retry. cloese #958
- Fix: fix the instance length is always `1` when the `Content-Range` isn't provided but the `Content-Length` is provided on the trial connection.

#### Enhancement

- Improve Practicability: using the content length value on the `Content-Range` field when there isn't `Content-Length` field found on the response header. closes #968

## Version 1.7.1

_2018-02-05_
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.7.1'
compile 'com.liulishuo.filedownloader:library:1.7.2'
```

> 如果是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.7.1'
compile 'com.liulishuo.filedownloader:library:1.7.2'
}
```

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.7.1
VERSION_CODE=62
VERSION_NAME=1.7.2
VERSION_CODE=63
BUILD_TOOLS_VERSION=26.0.2
COMPILE_SDK_VERSION=26

Expand Down

0 comments on commit 6218f2f

Please sign in to comment.