]> granicus.if.org Git - php/commitdiff
bump zp to 1.18.1 + doc
authorRemi Collet <remi@php.net>
Wed, 18 Mar 2020 13:09:50 +0000 (14:09 +0100)
committerRemi Collet <remi@php.net>
Wed, 18 Mar 2020 13:09:50 +0000 (14:09 +0100)
NEWS
UPGRADING
ext/zip/php_zip.h

diff --git a/NEWS b/NEWS
index 662dff8105e3182e1619a9cf55a21ac78aa362dd..c05493cc84677ace7a0d3202f37ffd6a142c4529 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -153,5 +153,7 @@ PHP                                                                        NEWS
     is closed. (Remi)
   . Fixed bug #50678 (files extracted by ZipArchive class lost their
     original modified time). (Remi)
+  . Implemented FR #77960 (add compression / encryption options for
+    ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
 
 <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
index ac35b36c6c33671ac9aa73e98fd2f8e11b2255c3..1467d311ad9afa7f0bb61da8524bf421ed5dfd46 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -450,7 +450,7 @@ PHP 8.0 UPGRADE NOTES
     RFC: https://wiki.php.net/rfc/dom_living_standard_api
 
 - Zip:
-  . Extension updated to version 1.18
+  . Extension updated to version 1.18.1
   . 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.
@@ -475,8 +475,13 @@ PHP 8.0 UPGRADE NOTES
 ========================================
 
 - Zip
- . ZipArchive::addGlob and ZipArchive::addPattern methods accept a "flags"
-   value in the "options" array argument.
+ . ZipArchive::addGlob and ZipArchive::addPattern methods accept more
+   values in the "options" array argument:
+   . flags
+   . comp_method
+   . comp_flags
+   . env_method
+   . enc_pasword
  . ZipArchive::addEmptyDir, ZipArchive::addFile and aZipArchive::addFromString
    methods have a new "flags" argument. This allow to manage name encoding
    (ZipArchive::FL_ENC_*) and entry replacement (ZipArchive::FL_OVERWRITE)
index 1f3ec76f02f399ee94a30f3c962ee890bb2c7455..60655ead65d77fb514172eda0a6d3d4c116b577f 100644 (file)
@@ -31,7 +31,7 @@ extern zend_module_entry zip_module_entry;
 #define ZIP_OVERWRITE ZIP_TRUNCATE
 #endif
 
-#define PHP_ZIP_VERSION "1.18.0"
+#define PHP_ZIP_VERSION "1.18.1"
 
 #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)