From 203c171631ae14240873aa03b9cdb8a9e8a3dfd1 Mon Sep 17 00:00:00 2001 From: Jacksgong Date: Sat, 28 Apr 2018 00:24:16 +0800 Subject: [PATCH] chore: upgrade the release version from 1.0.1 to 1.0.2 --- CHANGELOG.md | 24 ++++++++++++++++++++++++ README-zh.md | 2 +- README.md | 2 +- gradle.properties | 2 +- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5956c8f6..1d4de2dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +### 1.0.2 + +_2018-04-28_ + +#### Feature + +- Change the default sync buffer interval millisecond from 3000 to 2000, because the default value also 2000ms on download-provider. +- Carry the user set header fields on trial-connection also. refs #42 +- Support set connection count through `DownloadTask.Builder#setConnectionCount`. refs #31 +- Support set pre-allocate-length through `DownloadTask.Builder#setPreAllocateLength` refs #31 + +#### Stability + +- Using the more stability design to ensure there is only one thread operates with output-stream and ensure close output-stream after the last operation for one task's output-stream. refs #39 + +#### Bug Fix + +- End the store-info operation after output-stream real finished instead of on download-dispatcher for each task. refs #39 +- Fix exception isn't the real one when creating a task with wrong params. refs #41 +- Fix the remit optimize isn't effective on remit-database when the task is canceled within remit-delay-time. +- Fix the illegal runtime exception is raised when download chunked resources. refs #35 +- Fix the result of `getTotalOffset` and `getTotalLength` isn't right on `BreakpointInfo` when chunked resource completed download. refs #35 +- Fix can't resume when the file length is larger than current response instant-length because of the old file isn't delete when the file is dirty. + ### 1.0.1 _2018-04-20_ diff --git a/README-zh.md b/README-zh.md index 2bcc6e6a..67509e50 100644 --- a/README-zh.md +++ b/README-zh.md @@ -62,7 +62,7 @@ limitations under the License. ``` [okdownload_svg]: https://img.shields.io/badge/Android-OkDownload-green.svg -[okdownload_snapshot_svg]: https://img.shields.io/badge/SnapShot-1.0.2-yellow.svg +[okdownload_snapshot_svg]: https://img.shields.io/badge/SnapShot-1.0.3-yellow.svg [sample_home_img]: https://github.com/lingochamp/okdownload/raw/master/art/sample-home.jpeg [single_download_img]: https://github.com/lingochamp/okdownload/raw/master/art/single-download.gif [each_block_progress_img]: https://github.com/lingochamp/okdownload/raw/master/art/each-block-progress.gif diff --git a/README.md b/README.md index 780c941c..2f9c8107 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ limitations under the License. ``` [okdownload_svg]: https://img.shields.io/badge/Android-OkDownload-green.svg -[okdownload_snapshot_svg]: https://img.shields.io/badge/SnapShot-1.0.2-yellow.svg +[okdownload_snapshot_svg]: https://img.shields.io/badge/SnapShot-1.0.3-yellow.svg [sample_home_img]: https://github.com/lingochamp/okdownload/raw/master/art/sample-home.jpeg [single_download_img]: https://github.com/lingochamp/okdownload/raw/master/art/single-download.gif [each_block_progress_img]: https://github.com/lingochamp/okdownload/raw/master/art/each-block-progress.gif diff --git a/gradle.properties b/gradle.properties index d3741287..b208d84e 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.2-SNAPSHOT +VERSION_NAME=1.0.2 POM_URL=https://github.com/lingochamp/okdownload/ ISSUE_URL=https://github.com/lingochamp/okdownload/issues/