From 937d54206a3c6680ad0af377bbec7967fb67c7c1 Mon Sep 17 00:00:00 2001 From: Tonyo Francis Date: Thu, 10 Jan 2019 10:43:30 -0500 Subject: [PATCH] updated version --- CHANGELOG | 10 ++++++++++ README.md | 12 ++++++------ versions.gradle | 8 ++++---- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8964b622..61337b65 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,13 @@ +Version 2.3.5 +- Fetch methods removeAllInGroupWithStatus, deleteAllInGroupWithStatus, getDownloadsInGroupWithStatus + have been updated to allow more than one Status to be queried or actioned upon. See Java doc for details + . Special thanks to Marcin Adamczewski for submitting PR. +- Fetch logging is now disabled by default and can be enabled with the FetchConfiguration method. `.enableLogging(true)` +- The Error enum object now has a new field attach `httpResponse`. This response object contains the HttpCode and other + http related information. This field is only provided when an error occurs and it is related to the Http response. +- Fixed EnqueueAction.UPDATE_ACCORDINGLY that caused the onComplete listener method to be called if the newly enqueued request + was previously downloaded and completed but the file on the storage system was delete. + Version 2.3.4 - Added default cookie manager for the okhttp and httpurlconnection client Downloaders. - Fixed an EnqueueAction.INCREMENT_FILE_NAME bug where files were not properly created. diff --git a/README.md b/README.md index 2a93a02d..d4de8af5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Build Status](https://travis-ci.org/tonyofrancis/Fetch.svg?branch=v2)](https://travis-ci.org/tonyofrancis/Fetch) -[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=2.3.4) ](https://bintray.com/tonyofrancis/maven/fetch2/2.3.4/link) +[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=2.3.5) ](https://bintray.com/tonyofrancis/maven/fetch2/2.3.5/link) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android%20Networking-blue.svg?style=flat)](https://android-arsenal.com/details/1/5196) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/tonyofrancis/Fetch/blob/master/LICENSE) @@ -50,7 +50,7 @@ How to use Fetch Using Fetch is easy! Just add the Gradle dependency to your application's build.gradle file. ```java -implementation "com.tonyodev.fetch2:fetch2:2.3.4" +implementation "com.tonyodev.fetch2:fetch2:2.3.5" ``` Next, get an instance of Fetch and request a download. @@ -216,7 +216,7 @@ to use the OkHttp Downloader instead. You can create your own custom downloaders if necessary. See the Java docs for details. ```java -implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:2.3.4" +implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:2.3.5" ``` Set the OkHttp Downloader for Fetch to use. ```java @@ -237,7 +237,7 @@ If you would like to take advantage of RxJava2 features when using Fetch, add the following gradle dependency to your application's build.gradle file. ```java -implementation "com.tonyodev.fetch2rx:fetch2rx:2.3.4" +implementation "com.tonyodev.fetch2rx:fetch2rx:2.3.5" ``` RxFetch makes it super easy to enqueue download requests and query downloads using rxJava2 functional methods. @@ -273,7 +273,7 @@ added in the coming days. Start using FetchFileServer by adding the gradle dependency to your application's build.gradle file. ```java -implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:2.3.4" +implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:2.3.5" ``` Start a FetchFileServer instance and add resource files that it can server to connected clients. @@ -382,7 +382,7 @@ Fetch1 Migration Migrate downloads from Fetch1 to Fetch2 using the migration assistant. Add the following gradle dependency to your application's build.gradle file. ```java -implementation "com.tonyodev.fetchmigrator:fetchmigrator:2.3.4" +implementation "com.tonyodev.fetchmigrator:fetchmigrator:2.3.5" ``` Then run the Migrator. diff --git a/versions.gradle b/versions.gradle index 331834ee..b8dae690 100644 --- a/versions.gradle +++ b/versions.gradle @@ -1,6 +1,6 @@ ext { kotlin_version = '1.3.11' - okhttp_version = '3.12.0' + okhttp_version = '3.12.1' okhttp_url_version = '3.11.0' android_support_version = '28.0.0' constraint_layout_version = "1.1.3" @@ -13,10 +13,10 @@ ext { library_target_version = 28 library_build_tools_version = "28.0.3" gradle_tools_version = '3.2.1' - rxJava2_version = "2.2.4" + rxJava2_version = "2.2.5" rxAndroid2_version = "2.1.0" timber_version = "4.7.1" novoda_bintray_version = "0.9" - library_version = "2.3.4" - library_version_code = 59 + library_version = "2.3.5" + library_version_code = 60 } \ No newline at end of file