mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-01-17 20:58:22 +01:00
a3083b821c
Now we will use the special field ExtraField c ID 0xD935, which was implemented by Google in the apksigner library. Now this field corresponds to the ZIP standard for storing ExtraField records, and not just filling with zero bytes, as in the zipalign console utility.
1.7 KiB
1.7 KiB
Changelog
3.1.2 (2017-11-17)
- Changed the algorithm for adding paddings to zipalign. Now we will use the special field ExtraField c ID 0xD935, which was implemented by Google in the apksigner library. Now this field corresponds to the ZIP standard for storing ExtraField records, and not just filling with zero bytes, as in the zipalign console utility.
3.1.1 (2017-11-15)
- Fix resave zip aligned archive
3.1.0 (2017-11-14)
- Added class
ZipModel
for all changes. - All manipulations with incoming and outgoing streams are in separate files:
ZipInputStream
andZipOutputStream
. - Removed class
CentralDirectory
. - Optimized extra fields classes.
- Fixed issue #4 (
count()
returns 0 when files are added in directories). - Implemented issue #8 - support inline Content-Disposition and empty output filename.
- Optimized and tested on a php 32-bit platform (issue #5).
- Added output as PSR-7 Response.
- Added methods for canceling changes.
- Added russian documentation.
- Updated documentation.
- Declared deprecated methods:
- rename
ZipFile::withReadPassword
toZipFile::setReadPassword
- rename
ZipFile::withNewPassword
toZipFile::setPassword
- rename
ZipFile::withoutPassword
toZipFile::disableEncryption
- rename
3.0.3 (2017-11-11)
Fix bug issue #8 - Error if the file is empty.
3.0.0 (2017-03-15)
Merge ZipOutputFile
with ZipFile and optimize the zip archive update.
See the update instructions in README.md.
2.2.0 (2017-03-02)
Features:
- create output object
ZipOutputFile
fromZipFile
in methodZipFile::edit()
. - create output object
ZipOutputFile
from filename in static methodZipOutputFile::openFromFile(string $filename)
.