Skip to content

Commit

Permalink
V9.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
781flyingdutchman committed Mar 5, 2025
1 parent 3ccd121 commit 454306e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 9.1.1
* Adds optional `group` parameter to `resumeAll`
* Fixes concurrency bugs in Android

## 9.1.0
* Adds `pauseAll`, `cancelAll` and `resumeAll`
* Improves handling `enqueuAll` to not starve the UI thread
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ To cancel, pause or resume a task, call:
* `pause` to attempt to pause a task. Pausing is only possible for download GET requests, only if the `Task.allowPause` field is true, and only if the server supports pause/resume. Soon after the task is running (`TaskStatus.running`) you can call `taskCanResume` which will return a Future that resolves to `true` if the server appears capable of pause & resume. If it is not, then `pause` will have no effect and return false
* `pauseAll` to attempt to pause a all tasks currently running, a specific list of tasks, or all tasks in a `group`. Returns a list of tasks that were paused
* `resume` to resume a previously paused task (or certain failed tasks), which returns true if resume appears feasible. The task status will follow the same sequence as a newly enqueued task. If resuming turns out to be not feasible (e.g. the operating system deleted the temp file with the partial download) then the task will either restart as a normal download, or fail.
* `resumeAll` to resume all tasks currently paused, or a specific list of tasks. Returns a list of tasks that were resumed
* `resumeAll` to resume all tasks currently paused, a specific list of tasks, or all tasks in a `group`. Returns a list of tasks that were resumed


To manage or query the queue of waiting or running tasks, call:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: background_downloader
description: A multi-platform background file downloader and uploader. Define the task, enqueue and monitor progress

version: 9.1.0
version: 9.1.1
repository: https://github.com/781flyingdutchman/background_downloader

environment:
Expand Down

0 comments on commit 454306e

Please sign in to comment.