More docs for 307 stable.
[privoxy.git] / doc / webserver / user-manual / whatsnew.html
index 327d2b7..4e15cf1 100644 (file)
@@ -89,7 +89,36 @@ CLASS="APPLICATION"
 ><UL
 ><LI
 ><P
->    Header filtering can be done with dedicated header filters now. As a result
+>    Two new actions <A
+HREF="actions-file.html#SERVER-HEADER-TAGGER"
+>server-header-tagger</A
+>
+          and <A
+HREF="actions-file.html#CLIENT-HEADER-TAGGER"
+>client-header-tagger</A
+>
+          that can be used to create arbitrary <SPAN
+CLASS="QUOTE"
+>"tags"</SPAN
+>
+          based on client and server headers.
+          These <SPAN
+CLASS="QUOTE"
+>"tags"</SPAN
+> can then subsequently be used
+          to control the other actions used for the current request,
+          greatly increasing <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>'s flexibility and selectivity. See <A
+HREF="actions-file.html#TAG-PATTERN"
+>tag patterns</A
+> for more information on tags.
+   </P
+></LI
+><LI
+><P
+>    Header filtering is done with dedicated header filters now. As a result
     the actions <SPAN
 CLASS="QUOTE"
 >"filter-client-headers"</SPAN
@@ -101,11 +130,160 @@ CLASS="QUOTE"
 CLASS="APPLICATION"
 >Privoxy 3.0.5</SPAN
 > to apply
-    the content filters to the headers as, well have been removed again.
+    content filters to the headers have been removed.
+    See the new actions <A
+HREF="actions-file.html#SERVER-HEADER-FILTER"
+>server-header-filter</A
+>
+          and <A
+HREF="actions-file.html#CLIENT-HEADER-FILTER"
+>client-header-filter</A
+> for details.
+   </P
+></LI
+><LI
+><P
+>     There are four new options for the main <TT
+CLASS="FILENAME"
+>config</TT
+> file:
+   </P
+><P
+></P
+><UL
+><LI
+><P
+>          <A
+HREF="config.html#ALLOW-CGI-REQUEST-CRUNCHING"
+>allow-cgi-request-crunching</A
+>
+          which allows requests for Privoxy's internal CGI pages to be
+          blocked, redirected or (un)trusted like ordinary requests.
+        </P
+></LI
+><LI
+><P
+>          <A
+HREF="config.html#SPLIT-LARGE-FORMS"
+>split-large-forms</A
+>
+          that will work around a browser bug that caused IE6 and IE7 to
+          ignore the Submit button on the Privoxy's edit-actions-for-url CGI
+          page.
+          </P
+></LI
+><LI
+><P
+>          <A
+HREF="config.html#ACCEPT-INTERCEPTED-REQUESTS"
+>accept-intercepted-requests</A
+>
+          which allows to combine Privoxy with any packet filter to create an
+          intercepting proxy for HTTP/1.1 requests (and for HTTP/1.0 requests
+          with Host header set). This means clients can be forced to use
+          <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> even if their proxy settings are configured differently.
+         </P
+></LI
+><LI
+><P
+>          <A
+HREF="config.html#TEMPLDIR"
+>templdir</A
+>
+          to designate an alternate location for <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>'s 
+          locally customized CGI templates so that
+          these are not overwritten during upgrades.         
+        </P
+></LI
+></UL
+></LI
+><LI
+><P
+>   A new command line option <TT
+CLASS="LITERAL"
+>--pre-chroot-nslookup hostname</TT
+> to
+   initialize the resolver library before chroot'ing. On some systems this
+   reduces the number of files that must be copied into the chroot tree.
+   (Patch provided by Stephen Gildea)
+   </P
+></LI
+><LI
+><P
+>     The <A
+HREF="actions-file.html#FORWARD-OVERRIDE"
+>forward-override</A
+> action 
+     allows changing of the forwarding settings through the actions files.
+     Combined with tags, this allows to choose the forwarder based on
+     client headers like the <TT
+CLASS="LITERAL"
+>User-Agent</TT
+>, or the request origin.
+  </P
+></LI
+><LI
+><P
+>     The  <A
+HREF="actions-file.html#REDIRECT"
+>redirect</A
+> action can now use regular
+          expression substitutions against the original URL.
+   </P
+></LI
+><LI
+><P
+>     <SPAN
+CLASS="APPLICATION"
+>zlib</SPAN
+> support is now available as a compile
+     time option to filter compressed content. Patch provided by Wil Mahan.
+   </P
+></LI
+><LI
+><P
+>     Improve various filters, and add new ones.
+   </P
+></LI
+><LI
+><P
+>    Include support for RFC 3253 so that <TT
+CLASS="FILENAME"
+>Subversion</TT
+> works
+    with <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>. Patch provided by Petr Kadlec.
+   </P
+></LI
+><LI
+><P
+>     Logging can be completely turned off by not specifying a logfile directive.
+   </P
+></LI
+><LI
+><P
+>     A number of improvements to Privoxy's internal CGI pages, including the
+     use of favicons for error and control pages.
+   </P
+></LI
+><LI
+><P
+>     Many bugfixes, memory leaks addressed, code improvements, and logging 
+     improvements.
    </P
 ></LI
 ></UL
 ></P
+><P
+> For a more detailed list of changes please have a look at the ChangeLog.</P
 ><DIV
 CLASS="SECT2"
 ><H2
@@ -126,189 +304,115 @@ CLASS="APPLICATION"
 ><UL
 ><LI
 ><P
->  
-    Some installers may remove earlier versions completely, including 
-    configuration files. Save any important configuration files!
+>   The recommended way to upgrade <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> is to backup your old 
+   configuration files, install the new ones, verify that <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>
+   is working correctly and finally merge back your changes using
+   <SPAN
+CLASS="APPLICATION"
+>diff</SPAN
+> and maybe <SPAN
+CLASS="APPLICATION"
+>patch</SPAN
+>.
   </P
-></LI
-><LI
 ><P
->  
-   On the other hand, other installers may not overwrite any existing configuration 
-   files, thinking you will want to do that. You may want to manually check 
-   your saved files against the newer versions to see if the improvements have
-   merit, or whether there are new options that you may want to consider.
-   There are a number of new features, but most won't be available unless 
-   these features are incorporated into your configuration somehow.
+>   There are a number of new features in each <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> release and
+   most of them have to be explicitly enabled in the configuration
+   files. Old configuration files obviously don't do that and due
+   to syntax changes using old configuration files with a new
+   <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> isn't always possible anyway.
   </P
 ></LI
 ><LI
 ><P
->     See the full documentation on 
-     <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FAST-REDIRECTS"
->fast-redirects</A
-></TT
->
-     which has changed syntax, and will require adjustments to local configs, 
-     such as <TT
-CLASS="FILENAME"
->user.action</TT
->. You must reference the new 
-     syntax: 
-   </P
-><P
-> <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  { +fast-redirects{check-decoded-url} }
-   .example.com
-   mybank.com
-   .google.</PRE
-></TD
-></TR
-></TABLE
-></P
+>  
+    Note that some installers remove earlier versions completely,
+    including configuration files, therefore you should really save
+    any important configuration files!
+  </P
 ></LI
 ><LI
 ><P
->     The <TT
-CLASS="FILENAME"
->jarfile</TT
->, 
-     <A
-HREF="http://en.wikipedia.org/wiki/Browser_cookie"
-TARGET="_top"
->cookie</A
-> logger, is off by default now.
-    </P
+>  
+   On the other hand, other installers don't overwrite existing configuration 
+   files, thinking you will want to do that yourself.
+  </P
 ></LI
 ><LI
 ><P
 >  
-   What constitutes a <SPAN
-CLASS="QUOTE"
->"default"</SPAN
-> configuration has changed, 
-   and you may want to review which actions are <SPAN
-CLASS="QUOTE"
->"on"</SPAN
-> by 
-   default. This is primarily a matter of emphasis, but some features 
-   you may have been used to, may now be <SPAN
-CLASS="QUOTE"
->"off"</SPAN
-> by default.
-   There are also a number of new actions and filters you may want to
-   consider, most of which are not fully incorporated into the default
-   settings as yet (see above).
+   <TT
+CLASS="FILENAME"
+>standard.action</TT
+> now only includes the enabled actions.
+   Not all actions as before.
   </P
 ></LI
 ><LI
 ><P
->    The default actions setting is now <TT
-CLASS="LITERAL"
->Cautious</TT
->. Previous
-    releases had a default setting of <TT
-CLASS="LITERAL"
->Medium</TT
->. Experienced
-    users may want to adjust this, as it is fairly conservative by <SPAN
+>   Logging is off by default now. If you need logging, it can be turned on
+   in the <A
+HREF="config.html#LOGFILE"
+>config file</A
+>. You may also want
+   to enable logging until you verified that the new <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
->
-    standards and past practices. See <A
-HREF="http://config.privoxy.org/edit-actions-list?f=default"
-TARGET="_top"
->    http://config.privoxy.org/edit-actions-list?f=default</A
->. New users
-    should try the default settings for a while before turning up the volume.
-   </P
-></LI
-><LI
-><P
->    The default setting has filtering turned <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->off</I
-></SPAN
->, which
-    subsequently means that compression is <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->on</I
-></SPAN
->. Remember
-    that filtering does not work on compressed pages, so if you use, or want to
-    use, filtering, you will need to force compression off. Example:
-   </P
-><P
-> <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->  { +<A
-HREF="actions-file.html#FILTER"
->filter</A
->{google}  +<A
-HREF="actions-file.html#PREVENT-COMPRESSION"
->prevent-compression</A
-> }
-   .google.</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-><P
->    Or if you use a number of filters, or filter many sites, you may just want
-    to turn off compression for all sites in
-    <TT
-CLASS="FILENAME"
->default.action</TT
-> (or
-    <TT
-CLASS="FILENAME"
->user.action</TT
->). 
-   </P
+> version
+   is working as expected.
+  </P
 ></LI
 ><LI
 ><P
->   Also, <A
-HREF="actions-file.html#SESSION-COOKIES-ONLY"
->session-cookies-only</A
-> is 
-   off by default now. If you've liked this feature in the past, you may want 
-   to turn it back on in <TT
-CLASS="FILENAME"
->user.action</TT
-> now.
-  </P
+>     Three other config file settings are now off by default: 
+     <A
+HREF="config.html#ENABLE-REMOTE-TOGGLE"
+>enable-remote-toggle</A
+>,
+     <A
+HREF="config.html#ENABLE-REMOTE-HTTP-TOGGLE"
+>enable-remote-http-toggle</A
+>,
+     and  <A
+HREF="config.html#ENABLE-EDIT-ACTIONS"
+>enable-edit-actions</A
+>. 
+     If you use or want these, you will need to explicitly enable them, and
+     be aware of the security issues involved. 
+    </P
 ></LI
 ><LI
 ><P
->   
-   Some installers may not automatically start
-   <SPAN
+>    The <SPAN
+CLASS="QUOTE"
+>"filter-client-headers"</SPAN
+> and
+    <SPAN
+CLASS="QUOTE"
+>"filter-server-headers"</SPAN
+> actions that were introduced with
+    <SPAN
 CLASS="APPLICATION"
->Privoxy</SPAN
-> after installation.
-  </P
+>Privoxy 3.0.5</SPAN
+> to apply content filters to
+    the headers  have been removed and replaced with new actions.
+    See the <A
+HREF="whatsnew.html"
+>What's New section</A
+> above.
+   </P
 ></LI
 ></UL
 ></P