From de82f9845f2a0f9f27abec67d6a4958427e6f5d6 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Wed, 8 Mar 2017 00:22:36 -0800 Subject: [PATCH] Release 4.9.1 (sic) Signed-off-by: Edward Z. Yang --- Doxyfile | 2 +- NEWS | 5 ++++- VERSION | 2 +- WHATSNEW | 17 ++++++++--------- configdoc/usage.xml | 28 +++++++++++++++++----------- library/HTMLPurifier.includes.php | 2 +- library/HTMLPurifier.php | 6 +++--- library/HTMLPurifier/Config.php | 2 +- 8 files changed, 36 insertions(+), 28 deletions(-) rewrite WHATSNEW (100%) diff --git a/Doxyfile b/Doxyfile index 94fa6b2d..bd8672d3 100644 --- a/Doxyfile +++ b/Doxyfile @@ -31,7 +31,7 @@ PROJECT_NAME = HTMLPurifier # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 4.8.0 +PROJECT_NUMBER = 4.9.1 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/NEWS b/NEWS index de383ae1..a2953ba1 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier . Internal change ========================== -4.9.0, unknown release date +4.9.1, released 2017-03-08 ! %URI.DefaultScheme can now be set to null, in which case all relative paths are removed. ! New CSS properties: min-width, max-width, min-height, max-height (#94) @@ -45,6 +45,9 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier the original frame. To disable this protection, set %HTML.TargetNoopener to FALSE. +4.9.0 was cut on Git but never properly released; when we did the +real release we decided to skip this version number. + 4.8.0, released 2016-07-16 # By default, when a link has a target attribute associated with it, we now also add rel="noreferrer" in order to diff --git a/VERSION b/VERSION index 6ca6df11..1f1ac7c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.8.0 \ No newline at end of file +4.9.1 \ No newline at end of file diff --git a/WHATSNEW b/WHATSNEW dissimilarity index 100% index 7acce06d..ec09150d 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -1,9 +1,8 @@ -HTML Purifier 4.8.0 is a bugfix release, collecting a year -of accumulated bug fixes. In particular, we fixed some minor -bugs and now declare full PHP 7 compatibility. The primary -backwards-incompatible change is that HTML Purifier will now -add rel="noreferrer" to all links with target attributes -(you can disable this with %HTML.TargetNoReferrer.) Other -changes: new configuration options %CSS.AllowDuplicates and -%Attr.ID.HTML5; border-radius is partially supported when -%CSS.AllowProprietary, and tel URIs are supported by default. +HTML Purifier 4.9.0 is a maintenance release, collecting a year +of accumulated bug fixes plus a few new feature. New features +include support for min/max-width/height CSS, and rgba/hsl/hsla +in color specifications. Major bugfixes include improvements +in the Serializer cache to avoid chmod'ing directories, better +entity decoding (we won't accidentally encode entities that occur +in URLs) and rel="noopener" on links with target attributes, +to prevent them from overwriting the original frame. diff --git a/configdoc/usage.xml b/configdoc/usage.xml index de395b8d..bba1a5c4 100644 --- a/configdoc/usage.xml +++ b/configdoc/usage.xml @@ -173,7 +173,7 @@ 313 - 351 + 352 37 @@ -282,6 +282,22 @@ 351 + + + 352 + + + 35 + + + + + 353 + + + 36 + + 65 @@ -551,16 +567,6 @@ 32 - - - 35 - - - - - 36 - - 25 diff --git a/library/HTMLPurifier.includes.php b/library/HTMLPurifier.includes.php index 8bfe7073..dfabd27c 100644 --- a/library/HTMLPurifier.includes.php +++ b/library/HTMLPurifier.includes.php @@ -7,7 +7,7 @@ * primary concern and you are using an opcode cache. PLEASE DO NOT EDIT THIS * FILE, changes will be overwritten the next time the script is run. * - * @version 4.8.0 + * @version 4.9.1 * * @warning * You must *not* include any other HTML Purifier files before this file, diff --git a/library/HTMLPurifier.php b/library/HTMLPurifier.php index 38a78e8d..5a03e5e3 100644 --- a/library/HTMLPurifier.php +++ b/library/HTMLPurifier.php @@ -19,7 +19,7 @@ */ /* - HTML Purifier 4.8.0 - Standards Compliant HTML Filtering + HTML Purifier 4.9.1 - Standards Compliant HTML Filtering Copyright (C) 2006-2008 Edward Z. Yang This library is free software; you can redistribute it and/or @@ -58,12 +58,12 @@ class HTMLPurifier * Version of HTML Purifier. * @type string */ - public $version = '4.8.0'; + public $version = '4.9.1'; /** * Constant with version of HTML Purifier. */ - const VERSION = '4.8.0'; + const VERSION = '4.9.1'; /** * Global configuration object. diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index 7b9dcf0e..32ca0b27 100644 --- a/library/HTMLPurifier/Config.php +++ b/library/HTMLPurifier/Config.php @@ -21,7 +21,7 @@ class HTMLPurifier_Config * HTML Purifier's version * @type string */ - public $version = '4.8.0'; + public $version = '4.9.1'; /** * Whether or not to automatically finalize -- 2.11.4.GIT