Skip to content

Bump dompdf/dompdf from 1.2.0 to 1.2.1

Jan Böhmer requested to merge dependabot/composer/dompdf/dompdf-1.2.1 into master

Created by: dependabot[bot]

Bumps dompdf/dompdf from 1.2.0 to 1.2.1.

Release notes

Sourced from dompdf/dompdf's releases.

Dompdf 1.2.1

Change highlights since 1.2.0

This release addresses the following announced vulnerability:

Vulnerability References Type Severity
Remote Code Execution via remote font installation Positive Security, #25982598 Remote Code Execution Critical

Bugs addressed:

  • Infinite recursion when generated content spans more than one line
  • Errors or display corruption caused during CSS parsing of inherited properties, border style, and list style
  • Empty table handling exceptions

Improvements:

  • HTTP context can now be set through the Options class

1.2.x highlights

  • Addresses PHP 8.1 compatibility issues
  • Improves table parsing and layout
  • Adds callback function support to Canvas::page_script
  • Fixes issues with metadata in protected PDFs

The list of addressed issues can be found in the 1.2.1 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 1.2.1 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

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.

... (truncated)

Commits
  • c6dfd9b Bumper version to 1.2.1
  • da36554 Improve default font handling
  • 4c70e10 Match installed font filename extension to type
  • 0347b9a Drop invalid border styles
  • 889f145 unit test for css value casing
  • 4b9f4c4 less complicated value lowercase check in Style
  • b5a7c16 Keep list-style-type's single character case
  • 2180608 make httpContext available from options
  • de40ed2 Normalize space when using contains in xpath query
  • 30f562e Update badges
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Merge request reports