Skip to content

Commit a6d86c9

Browse files
committed
bump zip version + NEWS
1 parent fb8e221 commit a6d86c9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,10 @@ PHP NEWS
130130
. Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
131131
. Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
132132
. Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)
133+
. Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and
134+
addFromString methods. (Remi)
135+
. Add "flags" options to ZipArchive::addGlob and addPattern methods
136+
keeping previous behavior having FL_OVERWRITE by default. (Remi)
137+
. Add ZipArchive::replaceFile() method
133138

134139
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>

ext/zip/php_zip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern zend_module_entry zip_module_entry;
3131
#define ZIP_OVERWRITE ZIP_TRUNCATE
3232
#endif
3333

34-
#define PHP_ZIP_VERSION "1.17.1"
34+
#define PHP_ZIP_VERSION "1.18.0"
3535

3636
#define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
3737

0 commit comments

Comments
 (0)