Skip to content

Releases: spatie/pdf-to-image

3.1.0

14 Sep 17:03
Compare
Choose a tag to compare

What's Changed

  • Add background color setting for the output image by @waithawoo in #239

New Contributors

Full Changelog: 3.0.0...3.1.0

3.0.0

10 Jun 18:44
b145cf4
Compare
Choose a tag to compare

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

2.3.0

07 Mar 09:45
7c68cc9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.2.0...2.3.0

2.2.0

08 Mar 07:52
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.1.0...2.2.0

2.1.0

12 Nov 11:27
ea81a2d
Compare
Choose a tag to compare
  • add support for PHP 8 (#164)

2.0.1

29 Apr 08:22
Compare
Choose a tag to compare
  • add usage of Imagick pingImage to speedup the page count

2.0.0

08 Jan 00:13
Compare
Choose a tag to compare
  • added typehints
  • removal of ability of loading pdfs via URLs

1.8.2

31 Jul 06:46
Compare
Choose a tag to compare
wip

1.8.1

02 Jul 09:30
f33afc9
Compare
Choose a tag to compare
  • throw exception when trying to fetch a negative page number

1.8.0

03 Apr 11:51
a5f70c9
Compare
Choose a tag to compare
  • add method getOutputFormat and update saveImage for auto set filename