Releases: spatie/pdf-to-image
Releases · spatie/pdf-to-image
3.1.0
What's Changed
- Add background color setting for the output image by @waithawoo in #239
New Contributors
- @waithawoo made their first contribution in #239
Full Changelog: 3.0.0...3.1.0
3.0.0
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()
withpingImage()
(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
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #228
- Major version: v3 by @patinthehat in #230
Full Changelog: 2.3.0...3.0.0
2.3.0
What's Changed
- Silently ignore pingImage failure and load number of pages lazily by @bobvandevijver in #187
- Add Dependabot Automation by @patinthehat in #203
- Fix failing tests by @patinthehat in #205
- Add PHP 8.2 Support by @patinthehat in #202
- Fix php-cs-fixer workflow by @patinthehat in #206
- Minor dependabot auto-merge workflow improvements by @patinthehat in #220
- Adding webp to the validOutputFormats by @ntaylor-86 in #221
- Add PHP 8.3 to the test run workflow by @patinthehat in #223
New Contributors
- @bobvandevijver made their first contribution in #187
- @patinthehat made their first contribution in #203
- @dependabot made their first contribution in #204
Full Changelog: 2.2.0...2.3.0
2.2.0
What's Changed
- Converting PHPUnit to Pest tests by @ntaylor-86 in #189
- Adding a thumbnail method by @ntaylor-86 in #188
New Contributors
- @ntaylor-86 made their first contribution in #189
Full Changelog: 2.1.0...2.2.0
2.1.0
2.0.1
- add usage of Imagick
pingImage
to speedup the page count
2.0.0
- added typehints
- removal of ability of loading pdfs via URLs
1.8.2
wip
1.8.1
- throw exception when trying to fetch a negative page number
1.8.0
- add method getOutputFormat and update saveImage for auto set filename