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