Repository navigation
Bump Downloader from 7.0.1 to 7.1.0 - #101
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
--- 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>
Contributor
Author
|
Looks like Downloader is no longer updatable, so this is no longer needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
CancelTaskAsync()then waited for ever too. Now a storage error is a newStorageException(anIOException). It is not retried: the download fails at once.DownloadFileCompletedwas 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.Dispose()and the next download hang for ever. For example aContent-Typeheader inRequestConfiguration.Headers, or aCustomHttpClientFactorythat throws. The caller still gets the exception, but the status is Failed now (not Created), so the service can be disposed and used again.DownloadPackagecould give a broken file that said Completed. If the.downloadfile was deleted or cut, or the file on the server changed (size,ETagorLast-Modified), the old chunk positions were used. Now the download starts from zero in these cases..downloadfile, and in the end no file was left. Now only one download in the process can write a temp file: withFileExistPolicy.Renamethe second one gets another name, otherwise it fails at once with anIOException. A download that was just stopped is not counted: Stop and then Start on the same file works, and a retry started fromDownloadFileCompletedgets the file. A resume from aDownloadPackageholds its temp file in the same way.ClearPackageOnCompletionWithFailure = true, the finished.downloadfile was deleted when only the rename to the final name failed. Now it is kept.🔄 Changed
ConcurrentStream.FlushAsync()throws aStorageExceptionafter a write error (it threw anAggregateException).What's Changed
Full Changelog: bezzad/Downloader@v7.0.2...v7.1.0
7.0.2
🐛 Fixes
FlushAsyncis 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,FlushAsyncthrowsObjectDisposedExceptioninstead of reporting dropped bytes as written. The 20 ms wait after each flush is gone.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 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)