]> granicus.if.org Git - php/commitdiff
bump zip version + NEWS
authorRemi Collet <remi@php.net>
Mon, 2 Mar 2020 15:51:55 +0000 (16:51 +0100)
committerRemi Collet <remi@php.net>
Mon, 2 Mar 2020 15:51:55 +0000 (16:51 +0100)
NEWS
ext/zip/php_zip.h

diff --git a/NEWS b/NEWS
index b560f5813f32a87240559c588b2eafb47e3255ff..99430555bee24145e6f12535df7c9e9cd0676b8a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -130,5 +130,10 @@ PHP                                                                        NEWS
   . Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
   . Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
   . Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)
+  . Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and
+    addFromString methods. (Remi)
+  . Add "flags" options to ZipArchive::addGlob and addPattern methods
+    keeping previous behavior having FL_OVERWRITE by default. (Remi)
+  . Add ZipArchive::replaceFile() method
 
 <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
index 654d6d2a3286431bea1fa81863804099237fec4e..96390e025a185babefef4a9bfe65732dc9cb9678 100644 (file)
@@ -31,7 +31,7 @@ extern zend_module_entry zip_module_entry;
 #define ZIP_OVERWRITE ZIP_TRUNCATE
 #endif
 
-#define PHP_ZIP_VERSION "1.17.1"
+#define PHP_ZIP_VERSION "1.18.0"
 
 #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)