diff --git a/CHANGELOG-ZH.md b/CHANGELOG-ZH.md index cbe987e3..4ebf8dd5 100644 --- a/CHANGELOG-ZH.md +++ b/CHANGELOG-ZH.md @@ -2,6 +2,18 @@ > [ Change log in english](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG.md) +## Version 1.6.8 + +_2017-10-13_ + +#### 修复 + +- 修复: 修复断点续传失败, 由于Network线程中的`isAlive`不可靠导致的问题。 this closes #793 +- 修复: 修复断点续传失败,由于多个线程频繁的更新`status`并且`DownloadStatusCallback`的`sendMessage`无法保证有序性,导致下一次启动时最终状态是`process`无法断点续传(具体原因参看[这里](https://github.com/lingochamp/FileDownloader/issues/793#issuecomment-336370126))。 this refs #793, #764, #721, #769, #763, #761, #716 +- 修复: 不再由于任务已经结束依然存在需要派发的信息而让用户程序奔溃,因为这个对用户并不会照成影响。 this closes #562 +- 修复: 修复当用户频繁调用`pause`时,有可能出现`it can't take a snapshot for the task xxx`错误的问题。 +- 修复: 修复由于内部存储的任务对象大小存在问题,导致这样的对象任务每一次启动都必然会`416`的问题。 + ## Version 1.6.7 _2017-10-12_ diff --git a/CHANGELOG.md b/CHANGELOG.md index 1596ef50..e515d16f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ > [中文迭代日志](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG-ZH.md) +## Version 1.6.8 + +_2017-10-13_ + +#### Fix + +- Fix: fix resume from breakpoint failed because of `isAlive` not guarantee on Network-thread. this closes #793 +- Fix: fix resume from breakpoint failed, because of multi-thread update status very frequently and Messenger can't guarantee order. this refs #793, #764, #721, #769, #763, #761, #716 +- Fix: do not crash user when a task has finished but the messenger still has messages, because it's fine for the user. this closes #562 +- Fix: fix the callback error of 'it can't take a snapshot for the task xxx' when a user invokes pause very frequently. +- Fix: fix the case of process on the model is wrong which raise 416 each time when restarting it. + ## Version 1.6.7 _2017-10-12_ diff --git a/README-zh.md b/README-zh.md index e97ceb9a..8e5e6a1d 100644 --- a/README-zh.md +++ b/README-zh.md @@ -60,7 +60,7 @@ Android 文件下载引擎,稳定、高效、灵活、简单易用 在项目中引用: ```groovy -compile 'com.liulishuo.filedownloader:library:1.6.7' +compile 'com.liulishuo.filedownloader:library:1.6.8' ``` > 如果是eclipse引入jar包参考: [这里](https://github.com/lingochamp/FileDownloader/issues/212#issuecomment-232240415) diff --git a/README.md b/README.md index 06e34bfc..6fb97e0a 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.6.7' + compile 'com.liulishuo.filedownloader:library:1.6.8' } ``` diff --git a/gradle.properties b/gradle.properties index 5403e334..49dbbe34 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ -VERSION_NAME=1.6.7 -VERSION_CODE=58 +VERSION_NAME=1.6.8 +VERSION_CODE=59 BUILD_TOOLS_VERSION=25.0.0 COMPILE_SDK_VERSION=25