]> granicus.if.org Git - php/commitdiff
news / UPGRADING for zip 1.19.0
authorRemi Collet <remi@php.net>
Thu, 2 Apr 2020 12:58:13 +0000 (14:58 +0200)
committerRemi Collet <remi@php.net>
Thu, 2 Apr 2020 12:58:13 +0000 (14:58 +0200)
NEWS
UPGRADING

diff --git a/NEWS b/NEWS
index 24608bdd5debbc063f6d6651cb60491fb07b0bb9..1c25db5f0889af10bdebecfa9d09d89154fdbed0 100644 (file)
--- 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! >>>
index ab0999282d476db7b3135778afeab3083337bcb0..8b0324d09076019811899fdaf606a16eda3c0d9c 100644 (file)
--- 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