Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. [3.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 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.

[3.1]

This release updates the config for dompdf/dompdf v3.1.0 which contains the. following breaking URL:

Breaking Change This release adds the “data://” scheme to the protocol validation rules. Installations that explicitly define the allowed protocols but do not include the “data://” protocol will no longer render data-URIs. This is a change from previous versions, where data-URIs were not processed through the validated rules. Installations that use the default validation rules included with Dompdf should see no impact.

The update for laravel-dompdf adds this to the default config, but if you have published the config, you need to add the data:// scheme.

[3.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 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.

[2.2.0]

What’s Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.1.1...v2.2.0

[2.1.1]

What’s Changed

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.1.0...v2.1.1

[2.1.0]

What’s Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.0.1...v2.0.2

[2.0.0]

Version 2 supports DomPDF 2.x

Changed

Added

Deprecated

[2.0.0-beta3]

Changed

[2.0.0-beta2]

Added

Changed

Deprecated

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