From f69d78b8234c3abb97545ba6b58f3a6077df62c1 Mon Sep 17 00:00:00 2001 From: Tonyo Francis Date: Fri, 31 Aug 2018 11:24:54 -0400 Subject: [PATCH] version change --- CHANGELOG | 5 +++++ README.md | 12 ++++++------ versions.gradle | 4 ++-- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 3e86633c..8442a063 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +Version 2.2.0-RC11 +- Fixed issue where downloads would get stuck in the queue and fetch would mark all downloads as failed. +- Behavior change: Fetch no longer mark downloads with a Failed status if the file on the disk storage system is not found. + If the file is not found and the download status is Queued or Paused, Fetch will simply start the download from the beginning. + Version 2.2.0-RC10 - Added new Fetch field named hasActiveDownloads. This field indicates if the fetch namespace has active(downloading or queued) downloads. Use this field to keep background services using fetch diff --git a/README.md b/README.md index 65272274..3c294d03 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.2.0-RC10) ](https://bintray.com/tonyofrancis/maven/fetch2/2.2.0-RC10/link) +[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/fetch2/images/download.svg?version=2.2.0-RC11) ](https://bintray.com/tonyofrancis/maven/fetch2/2.2.0-RC11/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) @@ -48,7 +48,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.2.0-RC10" +implementation "com.tonyodev.fetch2:fetch2:2.2.0-RC11" ``` Next, get an instance of Fetch and request a download. @@ -214,7 +214,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.2.0-RC10" +implementation "com.tonyodev.fetch2okhttp:fetch2okhttp:2.2.0-RC11" ``` Set the OkHttp Downloader for Fetch to use. ```java @@ -235,7 +235,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.2.0-RC10" +implementation "com.tonyodev.fetch2rx:fetch2rx:2.2.0-RC11" ``` RxFetch makes it super easy to enqueue download requests and query downloads using rxJava2 functional methods. @@ -271,7 +271,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.2.0-RC10" +implementation "com.tonyodev.fetch2fileserver:fetch2fileserver:2.2.0-RC11" ``` Start a FetchFileServer instance and add resource files that it can server to connected clients. @@ -380,7 +380,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.2.0-RC10" +implementation "com.tonyodev.fetchmigrator:fetchmigrator:2.2.0-RC11" ``` Then run the Migrator. diff --git a/versions.gradle b/versions.gradle index 80bb3ac3..321b17bf 100644 --- a/versions.gradle +++ b/versions.gradle @@ -16,6 +16,6 @@ ext { rxAndroid2_version = "2.1.0" timber_version = "4.7.1" novoda_bintray_version = "0.8.0" - library_version = "2.2.0-RC10" - library_version_code = 48 + library_version = "2.2.0-RC11" + library_version_code = 49 } \ No newline at end of file