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.
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
coverage: 96.922%. remained the same
when pulling dc4d8ef5460b151763859a71ff4e64677c33608a on dependabot/composer/dompdf/dompdf-3.0.0
into 8392134ce4b5dba65130ba956231a1602b848b7f on master.
Bumps dompdf/dompdf from 2.0.4 to 3.0.0.
Release notes
Sourced from dompdf/dompdf's releases.
... (truncated)
Commits
fbc7c5e
Bump version to 3.0.01fa8696
Update FontLib, SvgLib requirementse4b4b53
Capture deprecation notices during unit testing12834cc
Avoid deprecation notice when validating null artifact paths1cbf771
Address GD compatibility issue when using PHP < 8.0.0e1899a4
FIX artifact path validation3e665ec
Support artifact path validation0ed161b
Increase SvgLib dependency to 0.5.2a30da03
Improve CSS variable inheritance9c6228e
Add multi-document parsing note to the READMEDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show