From 83ab08bc1af7d808a9e0fbf024f1c24bfd73c0a7 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 14 Jul 2019 14:58:38 -0400 Subject: [PATCH] Release 4.11.0 Signed-off-by: Edward Z. Yang --- Doxyfile | 2 +- VERSION | 2 +- WHATSNEW | 14 +++++++------- configdoc/usage.xml | 24 ++++++++++++------------ library/HTMLPurifier.includes.php | 2 +- library/HTMLPurifier.php | 6 +++--- library/HTMLPurifier/Config.php | 2 +- update-for-release | 2 +- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Doxyfile b/Doxyfile index ecb71108..8be4429e 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.10.0 +PROJECT_NUMBER = 4.11.0 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/VERSION b/VERSION index 1910ba9d..91f3b438 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.10.0 \ No newline at end of file +4.11.0 \ No newline at end of file diff --git a/WHATSNEW b/WHATSNEW index eceee1d1..d34a27f5 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -1,7 +1,7 @@ -HTML Purifier 4.10.x is a maintenance release, collecting a year -of accumulated bug fixes. The most critical fixes relate to -supporting PHP 7.2 properly, and there are a few other minor -fixes. One thing on the feature front: relative CSS length -specifiers are now supported. Additionally, we have officially -dropped support for PHP 5.3; while we have not purposely broken -HTML Purifier for this version, we are no longer testing for it. +HTML Purifier 4.11.x is a maintenance release, collecting a year +and a half of accumulated bug fixes. Most notable fixes are +compatibility with PHP 7.3, and case-sensitive matching for +the SafeScripting whitelist. There are a number small feature +enhancements, including an expanded supported color list, +initial and inherit support for {min-,max-,}{width,height} +and multidimensional array support for purifyArray. diff --git a/configdoc/usage.xml b/configdoc/usage.xml index 759b2043..65c34638 100644 --- a/configdoc/usage.xml +++ b/configdoc/usage.xml @@ -19,37 +19,37 @@ - 226 + 240 - 323 + 365 - 327 + 369 - 331 + 373 - 335 + 377 - 464 + 506 - 480 + 522 @@ -94,11 +94,6 @@ 429 - - - 72 - - 70 @@ -544,6 +539,11 @@ 54 + + + 72 + + 84 diff --git a/library/HTMLPurifier.includes.php b/library/HTMLPurifier.includes.php index 321bdc56..c88c5598 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.10.0 + * @version 4.11.0 * * @warning * You must *not* include any other HTML Purifier files before this file, diff --git a/library/HTMLPurifier.php b/library/HTMLPurifier.php index 76abb544..0bd2a3ba 100644 --- a/library/HTMLPurifier.php +++ b/library/HTMLPurifier.php @@ -19,7 +19,7 @@ */ /* - HTML Purifier 4.10.0 - Standards Compliant HTML Filtering + HTML Purifier 4.11.0 - 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.10.0'; + public $version = '4.11.0'; /** * Constant with version of HTML Purifier. */ - const VERSION = '4.10.0'; + const VERSION = '4.11.0'; /** * Global configuration object. diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index f34a5361..21e8cd76 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.10.0'; + public $version = '4.11.0'; /** * Whether or not to automatically finalize diff --git a/update-for-release b/update-for-release index 834d3856..32709d25 100644 --- a/update-for-release +++ b/update-for-release @@ -102,7 +102,7 @@ if (!$c) { } file_put_contents('library/HTMLPurifier/Config.php', $config_c); -passthru('php maintenance/flush.php'); +passthru('maintenance/flush.sh'); if ($is_dev) echo "Review changes, write something in WHATSNEW and FOCUS, and then commit with log 'Release $version.'" . PHP_EOL; else echo "Numbers updated to dev, no other modifications necessary!";