Skip to content

Commit b915d68

Browse files
committed
Zip: version is now 1.17.0
change for Windows (which have libzip 1.4 by default) update NEWS
1 parent 3af1cee commit b915d68

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

NEWS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ PHP NEWS
120120

121121
- Zip:
122122
. Fixed bug #72374 (remove_path strips first char of filename). (tyage)
123-
. Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods
123+
. Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
124+
. Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
125+
. Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)
124126

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

ext/zip/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (PHP_ZIP != "no") {
1515
}
1616

1717
AC_DEFINE('HAVE_ZIP', 1);
18-
ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION");
18+
ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK");
1919
} else {
2020
WARNING("zip not enabled; libraries and headers not found");
2121
}

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.16.1"
34+
#define PHP_ZIP_VERSION "1.17.0"
3535

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

0 commit comments

Comments
 (0)