NEWS 18 KB

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