Skip to content

Commit

Permalink
Changelog info
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan committed Jul 30, 2022
1 parent e8e75c4 commit 876ab14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Change Log

## 1.1.7 - Jul 31, 2022
- `open` does not throw an Exception, it returns null
- returned deleted methods in UnifiedArchive: `canOpenArchive`, `canOpenType`, `canCreateType`, `getArchiveType`, `detectArchiveType`, `getFileResource`, `getArchiveFormat`, `isFileExists`, `getArchiveSize`, `countCompressedFilesSize`, `countUncompressedFilesSize`.

## 1.1.6 - Jul 31, 2022
**BC-breaking changes**:
- Changed signature: `UnifiedArchive::open($filename, string|null $password = null)` => `UnifiedArchive::open($filename, array $abilities = [], string|null $password = null)`. Right now if second argument is string, it will be treated as password (for BC-compatability).
- `open` throws an Exception when format is not recognized or there's no driver that support requested abilities.
- `addFiles`/`deleteFiles`/`getComment`/`setComment` throws an Exception when driver does not support this ability.

- Deleted methods in UnifiedArchive: `canOpenArchive`, `canOpenType`, `canCreateType`, `getArchiveType`, `detectArchiveType`, `getFileResource`, `getArchiveFormat`, `isFileExists`, `getArchiveSize`, `countCompressedFilesSize`, `countUncompressedFilesSize`.

**New features**:
Expand Down
2 changes: 1 addition & 1 deletion src/UnifiedArchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
class UnifiedArchive implements ArrayAccess, Iterator, Countable
{
const VERSION = '1.1.6';
const VERSION = '1.1.7';

/** @var string Type of current archive */
protected $format;
Expand Down

0 comments on commit 876ab14

Please sign in to comment.