Release 1.2.0.
[htmlpurifier.git] / NEWS
blob13e4a958d0cffb9720002e7cc38d2633644a1c2b
1 NEWS ( CHANGELOG and HISTORY )                                     HTMLPurifier
2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4 = KEY ====================
5     # Breaks back-compat
6     ! Feature
7     - Bugfix
8       + Sub-comment
9     . Internal change
10 ==========================
12 1.2.0, released 2006-11-19
13 # ID attributes now disabled by default. New directives:
14   + %HTML.EnableAttrID - restores old behavior by allowing IDs
15   + %Attr.IDPrefix - %Attr.IDBlacklist alternative that munges all user IDs
16     so that they don't collide with your IDs
17   + %Attr.IDPrefixLocal - Same as above, but for when there are multiple
18     instances of user content on the page
19   + Profuse documentation on how to use these available in docs/enduser-id.txt
20 ! Added MODx plugin <http://modxcms.com/forums/index.php/topic,6604.0.html>
21 ! Added percent encoding normalization
22 ! XSS attacks smoketest given facelift
23 ! Configuration documentation now has table of contents
24 ! Added %URI.DisableExternal, which prevents links to external websites.  You
25   can also use %URI.Host to permit absolute linking to subdomains
26 ! Non-accessible resources (ex. mailto) blocked from embedded URIs (img src)
27 - Type variable in HTMLDefinition was not being set properly, fixed
28 - Documentation updated
29   + TODO added request Phalanger
30   + TODO added request Native compression
31   + TODO added request Remove redundant tags
32   + TODO added possible plaintext formatter for HTML Purifier documentation
33   + Updated ConfigDoc TODO
34   + Improved inline comments in AttrDef/Class.php, AttrDef/CSS.php
35     and AttrDef/Host.php
36   + Revamped documentation into HTML, along with misc updates
37 - HTMLPurifier_Context doesn't throw a variable reference error if you attempt
38   to retrieve a non-existent variable
39 . Switched to purify()-wide Context object registry
40 . Refactored unit tests to minimize duplication
41 . XSS attack sheet updated
42 . configdoc.xml now has xml:space attached to default value nodes
43 . Allow configuration directives to permit null values
44 . Cleaned up test-cases to remove unnecessary swallowErrors()
46 1.1.2, released 2006-09-30
47 ! Add HTMLPurifier.auto.php stub file that configures include_path
48 - Documentation updated
49   + INSTALL document rewritten
50   + TODO added semi-lossy conversion
51   + API Doxygen docs' file exclusions updated
52   + Added notes on HTML versus XML attribute whitespace handling
53   + Noted that HTMLPurifier_ChildDef_Custom isn't being used
54   + Noted that config object's definitions are cached versions
55 - Fixed lack of attribute parsing in HTMLPurifier_Lexer_PEARSax3
56 - ftp:// URIs now have their typecodes checked
57 - Hooked up HTMLPurifier_ChildDef_Custom's unit tests (they weren't being run)
58 . Line endings standardized throughout project (svn:eol-style standardized)
59 . Refactored parseData() to general Lexer class
60 . Tester named "HTML Purifier" not "HTMLPurifier"
62 1.1.1, released 2006-09-24
63 ! Configuration option to optionally Tidy up output for indentation to make up
64   for dropped whitespace by DOMLex (pretty-printing for the entire application
65   should be done by a page-wide Tidy)
66 - Various documentation updates
67 - Fixed parse error in configuration documentation script
68 - Fixed fatal error in benchmark scripts, slightly augmented
69 - As far as possible, whitespace is preserved in-between table children
70 - Sample test-settings.php file included
72 1.1.0, released 2006-09-16
73 ! Directive documentation generation using XSLT
74 ! XHTML can now be turned off, output becomes <br>
75 - Made URI validator more forgiving: will ignore leading and trailing
76   quotes, apostrophes and less than or greater than signs.
77 - Enforce alphanumeric namespace and directive names for configuration.
78 - Table child definition made more flexible, will fix up poorly ordered elements
79 . Renamed ConfigDef to ConfigSchema
81 1.0.1, released 2006-09-04
82 - Fixed slight bug in DOMLex attribute parsing
83 - Fixed rejection of case-insensitive configuration values when there is a
84   set of allowed values.  This manifested in %Core.Encoding.
85 - Fixed rejection of inline style declarations that had lots of extra
86   space in them.  This manifested in TinyMCE.
88 1.0.0, released 2006-09-01
89 ! Shorthand CSS properties implemented: font, border, background, list-style
90 ! Basic color keywords translated into hexadecimal values
91 ! Table CSS properties implemented
92 ! Support for charsets other than UTF-8 (defined by iconv)
93 ! Malformed UTF-8 and non-SGML character detection and cleaning implemented
94 - Fixed broken numeric entity conversion
95 - API documentation completed
96 . (HTML|CSS)Definition de-singleton-ized
98 1.0.0beta, released 2006-08-16
99 ! First public release, most functionality implemented. Notable omissions are:
100   + Shorthand CSS properties
101   + Table CSS properties
102   + Deprecated attribute transformations