Skip to content

Latest commit

 

History

History
94 lines (58 loc) · 2.81 KB

CHANGELOG.md

File metadata and controls

94 lines (58 loc) · 2.81 KB

Changelog

Added

  • Add information about the documentation in the documentation (#22).

Changed

  • Remove docs directory 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 $url is 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() and parseObjectsV2() and a corpus seeded from the unit test's data (#6, #8).

Changed

  • Stream reading errors in parseObjects() and parseHeader() are silenced, an exception is still thrown but it now contains the error message.
  • Set Zlib inflate stream filter in parseObjects() instead of parseHeader(). 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.