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