diff --git a/CHANGELOG.md b/CHANGELOG.md index e1386ada..5956c8f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +### 1.0.1 + +_2018-04-20_ + +#### Feature + +- Support get info reference from task reference because after task completed we delete info from the cache for health lifecycle but people may need info reference for the task +- Add `taskDownloadFromBreakpoint` and `taskDownloadFromBeginning` for `DownloadMonitor` +- Use exactly range even for the last block to cover the case of some resource response unexpected content range when request range is to end. closes #17 +- Support `taskEnd` on `DownloadContextListener` which will carry back how many counts remain after this callback +- Support cancel task just used its id. closes #30 + +#### Stability + +- Cover the case of the length of the local file is larger than the total length of info for the `BreakpointLocalCheck` + +#### Bug Fix + +- Fix unexpected completed returned by `StatusUtil` when the file exists but the user doesn't use persist database such as `sqlite` +- Fix DownloadTask.toBuilder set a duplicate filename in some cases +- Fix raise runtime type exception when removing data from the breakpoint store straightly after canceling the task. closes #34 +- Fix `fd` isn't released manually when download finished which may raise OOM when there are a large number of tasks that are continuously initiated. + ### 1.0.0 _2018-04-06_ diff --git a/README-zh.md b/README-zh.md index ca0d1122..4ff86367 100644 --- a/README-zh.md +++ b/README-zh.md @@ -12,6 +12,8 @@ --- +> P.S. 如果你问我,哪个版本是最稳定的版本,我会告诉你不是1.0.0或是2.0.0版本,而是最新的版本,因为我们采用的是github开发流,而非产品的开发流。因此请使用最新的Release版本,欢迎PR。这是[每个版本的变更集](https://github.com/lingochamp/okdownload/blob/master/CHANGELOG.md)应该可以帮助到你。 + ## I. 为什么选择 实际上,OkDownload是FileDownloader2,它继承了所有FileDownloader的优点,甚至做了更多的优化以及更多的特性,相关更详细的描述请移步到[这里](https://github.com/lingochamp/okdownload/wiki/Why-Choose-OkDownload) diff --git a/README.md b/README.md index 70bc7a34..dfc0310f 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ A Reliable, Flexible, Fast and Powerful download engine. --- +> P.S. If you ask me, which version is the most stability, I will tell you it's not the version of 1.0.0 or 2.0.0, the most stability version must be the latest version because it is developed with github-flow, not production-flow. So please follow the latest release version and show me your PR. Here is [the changelog for each version](https://github.com/lingochamp/okdownload/blob/master/CHANGELOG.md), it may help you. + ## I. WHY CHOOSE In fact OkDownload is FileDownloader2, which extends all benefits from FileDownloader and beyond. More detail please move to [here](https://github.com/lingochamp/okdownload/wiki/Why-Choose-OkDownload) diff --git a/gradle.properties b/gradle.properties index 49b1d242..3a99fd50 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ org.gradle.jvmargs=-Xmx1536m # org.gradle.parallel=true GROUP=com.liulishuo.okdownload -VERSION_NAME=1.0.1-SNAPSHOT +VERSION_NAME=1.0.1 POM_URL=https://github.com/lingochamp/okdownload/ ISSUE_URL=https://github.com/lingochamp/okdownload/issues/