Release 4.0.0.
[htmlpurifier-web.git] / news / 2009 / 0708-4.0-released.xhtml
blob12d743ace6bcb6d593e99457cbfc01b5fbff3506
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html
5 xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:xi="http://www.w3.org/2001/XInclude"
7 xmlns:xc="urn:xhtml-compiler"
8 xc:news="yes"
9 xml:lang="en">
10 <head>
11 <title>HTML Purifier 4.0 released - News - HTML Purifier</title>
12 <xi:include href="common-meta.xml" xpointer="xpointer(/*/node())" />
13 </head>
14 <body>
16 <xi:include href="common-header.xml" xpointer="xpointer(/*/node())" />
18 <div id="main">
19 <h1 id="title">HTML Purifier 4.0 released</h1>
21 <div id="content">
22 <p>
23 HTML Purifier 4.0 is a major feature release focused on configuration
24 It deprecates the <code>$config-&gt;set('Ns', 'Directive', $value)</code> syntax for
25 <code>$config-&gt;set('Ns.Directive', $value);</code> both syntaxes work but the
26 former will throw errors. There are also some new features: robust
27 support for name/id, configuration inheritance, remove nbsp in
28 the RemoveEmpty autoformatter, userland configuration directives
29 and configuration serialization.
30 </p>
31 <p>
32 You can find full information on how to perform the migration
33 at <a href="http://htmlpurifier.org/docs/dev-config-bcbreaks.txt">dev-config-bcbreaks.txt</a>,
34 although the transforms are very simple and the error messages should tell
35 you what you need to do.
36 </p>
37 <p>
38 Having not performed an HTML Purifier release in so long, I have unfortunately
39 forgotten the passphrase on my original private key. Furthermore, you may have
40 noticed that commit messages are now showing up as ezyang@mit.edu
41 instead of edwardzyang@thewritingpot.com. While not intentional, this is
42 a good time to switch my GnuPG signing key. The new key you should verify
43 against is <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x4B3B9E321E1C674B">0x1E1C674B</a>.
44 Those of you who are paranoid should directly use the Git repository, which <em>is</em>
45 tagged with the correct key (yes, muscle memory worked once, and then fled from me),
46 although all future releases will be tagged with the new key. The key is also
47 <a xc:absolute="href" href="ezyang-tablet.asc">locally stored on htmlpurifier.org</a>.
48 </p>
49 <p>
50 See <a href="http://repo.or.cz/w/htmlpurifier.git?a=blob;f=NEWS;h=49832ff64dcddb3c7ba1f2f5b3a73edcd25b65a7;hb=53ff3e2744b20c579f52ca92d2a6a4922252a28c">NEWS</a>
51 for a complete changelog.
52 </p>
53 </div>
54 </div>
55 </body>
56 </html>