|
2 | 2 |
|
3 | 3 | > [中文迭代日志](https://github.com/lingochamp/FileDownloader/blob/master/CHANGELOG-ZH.md)
|
4 | 4 |
|
5 |
| -### Version 0.1.4 |
| 5 | +## Version 0.1.5 |
| 6 | + |
| 7 | +_2016-01-17_ |
| 8 | + |
| 9 | +#### New Interfaces |
| 10 | + |
| 11 | +- `BaseDownloadTask#setTag(key:int, tag:Object)`: Set a tag associated with this task. If the key already existed, the old tag will be replaced. |
| 12 | +- `BaseDownloadTask#getTag(key:int)`: Get the object stored in the task as a tag, or null if not set. |
| 13 | +- `BaseDownloadTask#addHeader(name:String, values:String)`: Add custom request header to the task. Attention: We have already handled ETag, and will add `If-Match` & `Range` value if it works. |
| 14 | +- `BaseDownloadTask#addHeader(line:String)`: Add custom request header to the task. Attention: We have already handled ETag, and will add `If-Match` & `Range` value if it works. |
| 15 | +- `BaseDownloadTask#removeAllHeaders(name:String)`: Remove all custom request header bind with the `{name}`. |
| 16 | + |
| 17 | +#### Enhancement |
| 18 | + |
| 19 | +- Improve Performance: Reduce the consumption of the generated log. |
| 20 | +- Improve Debugging: To filter all the log level, reduce the high level of log output, and by default, will output `Warn`、`Error`、`Assert` level of log in order to debugging in the case of the value of `FileDownloadLog.NEED_LOG` is false(default). |
| 21 | + |
| 22 | +#### Fix |
| 23 | + |
| 24 | +- Fix can't resume from the break point naturally in case of the download status of the task is Error. |
| 25 | +- Fix the size of the queue may not match the number of actual active tasks in case of high concurrency. This bug may would caused some callbacks to be consumed by the old tasks. |
| 26 | + |
| 27 | +#### Others |
| 28 | + |
| 29 | +- Upgrade dependency okhttp from `2.7.1` to `3.0.1`. |
| 30 | + |
| 31 | +## Version 0.1.4 |
| 32 | + |
| 33 | +_2016-01-13_ |
6 | 34 |
|
7 | 35 | #### New Interfaces
|
8 | 36 |
|
|
15 | 43 | - Supported [Chunked transfer encoding](https://en.wikipedia.org/wiki/Chunked_transfer_encoding) data download(Recommend to glance at demo on [Single Task Test](https://github.com/lingochamp/FileDownloader/blob/master/demo/src/main/java/com/liulishuo/filedownloader/demo/SingleTaskTestActivity.java)).
|
16 | 44 | - Improve Performance: Reduce IPC.
|
17 | 45 | - Improve Performance: Reduce lock.
|
18 |
| -- Improve Performance: Delete invalid datas in db with the `:filedownloader` progress start. |
| 46 | +- Improve Performance: Delete invalid datum in db with the `:filedownloader` progress start. |
19 | 47 | - Improve Performance: Ignore the `callbackProgressTimes` column in db.
|
20 | 48 |
|
21 | 49 | #### Fix
|
22 | 50 |
|
23 | 51 | - Fix `FileDownloader#pauseAll` not effect in case of low memory and ui progress is Background Progress situation and the `:filedownloader` progress(Service Progress) alive and still have running tasks in the `filedownloader` progress but ui progress has died and relived.
|
24 | 52 | - Fix not release connect resources when invoke `FileDownloader#unBinderService` manually.
|
25 |
| -- Handle case of ui progress be killed by sys and download progress not be killed, and ui progress relives and reexecutes same tasks queue. |
| 53 | +- Handle case of ui progress be killed by sys and download progress not be killed, and ui progress relives and re-executes same tasks queue. |
| 54 | + |
26 | 55 |
|
| 56 | +## Version 0.1.3 |
27 | 57 |
|
28 |
| -### Version 0.1.3 |
| 58 | +_2016-01-04_ |
29 | 59 |
|
30 | 60 | - Enhancement: no longer subject to the upper bound of 1.99G, add `FileDownloadLargeFileListener`, `getLargeFileSoFarBytes()`,`getLargeFileTotalBytes()`.
|
31 | 61 | - Performance optimization: some ipc transaction just need one-way call(async), not block(sync).
|
32 |
| -- Upgrade dependency okhttp from 2.7.0 to 2.7.1. |
| 62 | +- Upgrade dependency okhttp from `2.7.0` to `2.7.1`. |
33 | 63 |
|
34 |
| -### Version 0.1.2 |
| 64 | +## Version 0.1.2 |
| 65 | + |
| 66 | +_2015-12-27_ |
35 | 67 |
|
36 | 68 | - Optimize thread digestion([map](https://github.com/lingochamp/FileDownloader/raw/master/art/filedownload_sample_description.png).
|
37 | 69 | - Fix: may `pause()` invalid in large queue task.
|
38 | 70 | - Fix: large queue task parallel download, may download has been completed but the callback
|
39 | 71 |
|
40 |
| -### Version 0.1.1 |
| 72 | +## Version 0.1.1 |
| 73 | + |
| 74 | +_2015-12-25_ |
41 | 75 |
|
42 | 76 | - Optimization of internal performance, according to the time split thread pool.
|
43 | 77 | - Add auto retry feature.
|
44 | 78 |
|
45 |
| -### Version 0.1.0 |
| 79 | +## Version 0.1.0 |
| 80 | + |
| 81 | +_2015-12-24_ |
46 | 82 |
|
47 | 83 | - The `FileDownloadStatus` parameter type is changed from `int` to `byte`, which is frequently copied in IPC.
|
48 | 84 | - Optimization of multi task queue filtering time.
|
49 | 85 | - Optimizing serial task execution mechanism.
|
50 | 86 |
|
51 |
| -### Version 0.0.9 |
| 87 | +## Version 0.0.9 |
| 88 | + |
| 89 | +_2015-12-23_ |
52 | 90 |
|
53 | 91 | - The start operation into independent thread processing, sharing thread pool in EventPool.
|
54 | 92 |
|
55 |
| -### Version 0.0.8 |
| 93 | +## Version 0.0.8 |
| 94 | + |
| 95 | +_2015-12-22_ |
56 | 96 |
|
57 | 97 | - initial release
|
0 commit comments