Skip to content

Commit

Permalink
chore: upgrade version name(1.3.9->1.4.0) code(36->37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksgong committed Jan 10, 2017
1 parent 771d6c3 commit ed6519d
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,28 @@

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

_2017-01-11_

#### 性能与提高

- 提高性能: 优化`FileDownloader#init`中的逻辑, 使其更加的轻量(仅仅做了赋值`context``maker`的操作)

#### 修复

- 修复(pause): 修复高并发情况下,当在启动一个任务的时候,很短的时间间隔内去暂停一个任务,可能无法暂停下来任务的问题。 Closes #402
- 修复(init FileDownloader): 修复在很低概率下在`FileDownloadService`所在进程初始化FileDownloader时出现Crash的问题。 Closes #420
- 修复(FileDownloadHttpException): 修复在遇到`FileDownloadHttpException`类型Crash时,由于字符串的formatter无法匹配导致Crash的问题 Closes #438

## Version 1.3.9

_2016-12-18_

### 核心:

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

> 如果你依然需要配置`timeout``proxy`,请不用担心,我已经对默认的网络连接组件实现了这几个接口: [DemoApplication](https://github.com/lingochamp/FileDownloader/blob/master/demo/src/main/java/com/liulishuo/filedownloader/demo/DemoApplication.java#L35),如果有需要可以看看。
Expand Down
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,28 @@

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

_2017-01-11_

#### Enhancement

- Improve Performance: Optimize the logic in `FileDownloader#init`, let it more lighter(just do some action like assign `context` and `maker`)

#### Fix

- 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
- Fix(init FileDownloader): fix the very low frequent crash when init FileDownloader on the process the `FileDownloadService` settled on. Closes #420
- Fix(FileDownloadHttpException): fix params can't match the formatter when occur `FileDownloadHttpException` Closes #438

## Version 1.3.9

_2016-12-18_

### Important:

- Since this version you can customize you own [FileDownloadConnection][FileDownloadConnection-java-link] component, we use [this one][FileDownloadUrlConnection-java-link] as default.
- Since this version, FileDownloader don't dependency the okhttp as default.
- 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)

> 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.
Expand Down
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Android 文件下载引擎,稳定、高效、灵活、简单易用
在项目中引用:

```groovy
compile 'com.liulishuo.filedownloader:library:1.3.9'
compile 'com.liulishuo.filedownloader:library:1.4.0'
```

> 如果是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 @@ -24,7 +24,7 @@ FileDownloader is installed by adding the following dependency to your `build.gr

```groovy
dependencies {
compile 'com.liulishuo.filedownloader:library:1.3.9'
compile 'com.liulishuo.filedownloader:library:1.4.0'
}
```

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.3.9
VERSION_CODE=36
VERSION_NAME=1.4.0
VERSION_CODE=37
BUILD_TOOLS_VERSION=24.0.2
COMPILE_SDK_VERSION=24

Expand Down

0 comments on commit ed6519d

Please sign in to comment.