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

build(deps): Bump dompdf/dompdf from 1.0.2 to 2.0.0 #794

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 28, 2022

Bumps dompdf/dompdf from 1.0.2 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)

Bumps [dompdf/dompdf](https://github.com/dompdf/dompdf) from 1.0.2 to 2.0.0.
- [Release notes](https://github.com/dompdf/dompdf/releases)
- [Commits](dompdf/dompdf@v1.0.2...v2.0.0)

---
updated-dependencies:
- dependency-name: dompdf/dompdf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 28, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 27, 2022

Superseded by #796.

@dependabot dependabot bot closed this Sep 27, 2022
@dependabot dependabot bot deleted the dependabot/composer/dompdf/dompdf-2.0.0 branch September 27, 2022 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Development

Successfully merging this pull request may close these issues.

1 participant