Skip to content

Releases: barryvdh/laravel-dompdf

v3.0.0

09 Aug 12:44
2d814cd
Compare
Choose a tag to compare

Version 3.x supports DomPDF version 3.x. See the changelog in https://github.com/dompdf/dompdf/releases/tag/v3.0.0

The most notable change in laravel-dompdf are the changed defaults, to be more secure;

  • enable_remote is now false by default. Change with caution.
  • allowedRemoteHosts and artifactPathValidation are added the the config.
    Also, support for Laravel < 9 and PHP < 8.1 is dropped.

What's Changed

New Contributors

Full Changelog: v2.2.0...v3.0.0

v3.0.0-beta2

28 May 13:05
d7ccbc3
Compare
Choose a tag to compare
v3.0.0-beta2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v3.0.0-beta1...v3.0.0-beta2

v3.0.0-beta1

13 May 13:13
406e56a
Compare
Choose a tag to compare
v3.0.0-beta1 Pre-release
Pre-release

Version 3.x supports DomPDF version 3.x. See the changelog in https://github.com/dompdf/dompdf/releases/tag/v3.0.0

The most notable change in laravel-dompdf are the changed defaults, to be more secure;

  • enable_remote is now false by default. Change with caution.
  • allowedRemoteHosts and artifactPathValidation are added the the config.
    Also, support for Laravel < 9 and PHP < 8.1 is dropped.

What's Changed

New Contributors

Full Changelog: v2.2.0...v3.0.0-beta1

v2.2.0

13 May 12:57
c96f90c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.1...v2.2.0

v2.1.1

15 Mar 12:49
cb37868
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

09 Mar 18:59
c8b8a84
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.0.2

Support Laravel 10

01 Feb 15:25
9843d2b
Compare
Choose a tag to compare
v2.0.1

Laravel 10.x support (#944)

v2.0.0

13 Jul 07:50
1d47648
Compare
Choose a tag to compare

Version 2 supports DomPDF 2.x

Changed

  • Remove the deprecated class 'Barryvdh\DomPDF\Facade' Facade in favor of Barryvdh\DomPDF\Facade\Pdf
  • Set default Facade to Pdf instead of PDF
  • HTML5 parser option is deprecated, because this is always on.
  • orientation option was never used. Removed in favor of options.default_paper_orientation

Added

  • Upgraded to use dompdf/dompdf 2.x
  • setOption to change only the specified option(s), instead of replace all options.
  • Magic methods to allow calls to Dompdf methods easier. (#892)
  • default_paper_orientation option has been added to the defaults.
  • Add option to set public path (#890)

Deprecated

  • setOptions is now deprecated. Use setOption instead.
  • Config dompdf.defines has been renamed to dompdf.options

Dompdf 2.0.0, highlights since 1.2.x

https://github.com/dompdf/dompdf/releases/tag/v2.0.0

  • Addresses multiple security vulnerabilities (see link)
  • Modifies callback and page_script/page_text handling (breaking change, see link)
  • Switches the HTML5 parser to Masterminds/HTML5
  • Improves CSS property parsing and representation
  • Improves border, outline, and background rendering for inline elements
  • Switches installed fonts and font metrics cache file format to JSON
  • Adds support for the inset CSS shorthand property and the legacy break-word keyword for word-break
  • Adds "end_document" callback event

v2.0.0-rc1

06 Jul 19:35
1d47648
Compare
Choose a tag to compare
v2.0.0-rc1 Pre-release
Pre-release
Update CHANGELOG.md

[2.0.0-beta3]

06 Jul 11:10
a230bdf
Compare
Choose a tag to compare
[2.0.0-beta3] Pre-release
Pre-release
  • Remove the deprecated class 'Barryvdh\DomPDF\Facade' Facade in favor of Barryvdh\DomPDF\Facade\Pdf
  • Set default Facade to Pdf instead of PDF