NEWS 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. aria2 1.11.0
  2. ============
  3. Release Note
  4. ------------
  5. This release adds JSON-RPC interface. The JSON-RPC and XML-RPC shares
  6. same APIs. The JSON-RPC also supports JSONP. 2 new options were added:
  7. --retry-wait and --async-dns-server. The downloads added by
  8. aria2.addTorrent and aria2.addMetalink RPC method are now saved to the
  9. file specified in --save-session option. The proxy options and related
  10. environment variables now accept https:// and ftp:// scheme. This
  11. release fixes the bug that causes segmentation fault when unpausing
  12. downloads in some situations. MinGW32 build now looks for USERPROFILE
  13. and the combination of HOMEDRIVE and HOMEPATH to get user's home
  14. directory and doesn't check permission of .netrc file.
  15. Changes
  16. -------
  17. * Updated gettext to 0.18
  18. * Added JSON-RPC support. --enable-xml-rpc was deprecated and
  19. --enable-rpc should be used instead. Similarly, --xml-rpc-*
  20. options were replaced with --rpc-* options. We are implementing
  21. JSON-RPC based on JSON-RPC 2.0 draft spec.
  22. * Fixed rounding error in DownloadEngine::run(). This fixes the bug
  23. that executeCommand() with Command::STATUS_ALL is not called in
  24. every interval correctly because of rounding error in timer.
  25. * Refresh buckets at DHT initialization without checking serialized
  26. time. Checking serialized time does not work if you stop aria2 as
  27. soon as it started DHT. The serialized time in dht.dat will be
  28. updated, but buckets are not updated and still old. When you
  29. restart aria2 again soon, it does not refresh buckets because
  30. serialized time is recent.
  31. * Save downloads added by aria2.addTorrent or aria2.addMetalink in
  32. --save-session file. Uploaded data are saved as file named hex
  33. string of sha1 hash of uploaded data plus extension(".torrent" for
  34. torrent and ".meta4" for metalink). For example,
  35. 0a3893293e27ac0490424c06de4d09242215f0a6.torrent. The directory
  36. where these files are saved is specified by --dir option. These
  37. file paths are written in --save-session file.
  38. * Fixed the bug that causes segmentation fault when unpause
  39. RequestGroup which has resolved BtDependency.
  40. * Look for USERPROFILE and the combination of HOMEDRIVE and HOMEPATH
  41. to get user's home directory in MinGW32 build. Usually HOME
  42. environment variable is defined in *nix like OSes, but not in
  43. Windows. So in MinGW32 build, if HOME is not defined, we also look
  44. for USERPROFILE and the combination of HOMEDRIVE and HOMEPATH.
  45. * Fixed the bug that DownloadContext::basePath_ is not escaped.
  46. * Added Date, Expires and Cache-Control response header field to RPC
  47. response.
  48. * Added --async-dns-server option. This option accepts comma
  49. separated list of DNS server addresses used in asynchronous DNS
  50. resolver. Usually asynchronous DNS resolver reads DNS server
  51. addresses from /etc/resolv.conf. When this option is used, it uses
  52. DNS servers specified in this option instead of ones in
  53. /etc/resolv.conf. You can specify both IPv4 and IPv6 address. This
  54. option is useful when the system does not have /etc/resolv.conf and
  55. user does not have the permission to create it.
  56. * Accept https:// and ftp:// in proxy options and environment variables.
  57. * Fixed overflow in the calculation of progress percentage for file
  58. allocation and hash check when off_t is 32bit.
  59. * Accept HTTP 304 reply as success when If-None-Match request-header
  60. field is specified using --header option. When --conditional-get
  61. is used, --allow-overwrite is now required to overwrite existing
  62. file.
  63. * Added aria2.removeDownloadResult RPC method. The method signature
  64. is aria2.removeDownloadResult(gid). This method removes
  65. completed/error/removed download denoted by gid from memory. This
  66. method returns "OK" for success.
  67. * Use IP address of control connection to connect to the remote server in
  68. FTP passive mode.
  69. * Don't check permission of .netrc file in MinGW32 build.
  70. * Added --retry-wait option. This option was once existed in aria2
  71. but erased on 2009-09-20. Now it is resurrected once again. We
  72. choose 0 as default value for backward compatibility. Now we retry
  73. HTTP download when remote server returns "503 Service Unavailable"
  74. if --retry-wait > 0. We also added error code 29:
  75. HTTP_SERVICE_UNAVAILABLE.
  76. * Don't show metadata download and paused download in "Download Results".