From d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 16 Jul 2016 05:58:58 -0700 Subject: [PATCH] Release 4.8.0 Signed-off-by: Edward Z. Yang --- Doxyfile | 2 +- NEWS | 2 +- TODO | 2 +- VERSION | 2 +- WHATSNEW | 13 +++++++++---- library/HTMLPurifier.includes.php | 2 +- library/HTMLPurifier.php | 6 +++--- library/HTMLPurifier/Config.php | 2 +- 8 files changed, 18 insertions(+), 13 deletions(-) rewrite WHATSNEW (100%) diff --git a/Doxyfile b/Doxyfile index b418f212..94fa6b2d 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.7.0 +PROJECT_NUMBER = 4.8.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/NEWS b/NEWS index 8e46860e..039c31e9 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier . Internal change ========================== -4.8.0, unknown release date +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 prevent the new window from being able to overwrite diff --git a/TODO b/TODO index a92abf28..1afb33cb 100644 --- a/TODO +++ b/TODO @@ -32,7 +32,7 @@ Things to do as soon as possible: FUTURE VERSIONS --------------- -4.8 release [OMG CONFIG PONIES] +4.9 release [OMG CONFIG PONIES] ! Fix Printer. It's from the old days when we didn't have decent XML classes ! Factor demo.php into a set of Printer classes, and then create a stub file for users here (inside the actual HTML Purifier library) diff --git a/VERSION b/VERSION index 1163055e..6ca6df11 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.7.0 \ No newline at end of file +4.8.0 \ No newline at end of file diff --git a/WHATSNEW b/WHATSNEW dissimilarity index 100% index 4e5eb2b6..7acce06d 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -1,4 +1,9 @@ -HTML Purifier 4.7.0 is a bugfix release, collecting two years -worth of accumulated bug fixes. Highlighted bugfixes are updated -YouTube filter code, corrected rgb() CSS parsing, and one new -configuration option, %AutoFormat.RemoveEmpty.Predicate. +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. diff --git a/library/HTMLPurifier.includes.php b/library/HTMLPurifier.includes.php index d2329fd8..b1131ef9 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.7.0 + * @version 4.8.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 c7a51e1c..38a78e8d 100644 --- a/library/HTMLPurifier.php +++ b/library/HTMLPurifier.php @@ -19,7 +19,7 @@ */ /* - HTML Purifier 4.7.0 - Standards Compliant HTML Filtering + HTML Purifier 4.8.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.7.0'; + public $version = '4.8.0'; /** * Constant with version of HTML Purifier. */ - const VERSION = '4.7.0'; + const VERSION = '4.8.0'; /** * Global configuration object. diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index 2b2db0c2..7b9dcf0e 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.7.0'; + public $version = '4.8.0'; /** * Whether or not to automatically finalize -- 2.11.4.GIT