All Versions
11
Latest Version
Avg Release Cycle
211 days
Latest Release
1324 days ago

Changelog History
Page 1

  • v0.8.6 Changes

    September 07, 2020

    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.

  • v0.8.5 Changes

    February 21, 2020

    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.

  • v0.8.4 Changes

    January 20, 2020

    🚀 This release has been superseded by version 0.8.5

    🔄 Change highlights since 0.8.3

    • 👌 Improves compatibility with PHP 7.x
    • 👌 Improves support for PDFLib 9
    • ➕ Adds support for numeric font weights
    • 👌 Improves style inheritance though addition of computed CSS values in addition to declared and used values
    • 👌 Improved handling of non-breaking space and word boundaries
    • Minor improvement to table border/background rendering

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

  • v0.8.3 Changes

    December 18, 2018

    🚀 This release has been superseded by version 0.8.4

    🔄 Change highlights since 0.8.2

    • 👌 Improved compatibility with PHP 7.3
    • 👌 Supported PDFLib version bumped to PDFLib 9
    • Added page_line() canvas method (like page_text())
    • Page break improvements
    • 🐛 Bug Fix: word-wrap: break-word no longer expands parent containers
    • 🐛 Bug Fix: Addressed decorator positioning issues due to incorrect height calculation (better underline positioning)
    • 🔧 GD is now only recommended per composer configuration (though still required for image processing)

    🚀 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.3 requires the following:

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

  • v0.8.2 Changes

    November 26, 2017

    🚀 This release has been superseded by version 0.8.3

    🔄 Change highlights since 0.8.1

    • 🐛 Bug Fix: "no block level parent found" errors
    • 🐛 Bug Fix: links to external resources broken
    • 🐛 Bug Fix: Image rendering issues when using IMagick
    • Margin collapse logic now handles negative margins
    • ➕ Additional object type checking

    🚀 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.2 requires the following:

    • PHP 5.4 or greater
    • MBString
    • GD (for image processing)
    • allow_url_fopen set to true (for retrieving stylesheets or images via http) or the curl PHP extension
    • php-font-lib v0.5.x
    • php-svg-lib v0.3.x (if rendering SVG)

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

  • v0.8.1 Changes

    November 21, 2017

    🚀 This release has been superseded by version 0.8.2

    🔄 Change highlights since 0.8.0

    • 👌 Improves compatibility with PHP 7.1
    • 👌 Improves table rendering around page breaks and margins
    • 🛠 Fixes paging of generated content
    • 👌 Improves handling of CSS selectors, media queries, and inherited properties
    • 🛠 Fixes Unicode support in (encrypted) PDF documents

    🚀 View all changes since the previous release in the commit history.

    ⚡️ Updated dependencies

    • php-svg-lib 0.5.1
    • php-svg-lib 0.3

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

    Requirements

    dompdf 0.8.1 requires the following:

    • PHP 5.4 or greater
    • MBString
    • GD (for image processing)
    • allow_url_fopen set to true (for retrieving stylesheets or images via http) or the curl PHP extension
    • php-font-lib v0.5.x
    • php-svg-lib v0.3.x (if rendering SVG)

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

  • v0.8.0 Changes

    February 19, 2017

    🚀 This release has been superseded by version 0.8.1

    🔄 Change highlights since 0.7.0

    • 👌 Improves compatibility with PHP 7.1
    • ➕ Adds support for width: auto CSS styling
    • ➕ Adds support for RGB-alpha and HEX-alpha CSS color values
    • Falls back to curl for remote resource fetching
    • ➕ Adds support for HTML5 elements
    • 👌 Improves CSS support for the following: float, nth-child/nth-of-type, :matches pseudo-class
    • ➕ Adds support for in-document linking using element ID
    • ➕ Adds preliminary support for media queries (width, height, and orientation)
    • 👌 Improves performance in various areas
    • ⚡️ Updates DejaVu Fonts to 2.37

    ⚡️ Updated dependencies

    • php-font-lib 0.5
    • php-svg-lib 0.2

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

    Requirements

    dompdf 0.7.0 requires the following:

    • PHP 5.3 or greater
    • MBString
    • GD (for image processing)
    • allow_url_fopen set to true (for retrieving stylesheets or images via http) or the curl PHP extension
    • php-font-lib v0.5.x
    • php-svg-lib v0.2 (if rendering SVG)

    👀 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-0.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the necessary files.

  • v0.7.0 Changes

    May 12, 2016

    🚀 This release has been superseded by version 0.8.0

    🔄 Change highlights since 0.6.2

    • ⚡️ Incorporate relevant security updates from the 0.6.2 code base
    • ➕ Add namespace support
    • Restructure code for implementation of the PSR coding standard
    • ⬇️ Drop support for the dompdf_config.inc.php configuration file; see the migration section below for more details
    • ✂ Remove non-library utility code (load_font.php, dompdf.php, the www content)
    • ➕ Add initial support for SVG

    🚀 The majority of work in this release went towards support for namespaces, PSR, and SVG support but a few code improvements were also made. Highlights include:

    • ⚡️ Update DejaVu fonts to v2.34
    • 🐎 Optimize performance by removing support for versions of PHP prior to 5.3
    • 👌 Improve PDF structure produced by CPDF
    • ➕ Add rendered document page selection support to the GD adapter
    • 👍 Take Unicode and float support out of "beta"
    • ➕ Add support for unit testing

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

    Requirements

    dompdf 0.7.0 requires the following:

    • PHP 5.3 or greater
    • MBString
    • GD (for image processing)
    • allow_url_fopen set to true (for retrieving stylesheets or images via http)
    • php-font-lib v0.4.x
    • php-svg-lib v0.1 (if rendering SVG)

    👀 For full requirements and recommendations see the requirements page on the wiki.

    🚀 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. The release package is titled dompdf_0-7-0.zip.

    Notes on migrating from an earlier version of dompdf

    1. Because the dompdf_config.inc.php file has been removed from this release (and is no longer referenced) all dompdf options should be set at run time.
    2. The class naming conventions required a change to the dompdf_font_family_cache.php file. Though we have attempted to accommodate this change your first step when encountering bugs (if you don't know where to start) might be to reset your font directory (i.e. remove custom font files and the related font metrics files, and remove the non-dist, generated, font family cache file). 🚀 3. Though a font loading script is no longer provided with dompdf you may continue to use the @font-face CSS rule to install fonts at run time. If you wish to pre-load fonts you may find a copy of the load_font.php script updated to run with this release of dompdf in the dompdf-utils project. ⚡️ 4. The FontMetrics class is now instantiated instead of static. To simplify migration of embedded scripts from earlier versions of dompdf we provide access to the instantiated FontMetrics class via the $fontMetrics variable. Please update your embedded scripts. For example, FontMetrics::get_font('helvetica') would now be $fontMetrics->getFont('helvetica').
  • v0.7.0-beta3 Changes

    January 22, 2016

    Change highlights since 0.6.2

    • ⚡️ Incorporate relevant security updates from the 0.6.2 code base
    • ➕ Add namespace support
    • Restructure code for implementation of the PSR coding standard
    • ⬇️ Drop support for the dompdf_config.inc.php configuration file; see the migration section below for more details
    • ✂ Remove non-library utility code (load_font.php, dompdf.php, the www content)
    • ➕ Add initial support for SVG

    🚀 The majority of work in this release went towards support for namespaces, PSR, and SVG support but a few code improvements were also made. Highlights include:

    • ⚡️ Update DejaVu fonts to v2.34
    • 🐎 Optimize performance by removing support for versions of PHP prior to 5.3
    • 👌 Improve PDF structure produced by CPDF
    • ➕ Add rendered document page selection support to the GD adapter
    • 👍 Take Unicode and float support out of "beta"
    • ➕ Add support for unit testing

    Requirements

    The dompdf 0.7.0 beta 3 requires the following:

    • PHP 5.3 or greater
    • MBString
    • GD (for image processing)
    • allow_url_fopen set to true (for retrieving stylesheets or images via http)
    • php-font-lib v0.4.x
    • php-svg-lib v0.1 (if rendering SVG)

    👀 For full requirements and recommendations see the requirements page on the wiki.

    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. The beta package is titled dompdf_0-7-0_beta3.zip.

    Notes on migrating from an earlier version of dompdf

    1. Because the dompdf_config.inc.php file has been removed from this release (and is no longer referenced) all dompdf options will have to be set at run time. To simplify your in-code instantiation you can implement an intermediary script to instantiate dompdf and set the options, referencing this intermediate script in your project. We may provide such a script in the final release to help with migration.
    2. The class naming conventions required a change to the dompdf_font_family_cache.php file. Though we have attempted to accommodate this change your first step when encountering bugs (if you don't know where to start) might be to reset your font directory (i.e. remove custom font files, font metrics files, and the font family cache file). 🚀 3. During the beta period the utilities for pre-loading fonts are not available. We hope to make these utilities available for the final release (in a separate project). You may continue to use the @font-face CSS rule to install fonts at run time. ⚡️ 4. The FontMetrics class is now instantiated instead of static. To simplify migration we provide access to it via the $fontMetrics variable. Please update your embedded scripts. For example, FontMetrics::get_font('helvetica') would now be $fontMetrics->getFont('helvetica').
  • v0.7.0-beta2 Changes

    September 27, 2015

    Change highlights since 0.6.2

    • ➕ Add namespace support
    • Restructure code for implementation of the PSR coding standard
    • ⬇️ Drop support for the dompdf_config.inc.php configuration file; see the migration section below for more details
    • ✂ Remove non-library utility code (load_font.php, dompdf.php, the www content)
    • ➕ Add initial support for SVG

    🚀 The majority of work in this release went towards support for namespaces, PSR, and SVG support but a few code improvements were also made. Highlights include:

    • ⚡️ Update DejaVu fonts to v2.34
    • 🐎 Optimize performance by removing support for versions of PHP prior to 5.3
    • 👌 Improve PDF structure produced by CPDF
    • ➕ Add rendered document page selection support to the GD adapter
    • 👍 Take Unicode and float support out of "beta"
    • ➕ Add support for unit testing

    Requirements

    The dompdf 0.7.0 beta 2 requires the following:

    • PHP 5.3 or greater
    • MBString
    • GD (for image processing)
    • allow_url_fopen set to true (for retrieving stylesheets or images via http)
    • php-font-lib v0.4.x
    • php-svg-lib v0.1 (if rendering SVG)

    👀 For full requirements and recommendations see the requirements page on the wiki.

    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. The beta package is titled dompdf_0-7-0_beta2.zip.

    Notes on migrating from an earlier version of dompdf

    1. Because the dompdf_config.inc.php file has been removed from this release (and is no longer referenced) all dompdf options will have to be set at run time. To simplify your in-code instantiation you can implement an intermediary script to instantiate dompdf and set the options, referencing this intermediate script in your project. We may provide such a script in the final release to help with migration.
    2. The class naming conventions required a change to the dompdf_font_family_cache.php file. Though we have attempted to accommodate this change your first step when encountering bugs (if you don't know where to start) might be to reset your font directory (i.e. remove custom font files, font metrics files, and the font family cache file). 🚀 3. During the beta period the utilities for pre-loading fonts are not available. We hope to make these utilities available for the final release (in a separate project). You may continue to use the @font-face CSS rule to install fonts at run time. ⚡️ 4. The FontMetrics class is now instantiated instead of static. To simplify migration we provide access to it via the $fontMetrics variable. Please update your inline scripts. For example, FontMetrics::get_font('helvetica') would now be $fontMetrics->getFont('helvetica').