Skip to content

Commit

Permalink
Changelog update
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan committed Jul 30, 2022
1 parent 7a60c13 commit 89c4f1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

### 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)`
- 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`.
Expand Down

0 comments on commit 89c4f1c

Please sign in to comment.