Skip to content

3.0.0

Compare
Choose a tag to compare
@patinthehat patinthehat released this 10 Jun 18:44
· 10 commits to main since this release
b145cf4

This release updates the package to a new major version, v3.0.0.

Major changes:

  • Dropped support for PHP versions < 8.2.
  • Many breaking API changes (see below).
  • Added support for saving multiple pages to images using selectPages().
  • Native Backed Enum implementations to enforce allowed values in several places.
  • Dropped support for reading remote PDF files for security reasons.
  • Added property, argument and return types.
  • Removed Imagick instance creation in constructor, replaced calls to readImage() with pingImage() (test suite runs ~33% faster).

Breaking API Changes

There are breaking API changes from v2 to v3. These changes streamline the developer experience, enhance understanding of the functionality of the methods, and reduce cognitive overload by simplifying method names. See the updated README.md for a full list of the new API methods and method names.

Additional Changes

  • php-cs-fixer configuration and workflow was dropped in favor of Laravel Pint.
  • Readme updated to include all available methods, fix a few grammatical errors, etc.
  • Fixed several minor, previously unknown bugs.
  • Test coverage increased from ~65% to ~93%.
  • Pest upgraded to v2, migrated PHPUnit configuration to v10.
  • Unit tests were reorganized/restructured to be more manageable, and Pest configuration files were added.

What's Changed

Full Changelog: 2.3.0...3.0.0