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