fix(deps): update dependency dompdf/dompdf to v3
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
dompdf/dompdf |
^2.0 -> ^3.0
|
Release Notes
dompdf/dompdf (dompdf/dompdf)
v3.0.0
: Dompdf 3.0.0
Release Highlights
- Adds support for CSS variables (custom properties)
- Adds support for CSS math functions (calc, max, round, etc.)
- Updates the font matching logic to select the appropriate character-supporting font from the styled font families
Additional Changes
- Improves stylesheet handling, including
- enhanced regular expressions used during stylesheet parsing
- enhanced media query handling that
- supports media queries with more than one condition
- expands logical operators support (not, or)
- expands media query logic for at-import rules
- improved value parsing related to case sensitivity
- improved CSS function parsing and handling
- Improves table border rendering
- Improves automatic counter reset
- Improves compatibility with PDFLib version 10
- Improves security through
- new "allowedRemoteHosts" option to restrict which remote hosts can be requested
- new "artifactPathValidation" option to provide a mechanism for validating artifact paths (log file, temp directories, etc.)
- SVG file reference recursion
- Adds support for rendering unknown input element types
- Fixes IMagick extension temporary directory usage
- Fixes transparency after transform when using the Cpdf backend
The full list of new features and addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.
We would like to extend our gratitude to the community members who helped make this release possible.
Requirements
Dompdf 3.0.x requires the following:
- PHP 7.1 or greater
- MBString
- GD (for image processing)
- masterminds/html5
- dompdf/php-font-lib
- dompdf/php-svg-lib
For full requirements and recommendations see the requirements page on the wiki.
Download Instructions
The dompdf team recommends that you use Composer for easier dependency management.
If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_3-0-0.zip" for the packaged release. The download options labeled "Source code" are auto-generated by github and do not include all the dependencies.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.