Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ed6519d

Browse files
committedJan 10, 2017
chore: upgrade version name(1.3.9->1.4.0) code(36->37)
1 parent 771d6c3 commit ed6519d

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed
 

‎CHANGELOG-ZH.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,28 @@
22

33
> [ Change log in english](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG.md)
44
5+
## Version 1.4.0
6+
7+
_2017-01-11_
8+
9+
#### 性能与提高
10+
11+
- 提高性能: 优化`FileDownloader#init`中的逻辑, 使其更加的轻量(仅仅做了赋值`context``maker`的操作)
12+
13+
#### 修复
14+
15+
- 修复(pause): 修复高并发情况下,当在启动一个任务的时候,很短的时间间隔内去暂停一个任务,可能无法暂停下来任务的问题。 Closes #402
16+
- 修复(init FileDownloader): 修复在很低概率下在`FileDownloadService`所在进程初始化FileDownloader时出现Crash的问题。 Closes #420
17+
- 修复(FileDownloadHttpException): 修复在遇到`FileDownloadHttpException`类型Crash时,由于字符串的formatter无法匹配导致Crash的问题 Closes #438
18+
519
## Version 1.3.9
620

721
_2016-12-18_
822

923
### 核心:
1024

1125
- 这个版本开始,你可以定制自己的网络连接组件: [FileDownloadConnection][FileDownloadConnection-java-link],默认情况下我们使用[这个][FileDownloadUrlConnection-java-link]
12-
- 这个版本开始,我们不再默认依赖okhttp,你可以根据自己的需求进行定制。
26+
- 这个版本开始,我们不再默认依赖okhttp,你可以根据自己的需求进行定制。(如果你依然想要使用okhttp,可以考虑集成下这个[仓库](https://github.com/Jacksgong/filedownloader-okhttp3-connection))
1327

1428
> 如果你依然需要配置`timeout``proxy`,请不用担心,我已经对默认的网络连接组件实现了这几个接口: [DemoApplication](https://github.com/lingochamp/FileDownloader/blob/master/demo/src/main/java/com/liulishuo/filedownloader/demo/DemoApplication.java#L35),如果有需要可以看看。
1529

‎CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,28 @@
22

33
> [中文迭代日志](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG-ZH.md)
44
5+
## Version 1.4.0
6+
7+
_2017-01-11_
8+
9+
#### Enhancement
10+
11+
- Improve Performance: Optimize the logic in `FileDownloader#init`, let it more lighter(just do some action like assign `context` and `maker`)
12+
13+
#### Fix
14+
15+
- Fix(pause): fix can't stop the task when occur the high concurrency event about pausing task after start it in very close time. Closes #402
16+
- Fix(init FileDownloader): fix the very low frequent crash when init FileDownloader on the process the `FileDownloadService` settled on. Closes #420
17+
- Fix(FileDownloadHttpException): fix params can't match the formatter when occur `FileDownloadHttpException` Closes #438
18+
519
## Version 1.3.9
620

721
_2016-12-18_
822

923
### Important:
1024

1125
- Since this version you can customize you own [FileDownloadConnection][FileDownloadConnection-java-link] component, we use [this one][FileDownloadUrlConnection-java-link] as default.
12-
- Since this version, FileDownloader don't dependency the okhttp as default.
26+
- Since this version, FileDownloader don't dependency the okhttp as default. (If you still want to use the okhttp as your connection component, you can integrate [this repo](https://github.com/Jacksgong/filedownloader-okhttp3-connection) feel free)
1327

1428
> If you still need configure `timeout``proxy` for the connection component, but you don't want to implement your own one, don't worry, I implement it for the default connection component too, just move to : [DemoApplication](https://github.com/lingochamp/FileDownloader/blob/master/demo/src/main/java/com/liulishuo/filedownloader/demo/DemoApplication.java#L35), check the code if you want.
1529

‎README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Android 文件下载引擎,稳定、高效、灵活、简单易用
5757
在项目中引用:
5858

5959
```groovy
60-
compile 'com.liulishuo.filedownloader:library:1.3.9'
60+
compile 'com.liulishuo.filedownloader:library:1.4.0'
6161
```
6262

6363
> 如果是eclipse引入jar包参考: [这里](https://github.com/lingochamp/FileDownloader/issues/212#issuecomment-232240415)

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FileDownloader is installed by adding the following dependency to your `build.gr
2424

2525
```groovy
2626
dependencies {
27-
compile 'com.liulishuo.filedownloader:library:1.3.9'
27+
compile 'com.liulishuo.filedownloader:library:1.4.0'
2828
}
2929
```
3030

‎gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=1.3.9
2-
VERSION_CODE=36
1+
VERSION_NAME=1.4.0
2+
VERSION_CODE=37
33
BUILD_TOOLS_VERSION=24.0.2
44
COMPILE_SDK_VERSION=24
55

0 commit comments

Comments
 (0)
Failed to load comments.