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