From 6218f2f8b85d7452c24e09c1610fac958932a718 Mon Sep 17 00:00:00 2001 From: Jacksgong Date: Wed, 14 Mar 2018 00:57:17 +0800 Subject: [PATCH] chore: upgrade version name(1.7.1->1.7.2) code(62->63) --- CHANGELOG-ZH.md | 15 +++++++++++++++ CHANGELOG.md | 15 +++++++++++++++ README-zh.md | 2 +- README.md | 2 +- gradle.properties | 4 ++-- 5 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG-ZH.md b/CHANGELOG-ZH.md index 3d5ec41f..8fa43515 100644 --- a/CHANGELOG-ZH.md +++ b/CHANGELOG-ZH.md @@ -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_ diff --git a/CHANGELOG.md b/CHANGELOG.md index a9f560ea..9fb11799 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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_ diff --git a/README-zh.md b/README-zh.md index 673b3193..1c8ea9de 100644 --- a/README-zh.md +++ b/README-zh.md @@ -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) diff --git a/README.md b/README.md index 27a736d1..a6db65f6 100644 --- a/README.md +++ b/README.md @@ -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' } ``` diff --git a/gradle.properties b/gradle.properties index bc8947b2..df40ad0e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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