From: Remi Collet Date: Thu, 2 Apr 2020 12:58:13 +0000 (+0200) Subject: news / UPGRADING for zip 1.19.0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=319c21b1f60cd05ff7751abc8d0c2267a2314299;p=php news / UPGRADING for zip 1.19.0 --- diff --git a/NEWS b/NEWS index 24608bdd5d..1c25db5f08 100644 --- a/NEWS +++ b/NEWS @@ -157,5 +157,8 @@ PHP NEWS original modified time). (Remi) . Implemented FR #77960 (add compression / encryption options for ZipArchive::addGlob and ZipArchive::addPattern). (Remi) + . Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants. (Remi) + . Add ZipArchive::isCompressionMethodSupported() and + ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0). (Remi) <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>> diff --git a/UPGRADING b/UPGRADING index ab0999282d..8b0324d090 100644 --- a/UPGRADING +++ b/UPGRADING @@ -457,13 +457,14 @@ PHP 8.0 UPGRADE NOTES RFC: https://wiki.php.net/rfc/dom_living_standard_api - Zip: - . Extension updated to version 1.18.2 + . Extension updated to version 1.19.0 . New ZipArchive::lastId property to get index value of last added entry. . Error can be checked after an archive is closed using ZipArchive::status, ZipArchive::statusSys properties or ZipArchive::getStatusString() method. . The remove_path option of ZipArchive::addGlob() and ::addPattern() is now treated as arbitrary string prefix (for consistency with the add_path option), whereas formerly it was treated as directory name. + . Optional compression / encryption features are listed in phpinfo. ======================================== 3. Changes in SAPI modules @@ -528,6 +529,10 @@ PHP 8.0 UPGRADE NOTES . ZipArchive::setProgressCallback to provide updates during archive close. . ZipArchive::setCancelCallback to allow cancellation during archive close. . ZipArchive::replaceFile to replace an entry content. + . ZipArchive::isCompressionMethodSupported to check optional compression + features. + . ZipArchive::isEncryptionMethodSupported to check optional encryption + features. ======================================== 7. New Classes and Interfaces