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">
5 xmlns=
"http://www.w3.org/1999/xhtml"
6 xmlns:
xi=
"http://www.w3.org/2001/XInclude"
7 xmlns:
xc=
"urn:xhtml-compiler"
11 <title>HTML Purifier
4.0 released - News - HTML Purifier
</title>
12 <xi:include href=
"common-meta.xml" xpointer=
"xpointer(/*/node())" />
16 <xi:include href=
"common-header.xml" xpointer=
"xpointer(/*/node())" />
19 <h1 id=
"title">HTML Purifier
4.0 released
</h1>
23 HTML Purifier
4.0 is a major feature release focused on configuration
24 It deprecates the
<code>$config-
>set('Ns', 'Directive', $value)
</code> syntax for
25 <code>$config-
>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.
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.
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&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>.
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.