From c1cb23065f1353ed9b3fd8430eda08c678a75180 Mon Sep 17 00:00:00 2001 From: laoyuyu <511455842@qq.com> Date: Thu, 27 Dec 2018 19:56:37 +0800 Subject: [PATCH] 3.5.3 --- DEV_LOG.md | 2 +- README.md | 40 +++++++++++++---------------- app/src/main/assets/aria_config.xml | 2 +- build.gradle | 2 +- 4 files changed, 21 insertions(+), 25 deletions(-) diff --git a/DEV_LOG.md b/DEV_LOG.md index 94b7b05f..6f5cefa5 100644 --- a/DEV_LOG.md +++ b/DEV_LOG.md @@ -1,5 +1,5 @@ ## 开发日志 - + v_3.5.3 + + v_3.5.3 (2018/12/23) - 修复ftps不能加载默认证书的bug https://github.com/AriaLyy/Aria/issues/334 - 优化注解性能,移除不必要的判断代码 - 增加广播支持,详情见:http://aria.laoyuyu.me/aria_doc/api/use_broadcast.html diff --git a/README.md b/README.md index 23d6813b..10d7992b 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,9 @@ Aria有以下特点: ## 下载 -[![Download](https://api.bintray.com/packages/arialyy/maven/AriaApi/images/download.svg)](https://bintray.com/arialyy/maven/AriaApi/_latestVersion) -[![Download](https://api.bintray.com/packages/arialyy/maven/AriaCompiler/images/download.svg)](https://bintray.com/arialyy/maven/AriaCompiler/_latestVersion) +[![Core](https://api.bintray.com/packages/arialyy/maven/AriaApi/images/download.svg)](https://bintray.com/arialyy/maven/AriaApi/_latestVersion) +[![Compiler](https://api.bintray.com/packages/arialyy/maven/AriaCompiler/images/download.svg)](https://bintray.com/arialyy/maven/AriaCompiler/_latestVersion) + ```java compile 'com.arialyy.aria:aria-core:3.5.2' annotationProcessor 'com.arialyy.aria:aria-compiler:3.5.2' @@ -101,27 +102,22 @@ protected void onCreate(Bundle savedInstanceState) { ### 版本日志 - + v_3.5.2 - - 添加Serializable接口支持 https://github.com/AriaLyy/Aria/issues/320 - - 失败回调增加错误原因 https://github.com/AriaLyy/Aria/issues/310 - ``` - @Download.onTaskFail void taskFail(DownloadTask task, Exception e) { - e.getMessage(); - ... - } + + v_3.5.3(2018/12/23) + - 修复ftps不能加载默认证书的bug https://github.com/AriaLyy/Aria/issues/334 + - 优化注解性能,移除不必要的判断代码 + - 增加广播支持,详情见:http://aria.laoyuyu.me/aria_doc/api/use_broadcast.html + - 增加get参数支持 + ```java + Aria.download(SingleTaskActivity.this) + .load(DOWNLOAD_URL) // url 必须是主体url,也就是?前面的内容 + .setFilePath(path, true) + .asGet() + .setParams(params) // 设置参数 + .start(); ``` - - fix bug https://github.com/AriaLyy/Aria/issues/322 - - 新增201 重定向支持 https://github.com/AriaLyy/Aria/issues/318 - - 修复使用`useServerFileName(true)`中含有`"`导致的文件后缀名错误问题 - - 优化logcat日志提示 - - 修改下载线程的优先级为`Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);` - - fix bug https://github.com/AriaLyy/Aria/issues/319 - - 修复分卡下载失败的问题 https://github.com/AriaLyy/Aria/issues/326 - - 初始化Aria时会将所有数据库状态为下载中的任务改为已停止,防止应用被kill后,任务状态错误 - - 初始化时自动判断文件是否被删除,文件被删除的任务将自动重置默认值 - - 修复刷新url后,文件无法删除的 bug - - fix bug https://github.com/AriaLyy/Aria/issues/309 - - 优化配置文件的读取 + - fix bug https://github.com/AriaLyy/Aria/issues/335 + - 新增进度百分比保存 https://github.com/AriaLyy/Aria/issues/336 + - fix bug https://github.com/AriaLyy/Aria/issues/335 [更多版本记录](https://github.com/AriaLyy/Aria/blob/master/DEV_LOG.md) diff --git a/app/src/main/assets/aria_config.xml b/app/src/main/assets/aria_config.xml index d54e9f61..cc753665 100644 --- a/app/src/main/assets/aria_config.xml +++ b/app/src/main/assets/aria_config.xml @@ -6,7 +6,7 @@ - + diff --git a/build.gradle b/build.gradle index c5463e8e..57e5ca3f 100644 --- a/build.gradle +++ b/build.gradle @@ -39,7 +39,7 @@ task clean(type: Delete) { ext { userOrg = 'arialyy' groupId = 'com.arialyy.aria' - publishVersion = '3.5.3_dev_1' + publishVersion = '3.5.3' // publishVersion = '1.0.4' //FTP插件 repoName='maven' desc = 'android 下载框架'