Skip to content

Bump Downloader from 7.0.1 to 7.1.0 - #101

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Downloader-7.1.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Downloader-7.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Updated Downloader from 7.0.1 to 7.1.0.

Release notes

Sourced from Downloader's releases.

7.1.0

Fixes for the 2 critical and 3 high issues of the 7.0.1 review. No public API is removed.

🐛 Fixes

  • A disk error never ended the download. When writing to the disk failed (disk full, USB drive removed, network folder lost), the download stayed Running for ever and asked the server again and again; CancelTaskAsync() then waited for ever too. Now a storage error is a new StorageException (an IOException). It is not retried: the download fails at once.
  • The end of a download could be lost. If the last flush, the close or the rename of the file failed, DownloadFileCompleted was never raised, and a memory download with missing bytes said Completed. Now the work is done first and the status is set last: if it fails, the status is Failed and the event comes once with the error. The file is always closed.
  • A setup error made Dispose() and the next download hang for ever. For example a Content-Type header in RequestConfiguration.Headers, or a CustomHttpClientFactory that throws. The caller still gets the exception, but the status is Failed now (not Created), so the service can be disposed and used again.
  • A resume from a DownloadPackage could give a broken file that said Completed. If the .download file was deleted or cut, or the file on the server changed (size, ETag or Last-Modified), the old chunk positions were used. Now the download starts from zero in these cases.
  • Two downloads to the same file at the same time lost the file. Both wrote the same .download file, and in the end no file was left. Now only one download in the process can write a temp file: with FileExistPolicy.Rename the second one gets another name, otherwise it fails at once with an IOException. A download that was just stopped is not counted: Stop and then Start on the same file works, and a retry started from DownloadFileCompleted gets the file. A resume from a DownloadPackage holds its temp file in the same way.
  • A failed rename at the end deleted the whole download. With ClearPackageOnCompletionWithFailure = true, the finished .download file was deleted when only the rename to the final name failed. Now it is kept.
  • A refused block could mix the bytes of two downloads. When the storage refused a block (for example after a stop), its read buffer went back to the shared pool twice. Two later reads then got the same array, and one download could write the bytes of another one into its file. Now the buffer goes back once.

🔄 Changed

  • ConcurrentStream.FlushAsync() throws a StorageException after a write error (it threw an AggregateException).

What's Changed

Full Changelog: bezzad/Downloader@v7.0.2...v7.1.0

7.0.2

🐛 Fixes

  • FlushAsync is a real flush while a download runs (#​259). Before, it waited until the write queue was empty. While chunks write faster than the disk, the queue is never empty, so the flush did not end. Now it waits only for the blocks given before the call, then flushes the file to the disk (FileStream.Flush(true), not only to the OS cache). The flush runs on the writer task, so it never runs at the same time as a write. When the stream is closed before the flush ends, FlushAsync throws ObjectDisposedException instead of reporting dropped bytes as written. The 20 ms wait after each flush is gone.
  • To save a package for resume while it downloads: serialize it first, then await package.FlushAsync(), then save the bytes. The saved chunk positions then never count bytes that are not on the disk.

What's Changed

Full Changelog: bezzad/Downloader@v7.0.1...v7.0.2

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Downloader
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like Downloader is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 19, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/Downloader-7.1.0 branch November 19, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants