Dompdf v0.8.6 Release Notes

Release Date: 2020-09-07 // over 3 years ago
  • Change highlights since 0.8.5

    • ➕ Adds support for the background-size CSS3 property
    • ➕ Adds support for loading an existing DOMDocument
    • ➕ Adds support for PDF form fields (AcroForm)
    • ➕ Adds support for digital signatures
    • ➕ Adds support for PDF file attachments
    • ⬆️ Bumps PDF version to 1.7 (no major structural changes)
    • 👌 Improves text width calculations
    • ➕ Addresses ImageMagick 7 compatibility
    • ➕ Addresses PDF compatibility issues related to font subsetting and encryption
    • ➕ Addresses style inheritance issues introduced with previous version

    ⚡️ This update addresses the following announced vulnerabilities:

    Vulnerability Reference Type Severity
    🚑 Information Disclosure through local image reference Issue 2152 Information Disclosure

    🚀 The list of 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 0.8.6 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.

    🚀 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_0-8-6.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.


Previous changes from v0.8.5

  • Change highlights since 0.8.4

    • Specified document encoding is now honored (previously would always use UTF8).
    • 0️⃣ TH elements are now centered by default
    • 🛠 Fixes style parsing bug that could result in values resetting to style property default
    • 🛠 Fixes text width calculation that resulted in overly wide elements, namely table cells
    • 🛠 Fixes bug in curl implementation

    🚀 The list of 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 0.8.5 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.

    🚀 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_0-8-5.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.