NEWS 19 KB

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