Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency dompdf/dompdf to v3 #2270

Merged
merged 1 commit into from
May 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dompdf/dompdf ^2.0.1 -> ^3.0.0 age adoption passing confidence

Release Notes

dompdf/dompdf (dompdf/dompdf)

v3.0.0: Dompdf 3.0.0

Compare Source

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

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/dompdf-dompdf-3.x branch from df76518 to 08d190f Compare May 14, 2024 04:33
@admdly admdly force-pushed the renovate/dompdf-dompdf-3.x branch from 08d190f to 70c984b Compare May 14, 2024 21:14
@renovate renovate bot force-pushed the renovate/dompdf-dompdf-3.x branch from 70c984b to 1e12ec7 Compare May 14, 2024 21:15
@admdly admdly merged commit 41694d7 into main May 14, 2024
19 checks passed
@admdly admdly deleted the renovate/dompdf-dompdf-3.x branch May 14, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant