- Add information about the documentation in the documentation (#22).
- Remove
docs
directory from composer package.
v1.3.0 - 2024-07-22
- Make sure the stream is closed even on error in
parseFromDoc()
(#14).
- Simplify error handling in
parseFromDoc()
. - Throw an exception in
parseFromDoc()
when$url
is an empty string, instead of emitting a warning and continuing (#15).
v1.2.0 - 2024-01-25
- Drop support for PHP 7.3 (#6).
- Throw an exception early on zlib error instead of logging the error and continuing to parse corrupted data (#11).
- 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).
- 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
- Fix a crash with zero length location in an object line (#7).
- Include the Changelog in the documentation.
v1.1.0 - 2023-05-14
- 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.