Skip to content

Commit

Permalink
chore: upgrade version from 1.0.0 to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksgong committed Apr 20, 2018
1 parent 25ddd76 commit 45ceb93
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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_
Expand Down
2 changes: 2 additions & 0 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 45ceb93

Please sign in to comment.