diff --git a/NEWS b/NEWS index b833ebd5..b278e5c2 100644 --- a/NEWS +++ b/NEWS @@ -1,122 +1,80 @@ -aria2 1.7.2 +aria2 1.8.0 =========== Release Note ------------ -This release fixes the bug that aria2 listens wrong port in -BitTorrent/FTP downloads when --interface option is used. If ---metalink-file='-' is given, aria2 now reads Metalink file from -stdin. Magnet URI is printed in the output of -S option. DHT is -now enabled by default. DHT doesn't start while aria2 only handles -HTTP/FTP downloads. On the first torrent download begins, aria2 -initiates DHT functionality. After that, DHT runs until aria2 exits +This release fixes the bug that configure script fails to detect +GnuTLS library if --without-sqlite3 is given. The new XML-RPC methods +are added: aria2.getOption, aria2.getGetGlobalOption, +aria2.changePosition, aria2.tellStopped and system.multicall. +--bt-save-metadata option is added. This option saves metadata as +.torrent file. This option has effect only when BitTorrent Magnet URI +is used. Changes ------- - * Fixed the bug that RequestGroupMan::downloadFinished() returns true - even if all downloads haven't finished, especially when - PostDownloadHandler is involved. Changed the condition so that it - only returns true if both _requestGroups and _reservedGroups are - empty. + * Added signal handler for SIGHUP to save .aria2 file when terminal + is closed. The handler is the same one for SIGINT and SIGTERM. - * Enabled DHT by default because of Magnet URI support. To disable - DHT, use --enable-dht=false + * Added system.multicall XML-RPC method. - * Print Magnet URI in -S output. + * Added tellStopped XML-RPC method. This method returns stopped + download in the specified range. It takes same parameters with + tellWaiting XML-RPC method. offset = 0 means the oldest download. - * Fixed the bug that line separator is missing in horizontal bar in - aria2mon. + * Use AI_ADDRCONFIG flag if it is available. Refactored so that + getaddrinfo calls are not scattered around. Unset AI_ADDRCONFIG + when conducting unit tests because they fail if networking + interface is not configured with IPv4 address. - * If '-' is given as an argument to --metalink-file option, aria2 - reads Metalink file from stdin. + * Added --bt-save-metadata option. When true is given, it saves + metadata as .torrent file. This option has effect only when + BitTorrent Magnet URI is used. The filename is hex encoded info + hash with suffix .torrent. The directory to be saved is the same + directory where download file is saved. If the same file already + exists, metdata is not saved. - * Fixed the bug that aria2 listens wrong port if --interface option - is used. + * Added changePosition XML-RPC method. It takes 3 parameters: gid, + pos and how. This method changes the position of download denoted + by gid. If how is POS_SET, it moves the download to a position + relative to the beginning of the queue. If how is POS_CUR, it + moves the download to a position relative to the current + position. If how is POS_END, it moves the download to a position + relative to the end of the queue. If the destination position is + less than 0 or beyond the end of the queue, it moves the download + to the beginning or the end of the queue respectively. Returns the + destination position. - * Fixed the bug that query parameter in magnet URI is not decoded. + * Added getOption and getGlobalOption XML-RPC method. getOption + takes GID as a parameter and returns its options as struct. + getGlobalOption takes no parameter and returns global + options. Because global option is used as a template for the option + of newly added downloads, it includes options returned by + getOption. - + * Added following 2 keys, followedBy and belongsTo, to the response + of tellStatus. -aria2 1.7.1 -=========== + followedBy: List of GIDs which are generated by the + consequence of this download. For example, when aria2 downloaded + Metalink file, it generates downloads described in it(see + --follow-metalink option). This value is useful to track these + auto generated downloads. If there is no such downloads, this key + will not be included in the response. -Release Note ------------- + belongsTo: GID of a parent download. Some downloads are a part of + another download. For example, if a file in Metalink has + BitTorrent resource, the download of .torrent is a part of that + file. If this download has no parent, this key will not be + included in the response. -This release fixes the bug that --bt-prioritize-piece=tail is not -working. + * Show info hash in Magnet URI in upper case letters in -S output. -Changes -------- - - * Fixed the bug that --bt-prioritize-piece=tail is not working. - - - -aria2 1.7.0 -=========== - -Release Note ------------- - -This release adds BitTorrent Magnet URI support. 3 options were -added: the ability to bind to particular interface, disabling IPv6 and -prioritizing piece in BitTorrent downloads. In configure script, if ---with-PACKAGE and --enable-FEATURE are given but PACKAGE is missing -in the system or FEATURE cannot be enabled in the current -configuration, the script now prints error message and exits. ---http-auth-scheme option was removed since it is useless. Updated -Russian, Ukrainian, German and French translations. - -Changes -------- - - * Updated Russian, Ukrainian, German and French translations. Thanks - to all translators involved. - - * Use last 8 bytes of peer ID as 'key' parameter for tracker request. - - * Added --disable-ipv6 option to disable IPv6. - - * In configure script, if --with-PACKAGE and --enable-FEATURE are - given and PACKAGE is missing in the system or FEATURE cannot be - enabled, print error message and stop the script. - - * Added --interface option. This feature binds sockets to given - interface. You can specify interface name, IP address and hostname. - - * Removed --http-auth-scheme option since it is useless. - - * Added --bt-request-peer-speed-limit, --bt-max-peers and - --bt-prioritize-piece option to changeOption XML-RPC method. - - * Added option --bt-prioritize-piece. This option instruct aria2 to - try to download first and last pieces of each file first. This - option is useful for previewing files. The argument can contain 2 - keywords:head and tail. To include both keywords, they must be - separated by comma. These keywords can take one parameter, - SIZE. For example , if head=SIZE is specified, pieces in the range - of first SIZE bytes of each file get higher priority. tail=SIZE - means the range of last SIZE bytes of each file. SIZE can include K - or M(1K = 1024, 1M = 1024K). - - * Use host and protocol in original URI to record server's speed, - because URI selector selects URI based on original URI, not - redirected one. - - * Fixed the bug which causes segmentation fault with tellWaiting - XML-RPC method when BitTorrent download is waiting. - - * Added support of Extension for Peers to Send Metadata Files(BEP9) - and BitTorrent Magnet URI. Now addUri XML-RPC method accepts - BitTorrent Magnet URI. Metalink resource type 'bittorrent' also - accepts BitTorrent Magnet URI. - - * Fixed the bug that slow server is not knocked down in favor of - faster one. - - * Applied a patch from tizianomueller to fix sigbus errors on Linux - sparc. I modified the patch to eliminate a cast to uint32_t* and - include file ordering. \ No newline at end of file + * Fixed the bug that if --without-sqlite3 is given, pkg-config is not + properly used in configure script and failed to detect gnutls. + This is because explicit call of PKG_PROG_PKG_CONFIG is missing and + the initialization of pkg-config is done in first occurrence of + PKG_CHECK_MODULES which is not executed because it is inside of + sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.