Changelog¶
unreleased¶
Added¶
Changed¶
Remove
docsdirectory from composer package.
v1.3.0 - 2024-07-22¶
Fixed¶
Make sure the stream is closed even on error in
parseFromDoc()(#14).
Changed¶
Simplify error handling in
parseFromDoc().Throw an exception in
parseFromDoc()when$urlis an empty string, instead of emitting a warning and continuing (#15).
v1.2.0 - 2024-01-25¶
Removed¶
Drop support for PHP 7.3 (#6).
Fixed¶
Throw an exception early on zlib error instead of logging the error and continuing to parse corrupted data (#11).
Added¶
Add a fuzzer setup based on nikic/PHP-Fuzzer with targets for
parseHeader()andparseObjectsV2()and a corpus seeded from the unit test’s data (#6, #8).
Changed¶
Stream reading errors in
parseObjects()andparseHeader()are silenced, an exception is still thrown but it now contains the error message.Set Zlib inflate stream filter in
parseObjects()instead ofparseHeader(). This allows to at least correctly parse the header even if the rest is corrupted (#10).
v1.1.1 - 2024-01-13¶
Fixed¶
Fix a crash with zero length location in an object line (#7).
Added¶
Include the Changelog in the documentation.
v1.1.0 - 2023-05-14¶
Added¶
Run tests on Windows and MacOS in GitHub actions.
Support Windows style line endings (
\r\n).Add
SphinxInventoryParser::parseFromDoc()static method as an even simpler way to use the parser for the most frequent use case.
v1.0.0 - 2023-05-07¶
First stable release.