sped-gnre icon indicating copy to clipboard operation
sped-gnre copied to clipboard

Bump dompdf/dompdf from 0.8.6 to 2.0.0

Open dependabot[bot] opened this issue 2 years ago • 0 comments

Bumps dompdf/dompdf from 0.8.6 to 2.0.0.

Release notes

Sourced from dompdf/dompdf's releases.

Dompdf 2.0.0

Change highlights since 1.2.x

  • Addresses multiple security vulnerabilities (see below)
  • Modifies callback and page_script/page_text handling (breaking change, see below)
  • 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

The full list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

This release addresses the following announced vulnerabilities:

Vulnerability References Type Severity
Improper Restriction of XML External Entity Reference #25642564 Information Disclosure TBD
Deserialization of Untrusted Data #25642564 Remote Code Execution Critical
External Control of File Name or Path #25642564 Information Disclosure TBD
Server-Side Request Forgery #25642564 Information Disclosure TBD

Breaking Changes

  • Callback signature change: callbacks should now accept three individual arguments (Frame, Canvas, FontMetrics)
  • Canvas::page_* methods are executed immediately rather than during output generation and should be called after rendering the document
  • Cpdf::polygon method signature changed, no longer accepts the number of points
  • See the migration guide for details

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 2.0.0 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib
  • php-svg-lib

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

... (truncated)

Commits
  • 79573d8 Bump version to 2.0.0
  • 36be0c2 Coding standards: Also check Cpdf class
  • 7f5d0dc Options docblock update
  • a389f3d Canvas: Document format of color array
  • 165ad28 Modify dompdf callback signature
  • 97c1d5b Add an end_document callback event
  • 65de5af Make page_script take effect immediately
  • 78102a7 Draw circles for dotted border
  • 1d6f991 Improve border rendering with GD back end
  • 0ec276b Small improvements to border rendering
  • 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.

dependabot[bot] avatar Jul 05 '22 22:07 dependabot[bot]