Skip to content

v2.3.1

Choose a tag to compare

@ordinary9843 ordinary9843 released this 18 Apr 02:24
· 4 commits to master since this release

Bug Fixes

  • Fixed SplitHandler off-by-one bug: output files are now correctly named part_1.pdf–part_N.pdf to match Ghostscript's actual output (was part_0.pdf–part_{N-1}.pdf)
  • Fixed MergeHandler undefined variable in catch block; added guard to throw HandlerException when $files is empty
  • Fixed GetTotalPagesHandler undefined variable in catch block
  • Fixed isPdf() in BaseHandler to check file existence before calling mime_content_type(), preventing PHP warnings on non-existent paths
  • Added image type validation in ToImageHandler — only jpeg and png are accepted; invalid types now throw HandlerException

CI

  • Resolved PHPUnit security advisory blocking issue via composer.json audit ignore config

Full Changelog: v2.3.0...v2.3.1