All Versions
11
Latest Version
Avg Release Cycle
62 days
Latest Release
1344 days ago

Changelog History
Page 1

  • v3.1.5 Changes

    August 19, 2020

    ๐Ÿ”– Version 3.0.11/ Androidx version 3.1.5
    ๐Ÿ›  2. Notification sound fixes.
    ๐Ÿ›  3. RxJava fixes.
    ๐Ÿ›  4. Content Length fixes

    1. Added NetworkType.UNMETERED
      ๐Ÿ›  6. Lots of bug fixes.

    Thanks to everyone who contributed!

  • v3.1.3

    June 24, 2019
  • v3.1.2 Changes

    June 23, 2019

    ๐Ÿ”– Version 3.0.8/ Android x version 3.1.2

    ๐Ÿ›  1. Fixed group error reporting bugs with FetchGroup.getProgress() method. ๐Ÿ›  2. Fixed network on main thread error.

    1. Improved network connection checks. ๐Ÿ›  4. Improvements and fixes to the StorageResolver when working with the Storage Access Framework. ๐Ÿ‘€ 5. Files are now pre allocated on local storage on request enqueue. This prevents waste of data. See FetchConfiguration method fun preAllocateFileOnCreation(preAllocateFile: Boolean) to enable or disable this feature. On by default. ๐Ÿ‘€ 6. Added new field segment to Downloader.Request. See java docs for details.
    2. Added new Fetch method fun getContentLengthForRequests(requests:List<Request>, fromServer: Boolean, func: Func<List<Pair<Request,Long>>>, func2: Func<List<Pair<Request, Error>>>): Fetch ๐ŸŽ 8. Performance improvements to the Parallel downloader mode.
  • v3.1.0 Changes

    April 26, 2019

    Androidx version identical to 3.0.6

  • v3.0.10 Changes

    July 07, 2019

    ๐Ÿ”– Version 3.0.10/ Androidx version 3.1.4

    ๐Ÿ›  1. Improvements/Bug fixes to getting a download's content-length

    1. FetchDatabaseManager interface improvements. It is now easier to create custom fetch databases.
      โšก๏ธ Note: New methods were added and old methods may have been updated for the FetchDatabaseManager interface.
    2. FetchNotificationManger interface improvements. It is now easier to control notifications.
      โšก๏ธ Note: New methods were added and old methods may have been updated for the FetchNotificationManger interface.
      โšก๏ธ -> The DefaultFetchNotificationManager class has also been updated and is now abstract. See java docs for
      ๐Ÿ‘€ details. Also seen sample app DownloadListActivity on how to use the DefaultFetchNotificationManager class. โšก๏ธ 4. Fetch updateRequest method will now call fetch listener onDeleted(download) method when a request is being updated
    3. Added new Fetch method getAllGroupIds(callback) that returns all group id's being managed by Fetch.
    4. Added new Fetch method getDownloadsByTag(tag, callback) that returns all download's being managed by Fetch with the specified tag.

    ๐Ÿš€ Special thanks to @alvince and @DHosseiny for providing fixes for this release.

  • v3.0.9 Changes

    June 24, 2019

    ๐Ÿ”– Version 3.0.9/ Androidx version 3.1.3

    1. Improvements to getting content length.
  • v3.0.8

    June 23, 2019
  • v3.0.7 Changes

    May 21, 2019

    ๐Ÿ”– Version 3.0.7/ Android x version 3.1.1
    โž• Added new pauseAll method on Fetch.
    โž• Added new resumeAll method on Fetch.
    ๐Ÿ‘ Better logging.
    Library code cleanup.
    ๐Ÿ›  Special thanks to Alex Starchenko for submitting the fixes and improvements

  • v3.0.6 Changes

    April 26, 2019

    ๐Ÿ”– Version identical to the androidx version 3.1.0

  • v3.0.5 Changes

    April 26, 2019

    ๐Ÿ”– Version 3.0.5
    ๐Ÿš€ This release only adds a new Feature that allows Fetch to auto retry failed downloads for any reason. Set the number of times Fetch will auto retry a download when it fails.
    0๏ธโƒฃ This feature if off by default.

    ๐Ÿ‘€ 1. New fields added on Download: autoRetryMaxAttempts and autoRetryAttempts. See Java docs. ๐Ÿ‘€ 2. New field added on RequestInfo: autoRetryMaxAttempts. See Java docs.

    1. New method added on Fetch: fun resetAutoRetryAttempts(downloadId: Int, retryDownload: Boolean = true, func: Func2<Download?>? = null, func2: Func? = null): Fetch
    2. New method added on RXFetch: fun resetAutoRetryAttempts(downloadId: Int, retryDownload: Boolean = true): Convertible<Download?> ๐Ÿ— 5. New method added on FetchConfiguration: fun setAutoRetryMaxAttempts(autoRetryMaxAttempts: Int): Builder. See Java Docs

      final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this) .enableRetryOnNetworkGain(true) .setDownloadConcurrentLimit(2) .setAutoRetryMaxAttempts(10) // set global auto retry max attempts for all downloads. .build(); final Fetch fetch = Fetch.Impl.getInstance(fetchConfiguration); //ORfinal String url = "dummy url"; final String file = "dummy file"; final Request request = new Request(url, file); request.setAutoRetryMaxAttempts(5); // set auto retry on individual downloads. fetch.getDownload(request.getId(), download -> { if (download != null) { download.getAutoRetryAttempts(); //get the number of auto retry attempts. download.getAutoRetryMaxAttempts(); //get the number of max attempts. } }); //reset the auto retry attempts for a download fetch.resetAutoRetryAttempts(request.getId(), true, null, null);