Releases: tonyofrancis/Fetch
3.4.1
3.4.0
Androidx version 3.4.0
- Fixes slow download start issues on Android 14+
- Updated library dependencies.
- Connectivity manager deprecation fixes.Thanks to @vicajilau
- Range End Handling fixes. Thanks to @Baniares
- Documentation update. Thanks to @gardenappl
- NetworkInfoProvider fixes. Thanks to @nstratak
3.3.0
Release Notes
- Updated all library dependencies to their latest versions.
- Increased the minimum SDK version from 16 to 21.
- Updated the target SDK to version 34.
- Fixed issues related to sample downloads.
Library packages are no longer available under the group androidx.tonyodev.fetch2
. Both the group and artifact names have been updated. For more details, refer to the Readme.
3.2.0
Version 3.2.0/ Androidx version 3.2.0
- Android 14 compatibility, min SDK 16, AGP 8.2.0, Gradle 8.5, Kotlin 1.9.20. Thanks to @helloimfrog
- Android SDK 34 and fixes of register receiver. Thanks to @Kutikov
- Updated Gradle to 8.3.1, Kotlin Version, upgrade dependencies, and fixed sampleApp. Thanks to @vicajilau
3.0.12/3.1.6
Version 3.0.12/ Androidx version 3.1.6
- Download TotalBytes fixes. Thanks to @badrazizi
- OnCompleted not called in some instances.
- Fixed " A resource failed to call close" errors. Thanks to @Braxeo
- Fixed Pen Test issues: Thanks to @StuStirling
- Added new batch enqueue method. Thanks to @thib-rdr
- Fixed rapid pause and resume issues. Thanks to @jpvs0101
- Breaking change. Reverted OkHttp client to 3.12.12 to support Android versions older than 21. Thanks to @badrazizi
- Fixed issues with sample app
Big thanks to everyone who contributed and open issues. Happy Holidays. Stay Safe!
3.1.5/3.0.11
Version 3.0.11/ Androidx version 3.1.5
2. Notification sound fixes.
3. RxJava fixes.
4. Content Length fixes
5. Added NetworkType.UNMETERED
6. Lots of bug fixes.
Thanks to everyone who contributed!
3.0.10/3.1.4
Version 3.0.10/ Androidx version 3.1.4
- Improvements/Bug fixes to getting a download's content-length
- 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. - 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. - Fetch updateRequest method will now call fetch listener onDeleted(download) method when a request is being updated
- Added new Fetch method
getAllGroupIds(callback)
that returns all group id's being managed by Fetch. - 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.
3.0.9/3.1.3
Version 3.0.9/ Androidx version 3.1.3
- Improvements to getting content length.
3.0.8/3.1.2
Version 3.0.8/ Android x version 3.1.2
- Fixed group error reporting bugs with FetchGroup.getProgress() method.
- Fixed network on main thread error.
- Improved network connection checks.
- Improvements and fixes to the StorageResolver when working with the Storage Access Framework.
- 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. - Added new field segment to Downloader.Request. See java docs for details.
- Added new Fetch method
fun getContentLengthForRequests(requests:List<Request>, fromServer: Boolean, func: Func<List<Pair<Request,Long>>>, func2: Func<List<Pair<Request, Error>>>): Fetch
- Performance improvements to the Parallel downloader mode.
3.0.7/3.1.1
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