Releases: barryvdh/laravel-dompdf
Releases · barryvdh/laravel-dompdf
v3.0.0
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 nowfalse
by default. Change with caution.allowedRemoteHosts
andartifactPathValidation
are added the the config.
Also, support for Laravel < 9 and PHP < 8.1 is dropped.
What's Changed
- Test against php 8.3 and laravel 10.x by @sergiy-petrov in #1005
- Fix workflow by @barryvdh in #1048
- Allow Dompdf3, add new options by @barryvdh in #1047
- Only support DomPDF 3 by @barryvdh in #1049
- Check filename, add fallback filename by @barryvdh in #1050
- Updating the codestyle of the configuration file with laravel/pint. by @maks-oleksyuk in #1051
- Fix badges by @erikn69 in #1062
New Contributors
- @sergiy-petrov made their first contribution in #1005
- @maks-oleksyuk made their first contribution in #1051
Full Changelog: v2.2.0...v3.0.0
v3.0.0-beta2
What's Changed
- Check filename, add fallback filename by @barryvdh in #1050
- Updating the codestyle of the configuration file with laravel/pint. by @maks-oleksyuk in #1051
New Contributors
- @maks-oleksyuk made their first contribution in #1051
Full Changelog: v3.0.0-beta1...v3.0.0-beta2
v3.0.0-beta1
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 nowfalse
by default. Change with caution.allowedRemoteHosts
andartifactPathValidation
are added the the config.
Also, support for Laravel < 9 and PHP < 8.1 is dropped.
What's Changed
- Test against php 8.3 and laravel 10.x by @sergiy-petrov in #1005
- Fix workflow by @barryvdh in #1048
- Allow Dompdf3, add new options by @barryvdh in #1047
- Only support DomPDF 3 by @barryvdh in #1049
New Contributors
- @sergiy-petrov made their first contribution in #1005
Full Changelog: v2.2.0...v3.0.0-beta1
v2.2.0
What's Changed
- Fix setOptions by @cesarreyes3 in #1040
- Bump dompdf minimum to 2.0.7 by @barryvdh
New Contributors
- @cesarreyes3 made their first contribution in #1040
Full Changelog: v2.1.1...v2.2.0
v2.1.1
v2.1.0
What's Changed
- Convert phpunit by @barryvdh in #952
- ci: Use GitHub Actions V3 by @DannyvdSluijs in #990
- Fix named arguments when using facade by @erikn69 in #1002
- Update dompdf version as a dependancy by @AliSheikhDev in #967
- ci: Use GitHub Actions V4 by @erikn69 in #1003
- Fix phpstan analysis by @erikn69 in #972
- Fix setOptions method by @erikn69 in #974
- Small typo fix in dompdf config file by @ricklambrechts in #1004
- Upgrade to larastan/larastan by @parth391 in #1014
- Fixing "Upgrade to larastan/larastan" by @erikn69 in #1018
- Laravel 11 Support by @erikn69 in #1036
- Laravel 11.x Compatibility by @laravel-shift in #1037
New Contributors
- @DannyvdSluijs made their first contribution in #990
- @AliSheikhDev made their first contribution in #967
- @ricklambrechts made their first contribution in #1004
- @parth391 made their first contribution in #1014
- @laravel-shift made their first contribution in #1037
Full Changelog: v2.0.1...v2.0.2
Support Laravel 10
v2.0.1 Laravel 10.x support (#944)
v2.0.0
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 ofoptions.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. UsesetOption
instead.- Config
dompdf.defines
has been renamed todompdf.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
Update CHANGELOG.md
[2.0.0-beta3]
- Remove the deprecated class 'Barryvdh\DomPDF\Facade' Facade in favor of
Barryvdh\DomPDF\Facade\Pdf
- Set default Facade to
Pdf
instead ofPDF