1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-07-23 16:51:12 +02:00

Added changes to changelog.

This commit is contained in:
Ne-Lexa
2017-11-14 15:26:44 +03:00
parent 23addc5695
commit ab41e70d5c
3 changed files with 26 additions and 0 deletions

View File

@@ -1,3 +1,22 @@
# Changelog
## 3.1.0 (2017-11-14)
- Added class `ZipModel` for all changes.
- All manipulations with incoming and outgoing streams are in separate files: `ZipInputStream` and `ZipOutputStream`.
- 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](README.RU.md).
- Updated [documentation](README.md).
- Declared deprecated methods:
+ rename `ZipFile::withReadPassword` to `ZipFile::setReadPassword`
+ rename `ZipFile::withNewPassword` to `ZipFile::setPassword`
+ rename `ZipFile::withoutPassword` to `ZipFile::disableEncryption`
## 3.0.3 (2017-11-11) ## 3.0.3 (2017-11-11)
Fix bug issue #8 - Error if the file is empty. Fix bug issue #8 - Error if the file is empty.

View File

@@ -32,6 +32,7 @@
+ [Сохранение файла или вывод в браузер](#Documentation-Save-Or-Output-Entries) + [Сохранение файла или вывод в браузер](#Documentation-Save-Or-Output-Entries)
+ [Закрытие архива](#Documentation-Close-Zip-Archive) + [Закрытие архива](#Documentation-Close-Zip-Archive)
- [Запуск тестов](#Running-Tests) - [Запуск тестов](#Running-Tests)
- [История изменений](#Changelog)
- [Обновление версий](#Upgrade) - [Обновление версий](#Upgrade)
+ [Обновление с версии 2 до версии 3.0](#Upgrade-v2-to-v3) + [Обновление с версии 2 до версии 3.0](#Upgrade-v2-to-v3)
@@ -779,6 +780,8 @@ composer install --dev
```bash ```bash
vendor/bin/phpunit -v -c phpunit.xml vendor/bin/phpunit -v -c phpunit.xml
``` ```
### <a name="Changelog"></a> История изменений
[Ссылка на Changelog](CHANGELOG.md)
### <a name="Upgrade"></a> Обновление версий ### <a name="Upgrade"></a> Обновление версий
#### <a name="Upgrade-v2-to-v3"></a> Обновление с версии 2 до версии 3.0 #### <a name="Upgrade-v2-to-v3"></a> Обновление с версии 2 до версии 3.0
Обновите мажорную версию в файле `composer.json` до `^3.0`. Обновите мажорную версию в файле `composer.json` до `^3.0`.

View File

@@ -32,6 +32,7 @@ Table of contents
+ [Saving a file or output to a browser](#Documentation-Save-Or-Output-Entries) + [Saving a file or output to a browser](#Documentation-Save-Or-Output-Entries)
+ [Closing the archive](#Documentation-Close-Zip-Archive) + [Closing the archive](#Documentation-Close-Zip-Archive)
- [Running the tests](#Running-Tests) - [Running the tests](#Running-Tests)
- [Changelog](#Changelog)
- [Upgrade](#Upgrade) - [Upgrade](#Upgrade)
+ [Upgrade version 2 to version 3.0](#Upgrade-v2-to-v3) + [Upgrade version 2 to version 3.0](#Upgrade-v2-to-v3)
@@ -778,6 +779,9 @@ Run the tests:
```bash ```bash
vendor/bin/phpunit -v -c phpunit.xml vendor/bin/phpunit -v -c phpunit.xml
``` ```
### <a name="Changelog"></a> Changelog
[Link to Changelog](CHANGELOG.md)
### <a name="Upgrade"></a> Upgrade ### <a name="Upgrade"></a> Upgrade
#### <a name="Upgrade-v2-to-v3"></a> Upgrade version 2 to version 3.0 #### <a name="Upgrade-v2-to-v3"></a> Upgrade version 2 to version 3.0
Update the major version in the file `composer.json` to `^3.0`. Update the major version in the file `composer.json` to `^3.0`.