Skip to content

Commit 319c21b

Browse files
committed
news / UPGRADING for zip 1.19.0
1 parent 2dc8d39 commit 319c21b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,8 @@ PHP NEWS
157157
original modified time). (Remi)
158158
. Implemented FR #77960 (add compression / encryption options for
159159
ZipArchive::addGlob and ZipArchive::addPattern). (Remi)
160+
. Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants. (Remi)
161+
. Add ZipArchive::isCompressionMethodSupported() and
162+
ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0). (Remi)
160163

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

UPGRADING

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,13 +457,14 @@ PHP 8.0 UPGRADE NOTES
457457
RFC: https://wiki.php.net/rfc/dom_living_standard_api
458458

459459
- Zip:
460-
. Extension updated to version 1.18.2
460+
. Extension updated to version 1.19.0
461461
. New ZipArchive::lastId property to get index value of last added entry.
462462
. Error can be checked after an archive is closed using ZipArchive::status,
463463
ZipArchive::statusSys properties or ZipArchive::getStatusString() method.
464464
. The remove_path option of ZipArchive::addGlob() and ::addPattern() is now
465465
treated as arbitrary string prefix (for consistency with the add_path
466466
option), whereas formerly it was treated as directory name.
467+
. Optional compression / encryption features are listed in phpinfo.
467468

468469
========================================
469470
3. Changes in SAPI modules
@@ -528,6 +529,10 @@ PHP 8.0 UPGRADE NOTES
528529
. ZipArchive::setProgressCallback to provide updates during archive close.
529530
. ZipArchive::setCancelCallback to allow cancellation during archive close.
530531
. ZipArchive::replaceFile to replace an entry content.
532+
. ZipArchive::isCompressionMethodSupported to check optional compression
533+
features.
534+
. ZipArchive::isEncryptionMethodSupported to check optional encryption
535+
features.
531536

532537
========================================
533538
7. New Classes and Interfaces

0 commit comments

Comments
 (0)