]> sjero.net Git - wget/blob - NEWS
[svn] Mention that IPv6 doesn't work on Windows.
[wget] / NEWS
1 GNU Wget NEWS -- history of user-visible changes.
2
3 Copyright (C) 2005 Free Software Foundation, Inc.
4 See the end for copying conditions.
5
6 Please send GNU Wget bug reports to <bug-wget@gnu.org>.
7 \f
8 * Changes in Wget 1.10.
9
10 ** Downloading files greater than 2GB, also known as "large files",
11 now works on systems that support them.  This includes most modern
12 Unix variants, as well as Windows.
13
14 ** IPv6 is now supported by Wget.  Unlike the experimental code in
15 1.9, this version has no problems with dual-family systems.  The new
16 flags `--inet4' and `--inet6' (or `-4' and `-6' for short) force the
17 use of IPv4 and IPv6 respectively.  Unfortunately the IPv6 support
18 still does not work on Windows.
19
20 ** Talking to SSL servers over proxies now actually works.
21
22 ** Wget no longer truncates partially downloaded files when download
23 has to start over because the server doesn't support Range.  Instead,
24 with such servers Wget now simply ignores the data up to the byte
25 where the last attempt left off, and only then continues appending to
26 the file.  That way the downloaded file never shrinks, and download
27 retries from servers without support for partial downloads work even
28 when downloading to stdout.
29
30 ** Passive FTP is now the default FTP transfer mode.  Use
31 `--no-passive-ftp' or specify `passive_ftp = off' in your init file to
32 revert to the old behavior.
33
34 ** The `--header' option can now be used to override generated
35 headers.  For example, `wget --header="Host: foo.bar"
36 http://127.0.0.1' tells Wget to connect to localhost, but to specify
37 "foo.bar" in the `Host' header.  In previous versions such use of
38 `--header' lead to duplicate headers in HTTP requests.
39
40 ** The responses without headers, aka "HTTP 0.9" responses, are
41 detected and handled.  Although HTTP 0.9 has long been obsolete, it is
42 still occasionally used, sometimes by accident.
43
44 ** The progress bar is now updated regularly even when the data does
45 not arrive from the network.
46
47 ** Wget no longer preserves permissions of files retrieved by FTP by
48 default.  Anonymous FTP servers frequently use permissions like "664",
49 which might not be what the user wants.  The new option
50 `--preserve-permissions' and the corresponding `.wgetrc' variable can
51 be used to revert to the old behavior.
52
53 ** The new option `--protocol-directories' instructs Wget to also use
54 the protocol name as a directory component of local file names.
55
56 ** Many options that previously unconditionally set or unset various
57 flags are now boolean options that can be invoked as either `--OPTION'
58 or `--no-OPTION'.  Options that required an argument "on" or "off"
59 have also been changed this way, but they still accept the old syntax
60 for backward compatibility.  For example, instead of `--glob=off' you
61 can write `--no-glob'.
62
63 Allowing `--no-OPTION' for every `--OPTION' and the other way around
64 is useful because it allows the user to override non-default behavior
65 specified via `.wgetrc'.
66
67 ** The new option `--keep-session-cookies' causes `--save-cookies' to
68 save session cookies along with the permanent ones.  This is useful on
69 sites that require you to log in before you can access some pages.
70 With this option, multiple Wget runs will be treated as a single
71 browser session.
72
73 * `wget -b' now works correctly under Windows.
74 \f
75 * Wget 1.9.1 is a bugfix release with no user-visible changes.
76 \f
77 * Changes in Wget 1.9.
78
79 ** It is now possible to specify that POST method be used for HTTP
80 requests.  For example, `wget --post-data="id=foo&data=bar" URL' will
81 send a POST request with the specified contents.
82
83 ** IPv6 support is available, although it's still experimental.
84
85 ** The `--timeout' option now also affects DNS lookup and establishing
86 the TCP connection.  Previously it only affected reading and writing
87 data.  Those three timeouts can be set separately using
88 `--dns-timeout', `--connection-timeout', and `--read-timeout',
89 respectively.
90
91 ** Download speed shown by the progress bar is based on the data
92 recently read, rather than the average speed of the entire download.
93 The ETA projection is still based on the overall average.
94
95 ** It is now possible to connect to FTP servers through FWTK
96 firewalls.  Set ftp_proxy to an FTP URL, and Wget will automatically
97 log on to the proxy as "username@host".
98
99 ** The new option `--retry-connrefused' makes Wget retry downloads
100 even in the face of refused connections, which are otherwise
101 considered a fatal error.
102
103 ** The new option `--dns-cache=off' may be used to prevent Wget from
104 caching DNS lookups.
105
106 ** Wget no longer escapes characters in local file names based on
107 whether they're appropriate in URLs.  Escaping can still occur for
108 nonprintable characters or for '/', but no longer for frequent
109 characters such as space.  You can use the new option
110 --restrict-file-names to relax or strengthen these rules, which can be
111 useful if you dislike the default or if you're downloading to
112 non-native partitions.
113
114 ** Handling of HTML comments has been dumbed down to conform to what
115 users expect and other browsers do: instead of being treated as SGML
116 declaration, a comment is terminated at the first occurrence of "-->".
117 Use `--strict-comments' to revert to the old behavior.
118
119 ** Wget now correctly handles relative URIs that begin with "//", such
120 as "//img.foo.com/foo.jpg".
121
122 ** Boolean options in `.wgetrc' and on the command line now accept
123 values "yes" and "no" along with the traditional "on" and "off".
124
125 ** It is now possible to specify decimal values for timeouts, waiting
126 periods, and download rate.  For instance, `--wait=0.5' now works as
127 expected, as does `--dns-timeout=0.5' and even `--limit-rate=2.5k'.
128 \f
129 * Wget 1.8.2 is a bugfix release with no user-visible changes.
130 \f
131 * Wget 1.8.1 is a bugfix release with no user-visible changes.
132 \f
133 * Changes in Wget 1.8.
134
135 ** A new progress indicator is now available and used by default.
136 You can choose the progress bar type with `--progress=TYPE'.  Two
137 types are available, "bar" (the new default), and "dot" (the old
138 dotted indicator).  You can permanently revert to the old progress
139 indicator by putting `progress = dot' in your `.wgetrc'.
140
141 ** You can limit the download rate of the retrieval using the
142 `--limit-rate' option.  For example, `wget --limit-rate=15k URL' will
143 tell Wget not to download the body of the URL faster than 15 kilobytes
144 per second.
145
146 ** Recursive retrieval and link conversion have been revamped:
147
148 *** Wget now traverses links breadth-first.  This makes the
149 calculation of depth much more reliable than before.  Also, recursive
150 downloads are faster and consume *significantly* less memory than
151 before.
152
153 *** Links are converted only when the entire retrieval is complete.
154 This is the only safe thing to do, as only then is it known what URLs
155 have been downloaded.
156
157 *** BASE tags are handled correctly when converting links.  Since Wget
158 already resolves <base href="..."> when resolving handling URLs, link
159 conversion now makes the BASE tags point to an empty string.
160
161 *** HTML anchors are now handled correctly.  Links to an anchor in the
162 same document (<a href="#anchorname">), which used to confuse Wget,
163 are now converted correctly.
164
165 *** When in page-requisites (-p) mode, no-parent (-np) is ignored when
166 retrieving for inline images, stylesheets, and other documents needed
167 to display the page.
168
169 *** Page-requisites (-p) mode now works with frames.  In other words,
170 `wget -p URL-THAT-USES-FRAMES' will now download the frame HTML files,
171 and all the files that they need to be displayed properly.
172
173 ** `--base' now works conjunction with `--input-file', providing a
174 base for each URL and thereby allowing the URLs in the file to be
175 relative.
176
177 ** If a host has more than one IP address, Wget uses the other
178 addresses when accessing the first one fails.
179
180 ** Host directories now contain port information if the URL is at a
181 non-standard port.
182
183 ** Wget now supports the robots.txt directives specified in
184 <http://www.robotstxt.org/wc/norobots-rfc.txt>.
185
186 ** URL parser has been fixed, especially the infamous overzealous
187 quoting.  Wget no longer dequotes reserved characters, e.g. `%3F' is
188 no longer translated to `?', nor `%2B' to `+'.  Unsafe characters
189 which are not reserved are still escaped, of course.
190
191 ** No more than 20 successive redirections are allowed.
192 \f
193 * Wget 1.7.1 is a bugfix release with no user-visible changes.
194 \f
195 * Changes in Wget 1.7.
196
197 ** SSL (`https') pages now work if you compile Wget with SSL support;
198 use the `--with-ssl' configure flag.  You need to have OpenSSL
199 installed.
200
201 ** Cookies are now supported.  Wget will accept cookies sent by the
202 server and return them in later requests.  Additionally, it can load
203 and save cookies to disk, in the same format that Netscape uses.
204
205 ** "Keep-alive" (persistent) HTTP connections are now supported.
206 Using keep-alive allows Wget to share one TCP/IP connection for
207 many retrievals, making multiple-file downloads faster and less
208 stressing for the server and the network.
209
210 ** Wget now recognizes FTP directory listings generated by NT and VMS
211 servers.
212
213 ** It is now possible to recurse through FTP sites where logging in
214 puts you in some directory other than '/'.
215
216 ** You may now use `~' to mean home directory in `.wgetrc'.  For
217 example, `load_cookies = ~/.netscape/cookies.txt' works as you would
218 expect.
219
220 ** The HTML parser has been rewritten.  The new one works more
221 reliably, allows finer-grained control over which tags and attributes
222 are detected, and has better support for some features like correctly
223 skipping comments and declarations, decoding entities, etc.  It is
224 also more general.
225
226 ** <meta name="robots"> tags are now respected.
227
228 ** Wget's internal tables now use hash tables instead of linked lists
229 where appropriate.  This results in huge speedups when retrieving
230 large sites (thousands of documents).
231
232 ** Wget now has a man page, automatically generated from the Texinfo
233 documentation.  (The last version that shipped with a man page was
234 1.4.5).  To get this, you need to have pod2man from the Perl
235 distribution installed on your system.
236 \f
237 * Changes in Wget 1.6
238
239 ** Administrative changes.
240
241 *** Maintainership.  Due to Hrvoje being plagued with a "real job",
242 Dan Harkless is the most active maintainer (not that he doesn't have a
243 real job as well).  Hrvoje still participates occasionally, and both
244 are being helped by many other people.
245
246 *** Web page.  Thanks to Jan Prikryl, Wget has an "official" web page.
247 Take a look at:
248
249     http://sunsite.dk/wget/
250
251 *** Anonymous CVS.  Thanks to ever-helpful Karsten Thygesen, Wget
252 sources are now available at an anonymous CVS server.  Take a look at
253 the web page for downloading instructions.
254
255 ** New -K / --backup-converted / backup_converted = on option causes files
256 modified due to -k to be saved with a .orig prefix before being changed.  When
257 using -N as well, it is these .orig files that are compared against the server.
258
259 ** New --follow-tags / follow_tags = ... option allows you to restrict
260 Wget to following only certain HTML tags when doing a recursive
261 retrieval.  -G / --ignore-tags / ignore_tags = ... is just the
262 opposite -- all tags but the ones you specify will be followed.
263
264 ** New --waitretry / waitretry = SECONDS option allows waiting between retries
265 of failed downloads.  Wget will use "linear" backoff, waiting 1 second after the
266 first failure, 2 after the second, up to SECONDS.  waitretry is set to 10 by
267 default in the system wgetrc.
268
269 ** New -p / --page-requisites / page_requisites = on option causes
270 Wget to download all ancillary files necessary to display a given HTML
271 page properly (e.g. inlined images).
272
273 ** New -E / --html-extension / html_extension = on option causes Wget
274 to append ".html" to text/html filenames not ending in regexp
275 "\.[Hh][Tt][Mm][Ll]?".
276
277 ** New type of .wgetrc command -- "lockable Boolean".  Can be set to on, off,
278 always, or never.  This allows the .wgetrc to override the commandline.  So far,
279 passive_ftp is the only .wgetrc command which takes a lockable Boolean.
280
281 ** A number of new translation files have been added.
282
283 ** New --bind-address / bind_address = <address> option for people on hosts 
284 bound to multiple IP addresses.
285
286 ** wget now accepts (illegal per HTTP spec) relative URLs in HTTP redirects.
287 \f
288 * Wget 1.5.3 is a bugfix release with no user-visible changes.
289 \f
290 * Wget 1.5.2 is a bugfix release with no user-visible changes.
291 \f
292 * Wget 1.5.1 is a bugfix release with no user-visible changes.
293 \f
294 * Changes in Wget 1.5.0
295
296 ** Wget speaks many languages!
297
298 On systems with gettext(), Wget will output messages in the language
299 set by the current locale, if available.  At this time we support
300 Czech, German, Croatian, Italian, Norwegian and Portuguese.
301
302 ** Opie (Skey) is now supported with FTP.
303
304 ** HTTP Digest Access Authentication (RFC2069) is now supported.
305
306 ** The new `-b' option makes Wget go to background automatically.
307
308 ** The `-I' and `-X' options now accept wildcard arguments.
309
310 ** The `-w' option now accepts suffixes `s' for seconds, `m' for
311 minutes, `h' for hours, `d' for days and `w' for weeks.
312
313 ** Upon getting SIGHUP, the whole previous log is now copied to
314 `wget-log'.
315
316 ** Wget now understands proxy settings with explicit usernames and
317 passwords, e.g. `http://user:password@proxy.foo.com/'.
318
319 ** You can use the new `--cut-dirs' option to make Wget create less
320 directories.
321
322 ** The `;type=a' appendix to FTP URLs is now recognized.  For
323 instance, the following command will retrieve the welcoming message in
324 ASCII type transfer:
325
326     wget "ftp://ftp.somewhere.com/welcome.msg;type=a"
327
328 ** `--help' and `--version' options have been redone to to conform to
329 standards set by other GNU utilities.
330
331 ** Wget should now be compilable under MS Windows environment.  MS
332 Visual C++ and Watcom C have been used successfully.
333
334 ** If the file length is known, percentages are displayed during
335 download.
336
337 ** The manual page, now hopelessly out of date, is no longer
338 distributed with Wget.
339 \f
340 * Wget 1.4.5 is a bugfix release with no user-visible changes.
341 \f
342 * Wget 1.4.4 is a bugfix release with no user-visible changes.
343 \f
344 * Changes in Wget 1.4.3
345
346 ** Wget is now a GNU utility.
347
348 ** Can do passive FTP.
349
350 ** Reads .netrc.
351
352 ** Info documentation expanded.
353
354 ** Compiles on pre-ANSI compilers.
355
356 ** Global wgetrc now goes to /usr/local/etc (i.e. $sysconfdir).
357
358 ** Lots of bugfixes.
359 \f
360 * Changes in Wget 1.4.2
361
362 ** New mirror site at ftp://sunsite.auc.dk/pub/infosystems/wget/,
363 thanks to Karsten Thygesen.
364
365 ** Mailing list!  Mail to wget-request@sunsite.auc.dk to subscribe.
366
367 ** New option --delete-after for proxy prefetching.
368
369 ** New option --retr-symlinks to retrieve symbolic links like plain
370 files.
371
372 ** rmold.pl -- script to remove files deleted on the remote server
373
374 ** --convert-links should work now.
375
376 ** Minor bugfixes.
377 \f
378 * Changes in Wget 1.4.1
379
380 ** Minor bugfixes.
381
382 ** Added -I (the opposite of -X).
383
384 ** Dot tracing is now customizable; try wget --dot-style=binary
385 \f
386 * Changes in Wget 1.4.0
387
388 ** Wget 1.4.0 [formerly known as Geturl] is an extensive rewrite of
389 Geturl.  Although many things look suspiciously similar, most of the
390 stuff was rewritten, like recursive retrieval, HTTP, FTP and mostly
391 everything else.  Wget should be now easier to debug, maintain and,
392 most importantly, use.
393
394 ** Recursive HTTP should now work without glitches, even with Location
395 changes, server-generated directory listings and other naughty stuff.
396
397 ** HTTP regetting is supported on servers that support Range
398 specification. WWW authorization is supported -- try
399 wget http://user:password@hostname/
400
401 ** FTP support was rewritten and widely enhanced. Globbing should now
402 work flawlessly. Symbolic links are created locally. All the
403 information the Unix-style ls listing can give is now recognized.
404
405 ** Recursive FTP is supported, e.g.
406     wget -r ftp://gnjilux.cc.fer.hr/pub/unix/util/
407
408 ** You can specify "rejected" directories, to which you do not want to
409 enter, e.g. with wget -X /pub
410
411 ** Time-stamping is supported, with both HTTP and FTP. Try wget -N URL.
412
413 ** A new texinfo reference manual is provided.  It can be read with
414 Emacs, standalone info, or converted to HTML, dvi or postscript.
415
416 ** Fixed a long-standing bug, so that Wget now works over SLIP
417 connections.
418
419 ** You can have a system-wide wgetrc (/usr/local/lib/wgetrc by
420 default). Settings in $HOME/.wgetrc override the global ones, of
421 course :-)
422
423 ** You can set up quota in .wgetrc to prevent sucking too much
424 data. Try `quota = 5M' in .wgetrc (or quota = 100K if you want your
425 sysadmin to like you).
426
427 ** Download rate is printed after retrieval.
428
429 ** Wget now sends the `Referer' header when retrieving
430 recursively.
431
432 ** With the new --no-parent option Wget can retrieve FTP recursively
433 through a proxy server.
434
435 ** HTML parser, as well as the whole of Wget was rewritten to be much
436 faster and less memory-consuming (yes, both).
437
438 ** Absolute links can be converted to relative links locally. Check
439 wget -k.
440
441 ** Wget catches hangup, filtering the output to a log file and
442 resuming work. Try kill -HUP %?wget.
443
444 ** User-defined headers can be sent.  Try
445
446     wget http://fly.cc.her.hr/ --header='Accept-Charset: iso-8859-2'
447
448 ** Acceptance/Rejection lists may contain wildcards.
449
450 ** Wget can display HTTP headers and/or FTP server response with the
451 new `-S' option.  It can save the original HTTP headers with `-s'.
452
453 ** socks library is now supported (thanks to Antonio Rosella
454 <Antonio.Rosella@agip.it>). Configure with --with-socks.
455
456 ** There is a nicer display of REST-ed output.
457
458 ** Many new options (like -x to force directory hierarchy, or -m to
459 turn on mirroring options).
460
461 ** Wget is now distributed under GNU General Public License (GPL).
462
463 ** Lots of small features I can't remember. :-)
464
465 ** A host of bugfixes.
466 \f
467 * Changes in Geturl 1.3
468
469 ** Added FTP globbing support (ftp://fly.cc.fer.hr/*)
470
471 ** Added support for no_proxy
472
473 ** Added support for ftp://user:password@host/
474
475 ** Added support for %xx in URL syntax
476
477 ** More natural command-line options
478
479 ** Added -e switch to execute .geturlrc commands from the command-line
480
481 ** Added support for robots.txt
482
483 ** Fixed some minor bugs
484 \f
485 * Geturl 1.2 is a bugfix release with no user-visible changes.
486 \f
487 * Changes in Geturl 1.1
488
489 ** REST supported in FTP
490
491 ** Proxy servers supported
492
493 ** GNU getopt used, which enables command-line arguments to be ordered
494 as you wish, e.g.  geturl http://fly.cc.fer.hr/ -vo log is the same as
495 geturl -vo log http://fly.cc.fer.hr/
496
497 ** Netscape-compatible URL syntax for HTTP supported: host[:port]/dir/file
498
499 ** NcFTP-compatible colon URL syntax for FTP supported: host:/dir/file
500
501 ** <base href="xxx"> supported
502
503 ** autoconf supported
504 \f
505 ----------------------------------------------------------------------
506 Copyright information:
507
508 Copyright (C) 2005 Free Software Foundation, Inc.
509
510    Permission is granted to anyone to make or distribute verbatim
511    copies of this document as received, in any medium, provided that
512    the copyright notice and this permission notice are preserved, thus
513    giving the recipient permission to redistribute in turn.
514
515    Permission is granted to distribute modified versions of this
516    document, or of portions of it, under the above conditions,
517    provided also that they carry prominent notices stating who last
518    changed them.