NEWS 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. aria2 1.10.6
  2. ============
  3. Release Note
  4. ------------
  5. This release fixes the bug that downloading files larger than 4GB
  6. fails on 32 bit systems. It also fixes the bug that dht.dat file is
  7. not saved. The improper use of return value of vsnprintf was fixed,
  8. which caused segmentation fault when formatting strings more than 1024
  9. characters long.
  10. Please note that since 1.10.0 release, aria2 uses 1 connection per
  11. host by default and has 20MiB segment size restriction. So whatever
  12. value you specify using -s option, it uses 1 connection per host. To
  13. make it behave like 1.9.x, use -x16 -k1M (see
  14. --max-connection-per-server and --min-split-size option in man
  15. page). If you specify multiple hosts, aria2 will use all of them and
  16. open multiple connections.
  17. Changes
  18. -------
  19. * Fixed the bug that downloading > 4GB file fails on 32bit systems.
  20. * Fixed improper use of vsnprintf in StringFormat which is mainly
  21. used for formatting strings of exception message. The actual bug
  22. reported by the user was that aria2 emitted segmentation fault
  23. error when very long URI(few thousands characters long) was given.
  24. * Fixed the bug that dht.dat file could not be saved. This is because
  25. a directory denoting temporary file path is wrongly created and
  26. thus aria2 fails to open the file as regular file.
  27. aria2 1.10.5
  28. ============
  29. Release Note
  30. ------------
  31. This release fixes the bug that file allocation is enabled in HTTP
  32. even if --file-allocation=none is specified.
  33. Please note that since 1.10.0 release, aria2 uses 1 connection per
  34. host by default and has 20MiB segment size restriction. So whatever
  35. value you specify using -s option, it uses 1 connection per host. To
  36. make it behave like 1.9.x, use -x16 -k1M (see
  37. --max-connection-per-server and --min-split-size option in man
  38. page). If you specify multiple hosts, aria2 will use all of them and
  39. open multiple connections.
  40. Changes
  41. -------
  42. * Don't reuse socket which is readable because we assume that if
  43. socket is readable it means peer shutdowns connection and the
  44. socket will receive EOF. Added default timeout value to
  45. DownloadEngine::poolSocket().
  46. * Fixed the bug that file allocation is enabled in HTTP even if
  47. --file-allocation=none is specified.
  48. aria2 1.10.4
  49. ============
  50. Release Note
  51. ------------
  52. This release fixes the bug that aria2 hangs when FTP server does not
  53. send '226 Transfer Complete' message and the bug that the time used in
  54. file allocation is taken into account when calculating download speed.
  55. Non UTF-8 filenames are now percent-encoded. The comments and name in
  56. .torrent file in XML-RPC response are also percent-encoded if they are
  57. not UTF-8. Compile error on OpenBSD4.7(i386) was fixed. A warning
  58. message when CA certificates are not imported is not printed in
  59. console. It is shown when certificate verification error is actually
  60. occurred.
  61. Please note that since 1.10.0 release, aria2 uses 1 connection per
  62. host by default and has 20MiB segment size restriction. So whatever
  63. value you specify using -s option, it uses 1 connection per host. To
  64. make it behave like 1.9.x, use -x16 -k1M (see
  65. --max-connection-per-server and --min-split-size option in man
  66. page). If you specify multiple hosts, aria2 will use all of them and
  67. open multiple connections.
  68. Changes
  69. -------
  70. * Updated Russian, Simplified Chinese and French translation. Thanks
  71. to all translators.
  72. * Use RFC1123 date format for creation date of .torrent file printed
  73. using -S.
  74. * Rewritten Cookie class and Cookie parser based on
  75. http://tools.ietf.org/html/draft-ietf-httpstate-cookie-15
  76. * Use inet_ntoa if inet_ntop is not available. Since inet_ntoa does
  77. not handle IPv6 address, IPv6 support is limited in this
  78. case. Fixed unit test error under mingw32.
  79. * Don't show warning message in console when CA certificates are not
  80. imported. --ca-certificate and --check-certificate option were
  81. mentioned in the error message displayed when certificate
  82. verification failed.
  83. * Print message when performing slow file allocation at first time.
  84. * Fixed compile error on OpenBSD4.7(i386).
  85. * Execute 5 DHT tasks concurrently in each task queue.
  86. * Fixed the bug that FtpFinishDownloadCommand does not handle
  87. timeout. This means it waits for the remote server to send "226
  88. Transfer Complete" message *without* its own timeout until the
  89. remote server shutdowns connection(we can detect EOF in this case).
  90. * Rewritten util::escapePath(). Now it does not replace bad chars
  91. with '_':it performs percent-encoding against them.
  92. util::fixTaintedBasename() now replaces "/" with "%2F". Added 0x7f
  93. as bad chars in util::detectDirTraversal().
  94. * Non-UTF8 filenames are now percent-encoded. For example, filename
  95. for http://example.org/%90%A2%8AE will be %90%A2%8AE because it is
  96. Shift_JIS. The comments and name in .torrent file in XML-RPC
  97. response are percent-encoded if they are not UTF-8.
  98. * Reset download start time of PeerStat because it is started before
  99. file allocation begins. Without reset, we have incorrect download
  100. time and aria2 wrongly determines that download speed is too low if
  101. --lowest-speed-limit is used.
  102. * Added keys parameter to aria2.tellStatus, aria2.tellActive,
  103. aria2.tellWaiting and aria2.tellStopped XML-RPC method. 'keys' is
  104. array of string. If it is specified, the response contains only
  105. keys in 'keys' array. If 'keys' is empty or not specified, the
  106. response contains all keys. This is useful when you just want
  107. specific keys and avoid unnecessary transfers. For example,
  108. aria2.tellStatus("1", ["gid", "status"]) returns 'gid' and
  109. 'status' key.
  110. aria2 1.10.3
  111. ============
  112. Release Note
  113. ------------
  114. This release adds short option -x for --max-connection-per-server
  115. option and -k for --min-split-size option. It also adds
  116. --max-download-result=NUM option. This option sets maximum number of
  117. download result kept in memory and the default value is 1000.
  118. --max-connection-per-server now accepts up to 16. '@' character is
  119. now allowed in username embedded in URI. This release fixes the bug
  120. that aria2 reports error and exits with non-zero status when file is
  121. already downloaded and checksum is available.
  122. Please note that since 1.10.0 release, aria2 uses 1 connection per
  123. host by default and has 20MiB segment size restriction. So whatever
  124. value you specify using -s option, it uses 1 connection per host. To
  125. make it behave like 1.9.x, use -x16 -k1M (see
  126. --max-connection-per-server and --min-split-size option in man
  127. page). If you specify multiple hosts, aria2 will use all of them and
  128. open multiple connections.
  129. Changes
  130. -------
  131. * Replaced V_TRUE with A2_V_TRUE. Replaced V_FALSE with A2_V_FALSE.
  132. * Added short option -k for --min-split-size option and -x for
  133. --max-connection-per-server option. Raised maximum value of
  134. --max-connection-per-server up to 16.
  135. * Added --max-download-result=NUM option. This option sets maximum
  136. number of download result kept in memory. The download results are
  137. completed/error/ removed downloads. The download results are stored
  138. in FIFO queue and it can store at most NUM download results. When
  139. queue is full and new download result is created, oldest download
  140. result is removed from the front of the queue and new one is pushed
  141. to the back. Setting big number in this option may result high
  142. memory consumption after thousands of downloads. Specifying 0 means
  143. no download result is kept. Default value is 1000.
  144. * Check hash(hash for entire file, not piece hash) if
  145. --check-integrity option is given and file is downloaded(determined
  146. by file length). If it fails, re-download file.
  147. * Mark cached IP address bad on timeout to allow
  148. aria2 to renew IP address cache.
  149. * Fixed the bug that aria2 reports error and exits with non-zero
  150. status when file is already downloaded.
  151. * Allow '@' in username and password embedded in URI. It should be
  152. percent-encoded but many people use their mail address as an
  153. username and forget about PE.
  154. * Data from remote server in HTTP/FTP download are now written to the
  155. disk(or memory) through StreamFilter. Decoding chunked and gziped
  156. streams are done cascading StreamFilter. Removed inefficient 1byte
  157. read code.
  158. aria2 1.10.2
  159. ============
  160. Release Note
  161. ------------
  162. This release fixes the bug that prevents HTTP redirect from working
  163. when multiple files are downloaded from same host at the same time.
  164. For netrc, aria2 now performs domain match if machine name defined in
  165. .netrc starts with ".".
  166. Please note that since 1.10.0 release, aria2 uses 1 connection per
  167. host by default and has 20MiB segment size restriction. So whatever
  168. value you specify using -s option, it uses 1 connection per host. To
  169. make it behave like 1.9.x, use --max-connection-per-server=4
  170. --min-split-size=1M. If you specify multiple hosts, aria2 will use
  171. all of them and open multiple connections.
  172. Changes
  173. -------
  174. * In .netrc file, if machine name starts ".", aria2 performs domain
  175. match instead of exact match.
  176. * Fixed the bug which prevents HTTP redirection from working when
  177. downloading multiple files from same host at the same time.
  178. aria2 1.10.1
  179. ============
  180. Release Note
  181. ------------
  182. This release adds IPv6 support for FTP, BitTorrent and BitTorrent DHT.
  183. For FTP, EPSV and EPRT command support was added. Enabling IPv6 DHT
  184. requires several options, so please check out the usage example in man
  185. page or wiki usage example page. By default, the asynchronous DNS
  186. resolver does not handle IPv6 address. To work with IPv6 address, use
  187. --enable-async-dns6 option. aria2 now listens on both IPv4 and IPv6
  188. socket for BitTorrent, its DHT and XML-RPC. aria2 uses same port for
  189. both IPv4 and IPv6. The ability to add/remove BitTorrent tracker
  190. announce URI was added. The link error for
  191. FallocFileAllocationIterator was fixed.
  192. Please note that since 1.10.0 release, aria2 uses 1 connection per
  193. host by default and has 20MiB segment size restriction. So whatever
  194. value you specify using -s option, it uses 1 connection per host. To
  195. make it behave like 1.9.x, use --max-connection-per-server=4
  196. --min-split-size=1M. If you specify multiple hosts, aria2 will use
  197. all of them and open multiple connections.
  198. Changes
  199. -------
  200. * Enter end game mode as soon as all pieces are assigned to peers to
  201. avoid substantial slow down at the very last stage of download.
  202. * Set max outstanding request size of BitTorrent download to 100. Set
  203. stepping to 6.
  204. * Added --bt-tracker and --bt-exclude-tracker option. In
  205. --bt-tracker option, you can specify comma separated list of
  206. additional BitTorrent tracker's announce URI. These URIs are not
  207. affected by --bt-exclude-tracker option because they are added
  208. after URIs in --bt-exclude-tracker option are removed. In
  209. --bt-exclude-tracker option, you can specify comma separated list
  210. of BitTorrent tracker's announce URI to remove. You can use special
  211. value '*' which matches all URIs, thus removes all announce
  212. URIs. When specifying '*' in shell command-line, don't forget to
  213. escape or quote it. Added bt-tracker and bt-exclude-tracker to -i
  214. list option.
  215. * Listen both IPv4 and IPv6 for BitTorrent protocol.
  216. * Listen both IPv4 and IPv6 for xml-rpc request.
  217. * Added IPv6 DHT. Added --dht-entry-porint6, --dht-file-path6,
  218. --dht-listen-addr6 and --enable-dht6 option. IPv6 DHT is disabled
  219. by default. To use IPv6 DHT, you need to use --enable-dht6 and
  220. specify a global unicast address to --dht-listen-addr6. IPv6 DHT
  221. is highly experimental.
  222. * Added support for peers6 key in tracker response. Added added6,
  223. added6.f and dropped6 in ut_pex.
  224. * Add only gracefully disconnected peer to ut_pex dropped list. Add
  225. incoming dropped list to PeerStorage.
  226. * Don't use pre-calculate hash value when end-game mode. Throw
  227. exception if bad piece is received.
  228. * Added bittorrent::packcompact() which replaces
  229. bittorrent::createcompact() and supports IPv6 addresses. Rewritten
  230. bittorrent::unpackcompact() and bittorrent::extractPeer() to
  231. support IPv6 addresses. Fixed added.f flags in ut_pex.
  232. * Added --enable-async-dns6 option. This option enables IPv6 name
  233. resolution in asynchronous DNS resolver. This option will be
  234. ignored when --async-dns=false.
  235. * Use hostname of original URI when counting hostname in
  236. inFlightRequest.
  237. * Fixed the bug that
  238. AdaptiveFileAllocationIterator::getCurrentLength() does not return
  239. updated allocated bytes.
  240. * Added FTP EPSV and EPRT command support. aria2 issues these
  241. commands when address family of local socket is AF_INET6.
  242. * Rewritten check for fallocate using AC_COMPILE_IFELSE.
  243. * Fixed the bug that HAVE_SOME_FALLOCATE gets undefined if fallocate
  244. is not available even if posix_fallocate is available. This causes
  245. FallocFileAllocationIterator.cc is out of compile targets and
  246. linker error.
  247. aria2 1.10.0
  248. ============
  249. Release Note
  250. ------------
  251. This release adds an option to limit the number of connections to the
  252. same host in each download. aria2 now chooses server which is least
  253. used in aria2c instance. This release also adds Chromium cookie
  254. support and HTTP only conditional download support which is download
  255. file only when the local file is older than remote file. aria2 now
  256. can handle %2F in FTP URI properly. HTTP/1.1 chunked decoder was
  257. fixed. For Linux, aria2 uses fallocate by default if it is usable.
  258. Changes
  259. -------
  260. * Metadata download may take very long time. If URIs are available,
  261. give up metadata download in at most 30 seconds.
  262. * Added --on-bt-download-complete=COMMAND option. For BitTorrent, a
  263. command specified in --on-download-complete is called when download
  264. completes and seeding is over. On the other hand, this option set
  265. the command to be executed when download completes but before
  266. seeding.
  267. * Added --conditional-get option. Download file only when the local
  268. file is older than remote file. This function only works with
  269. HTTP(S) downloads only. It does not work if file size is specified
  270. in Metalink. It also ignores Content-Disposition header. If a
  271. control file exists, this option will be ignored. This function
  272. uses If-Modified-Since header to get only newer file
  273. conditionally. When getting modification time of local file, it
  274. uses user supplied filename(see --out option) or filename part in
  275. URI if --out is not specified.
  276. * FeedbackURISelector now tries to select URI whose host is least
  277. used in aria2 globally.
  278. * Added --min-split-size=SIZE option. aria2 does not split less than
  279. 2*SIZE byte range. For example, let's consider downloading 20MiB
  280. file. If SIZE is 10M, aria2 can split file into 2 range [0-10MiB)
  281. and [10MiB-20MiB) and download it using 2 sources(if --split >= 2,
  282. of course). If SIZE is 15M, since 2*15M > 20MiB, aria2 does not
  283. split file and download it using 1 source.
  284. * Added --max-connection-per-server=NUM option. The default value of
  285. NUM is 1. This option limits the number of connections allowed to
  286. one server for each download. This means when NUM is 2 and 1 URI is
  287. provided, even if you specified -s 5, aria2 establishes 2
  288. connections.
  289. * Set end byte in Range header if start byte > 0 to get more chance
  290. to pool socket.
  291. * Fixed ChunkedDecoder. It does not read trailer and final CRLF.
  292. * Send each CWD component of FTP URI in separate CWD command as
  293. described in RFC1738.
  294. * Fixed the bug that aria2 cannot handle %2F in FTP URI properly. If
  295. directory component starts with %2F which percent-encode of '/',
  296. client should issue CWD to absolute path, but aria2 does not do
  297. that. It just issues relative path and download fails.
  298. * Added Chromium/Google Chrome Cookies file support. Thanks to
  299. gotrunks for original patch.
  300. * When allocating disk space, for Linux system with fallocate()
  301. system call, first check file system supports fallocate. This just
  302. run fallocate with small chunk and see it succeeds or fails. If it
  303. succeeds, use fallocate() to allocate entire file otherwise fall
  304. back to traditional slower method: writing zeros. This behavior is
  305. enabled in --file-allocation=prealloc, so this is enabled by
  306. default for most modern Linux.