Skip to content

Releases: lingochamp/okdownload

v1.0.7

24 Dec 06:21
Compare
Choose a tag to compare

2019-11-24

Feature

  • Adapter FileDownloader 1.7.7
  • Public OkDownloadProvider#context because it is null on non-main process

v1.0.6: Merge pull request #330 from lingochamp/chore/upgrade

02 Nov 05:30
48e2579
Compare
Choose a tag to compare

1.0.6

2019-10-30

Feature

  • Add kotlin enhance the library to make OkDownload more concise.

Bug Fix

  • Fix cannot read instance length with range 0-0 and response code 200. closes #256
  • Fix ConcurrentModificationException in DownloadCall. closes #304

v1.0.5

05 Nov 07:36
Compare
Choose a tag to compare

1.0.5

2018-11-05

Bug Fix

  • Fix The current offset on block-info isn't update correct, x != y on z issue which because of syncRunnable finished unexpected. closes #129
  • Fix progress don't start from breakpoint when restart paused task and using the filedownloader-API wrapper. 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

08 Aug 13:11
Compare
Choose a tag to compare

1.0.4

2018-08-08

Feature

  • Provide the filedownloader interface wrapper for okdownload.

Bug Fix

  • Fix unexpected response header field content-length raise NumberFormatException. 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-busy status with taskEnd callback when invoke enqueue task instantly on the taskEnd callback synchronize.

v1.0.3

16 May 16:03
Compare
Choose a tag to compare

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

27 Apr 16:25
Compare
Choose a tag to compare

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#setPreAllocateLength refs #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 getTotalOffset and getTotalLength isn't right on BreakpointInfo when 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

20 Apr 16:07
Compare
Choose a tag to compare

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 taskDownloadFromBreakpoint and taskDownloadFromBeginning for DownloadMonitor
  • 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 taskEnd on DownloadContextListener which 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 StatusUtil when the file exists but the user doesn't use persi
    st database such as sqlite
  • 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 fd isn't released manually when download finished which may raise OOM when there are a large nu
    mber of tasks that are continuously initiated.

v1.0.0

06 Apr 02:51
Compare
Choose a tag to compare
  • First Blood!