Skip to content

Commit

Permalink
chore: upgrade version name(1.5.5->1.5.6) version(46->47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksgong committed Jun 18, 2017
1 parent 44892b3 commit 76ed5bc
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 4 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

> [ Change log in english](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG.md)
## Version 1.5.6

_2017-06-18_

#### 修复

- 修复(crash): 修复当调用`findRunningTaskIdBySameTempPath`的同时请求了暂停可能导致NPE奔溃的问题。 Closes #613
- 修复(crash): 修复返回状态是`206`并且它的ETAG发生变化时导致`IllegalArgumentException`错误奔溃的问题。 Closes #612
- 修复(crash): 修复当用户请求下载需要Wifi并当前不是Wifi环境时,出现`FileDownloadNetworkPolicyException`未处理导致奔溃的问题。 感谢 @tao
- 修复(crash): 修复当用户直接从`v1.4.3`升级到`v1.5.2`并且在一些其他综合因素下(具体可以参见 #610 ) 初始化数据库时出现`IllegalStateException`错误奔溃的问题。Closes #610
- 修复(crash): 修复当回调流已经结束当时与此同时刚好出现错误或下载完成或暂停,小概率会出现`IllegalStateException`奔溃的问题。
- 修复(no-response): 修复在接收到`connected`回调之后,多线程下载建立连接,此时在检验连接与数据获取连接期间服务端数据发生错误或变更导致启动下载后没有响应的问题。

#### 性能与提高

- 提高实用性: 当父级目录创建失败时直接回调`error`。 Closes #542
- 提高实用性: 处理了返回状态是`416`的情况。 Refs #612

## Version 1.5.5

_2017-06-12_
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

> [中文迭代日志](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG-ZH.md)
## Version 1.5.6

_2017-06-18_

#### Fix

- Fix(crash): fix raise NPE crash when require paused a task and invoking `findRunningTaskIdBySameTempPath` at the same time. Closes #613
- Fix(crash): fix raise `IllegalArgumentException` when response code is 206 and its ETAG is changed. Closes #612
- Fix(crash): fix raise `FileDownloadNetworkPolicyException` unhandled exception, when user enable wifi-required but no wifi-state. Thanks @tao
- Fix(crash): fix raise `IllegalStateException` when user upgrades from `v1.4.3` or older version to `v1.5.2` or newer version directly and some more conditions, more detail please move to #610
- Fix(crash): fix some small probability case raise `IllegalStateException` when callback-flow has been final but occurring completed/error at the same time.
- Fix(no-response): fix no-response after start download and receive connected callback because the resource state has been changed during the connection of verification and connections of fetch data.

#### Enhancement

- Improve Practicability: callback `error` directly when create the parent directory failed. Closes #542
- Improve Practicability: handle the case of response code is `416`. Closes #612

## Version 1.5.5

_2017-06-12_
Expand Down
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Android 文件下载引擎,稳定、高效、灵活、简单易用
在项目中引用:

```groovy
compile 'com.liulishuo.filedownloader:library:1.5.5'
compile 'com.liulishuo.filedownloader:library:1.5.6'
```

> 如果是eclipse引入jar包参考: [这里](https://github.com/lingochamp/FileDownloader/issues/212#issuecomment-232240415)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ FileDownloader is installed by adding the following dependency to your `build.gr

```groovy
dependencies {
compile 'com.liulishuo.filedownloader:library:1.5.5'
compile 'com.liulishuo.filedownloader:library:1.5.6'
}
```

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.5.5
VERSION_CODE=46
VERSION_NAME=1.5.6
VERSION_CODE=47
BUILD_TOOLS_VERSION=25.0.0
COMPILE_SDK_VERSION=25

Expand Down

0 comments on commit 76ed5bc

Please sign in to comment.