Releases: lingochamp/okdownload
Releases · lingochamp/okdownload
v1.0.7
v1.0.6: Merge pull request #330 from lingochamp/chore/upgrade
v1.0.5
1.0.5
2018-11-05
Bug Fix
- Fix
The current offset on block-info isn't update correct, x != y on zissue which because of syncRunnable finished unexpected. closes #129 - Fix progress don't start from breakpoint when restart paused task and using the
filedownloader-APIwrapper. closes #154 - Fix small possibility of raising NPE issue when using
DownloadListener1. closes #89 - Fix directory traversal vulnerability. closes #83
- Fix small possibility can make output-streams leak.
- Fix preallocation operation is not work issue. refs #162
- Fix small possibility of raising NEP in
Listener4SpeedAssistExtend. closes #121 - Fix HTTP-redirection can't be handled on the default download-connection issue.
v1.0.4
1.0.4
2018-08-08
Feature
- Provide the filedownloader interface wrapper for okdownload.
Bug Fix
- Fix unexpected response header field
content-lengthraiseNumberFormatException. closes #107 - Fix the first download for a resource and kill the process within 1.5s after the task is started, then launch process again the wrong complete status raise the issue. closes #82
- Fix receive
task-busystatus withtaskEndcallback when invoke enqueue task instantly on thetaskEndcallback synchronize.
v1.0.3
1.0.3
2018-05-16
Feature
- Discard the breakpoint when the response instance-length is changed. refs #31
- Cover the case of resource content-length is changed between block-connection and trial-connection for the single-block task. refs #31
- Add default user-agent when there isn't any user-agent provide
- Cover the special case of backend response 416 on trial-connect because of range:0-0 but values is valid on response header. refs #55
v1.0.2
1.0.2
2018-04-28
Feature
- Change the default sync buffer interval millisecond from 3000 to 2000, because the default value also 2000ms on download-provider.
- Carry the user set header fields on trial-connection also. refs #42
- Support set connection count through
DownloadTask.Builder#setConnectionCount. refs #31 - Support set pre-allocate-length through
DownloadTask.Builder#setPreAllocateLengthrefs #31
Stability
- Using the more stability design to ensure there is only one thread operates with output-stream and ensure close output-stream after the last operation for one task's output-stream. refs #39
Bug Fix
- End the store-info operation after output-stream real finished instead of on download-dispatcher for each task. refs #39
- Fix exception isn't the real one when creating a task with wrong params. refs #41
- Fix the remit optimize isn't effective on remit-database when the task is canceled within remit-delay-time.
- Fix the illegal runtime exception is raised when download chunked resources. refs #35
- Fix the result of
getTotalOffsetandgetTotalLengthisn't right onBreakpointInfowhen chunked resource completed download. refs #35 - Fix can't resume when the file length is larger than current response instant-length because of the old file isn't delete when the file is dirty.
v1.0.1
1.0.1
2018-04-20
Feature
- Support get info reference from task reference because after task completed we delete info from the c
ache for health lifecycle but people may need info reference for the task - Add
taskDownloadFromBreakpointandtaskDownloadFromBeginningforDownloadMonitor - Use exactly range even for the last block to cover the case of some resource response unexpected cont
ent range when request range is to end. closes #17 - Support
taskEndonDownloadContextListenerwhich will carry back how many counts remain after thi
s callback - Support cancel task just used its id. closes #30
Stability
- Cover the case of the length of the local file is larger than the total length of info for the
Break pointLocalCheck
Bug Fix
- Fix unexpected completed returned by
StatusUtilwhen the file exists but the user doesn't use persi
st database such assqlite - Fix DownloadTask.toBuilder set a duplicate filename in some cases
- Fix raise runtime type exception when removing data from the breakpoint store straightly after cancel
ing the task. closes #34 - Fix
fdisn't released manually when download finished which may raise OOM when there are a large nu
mber of tasks that are continuously initiated.