Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilan-riviere authored and github-actions[bot] committed Mar 20, 2024
1 parent 0d868c1 commit 125e2d2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to `php-archive` will be documented in this file.

## v2.3.0 - 2024-03-20

- Add password option for ZIP, RAR and 7z files, using `read(string $path, ?string $password = null)` and `readFromString(string $contents, ?string $password = null, ?string $extension = null)` methods.
- Add new `Archive::class` method `readFromString(string $contents, ?string $password = null, ?string $extension = null)` to read an archive from a string
- When you read RAR or 7z archives with `p7zip` binary, you can set manually the path to the binary using `overrideBinaryPath(string $path)` method.
- `getFiles()` method is now deprecated. Use `getFileItems()` instead.
- New method `getFileItem(string $path)` to get a single file item.

## v2.2.0 - 2023-12-06

Drop `symfony/process` from dependencies.
Expand Down

0 comments on commit 125e2d2

Please sign in to comment.