From: Remi Collet Date: Mon, 2 Mar 2020 15:51:55 +0000 (+0100) Subject: bump zip version + NEWS X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6d86c9bba6c700c6541252a17a70f84ab1bc826;p=php bump zip version + NEWS --- diff --git a/NEWS b/NEWS index b560f5813f..99430555be 100644 --- 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! >>> diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h index 654d6d2a32..96390e025a 100644 --- a/ext/zip/php_zip.h +++ b/ext/zip/php_zip.h @@ -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)