Skip to content

Releases: barryvdh/laravel-dompdf

v2.0.0 - Beta 2

26 Jun 07:01
Compare
Choose a tag to compare
v2.0.0 - Beta 2 Pre-release
Pre-release

[2.0.0-beta2]

Added

  • Upgraded to use dompdf/dompdf 2.x, see https://github.com/dompdf/dompdf/releases/tag/v2.0.0
  • 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)

Changed

  • HTML5 parser option is deprecated, because this is always on.
  • orientation option was never used. Removed in favor of options.default_paper_orientation

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

v1.0.2

19 May 15:09
de83130
Compare
Choose a tag to compare
Revert "Replaced base_path('public') with public_path() in ServicePro…

Bump minimum dompdf version

18 May 21:49
91ed300
Compare
Choose a tag to compare
v1.0.1

Set minimum to 1.2.1

Support Laravel 9

29 Jan 19:41
e3f429e
Compare
Choose a tag to compare
  • Now Supports Laravel 9
  • The Facade is renamed from Barryvdh\DomPDF\Facade to Barryvdh\DomPDF\Facade\Pdf to provide more helpful auto-completion. The old Facade is still available, but will be removed in the future. No changes needed for the \Pdf facade because Laravel does this automatically.
  • Breaking change/fix: setEncryption now works as expected.

Support Laravel 9, rename Facade

29 Jan 07:40
Compare
Choose a tag to compare
Pre-release
  • Now Supports Laravel 9
  • The Facade is renamed from Barryvdh\DomPDF\Facade to Barryvdh\DomPDF\Facade\Pdf to provide more helpful auto-completion. The old Facade is still available, but will be removed in the future. No changes needed for the \Pdf facade because Laravel does this automatically.

v1 Beta

13 Jul 08:33
7a26d36
Compare
Choose a tag to compare
v1 Beta Pre-release
Pre-release
  • Breaking change: setEncryption now works as expected.

Support DomPDF v1 / PHP8

27 Dec 12:15
5b99e1f
Compare
Choose a tag to compare
v0.9.0

Update composer.json

Support Laravel 8

07 Sep 11:50
30310e0
Compare
Choose a tag to compare
v0.8.7

Update composer.json

v0.8.6

25 Feb 20:44
d7108f7
Compare
Choose a tag to compare
Update composer.json

v0.8.5: str_contains bug fix on laravel ^6.0 (#601)

28 Aug 14:08
Compare
Choose a tag to compare
All str_ and array_ helpers have been removed from the framework.