mPDF v8.0.8 Release Notes

Release Date: 2020-12-05 // 11 months ago

Previous changes from v8.0.0

  • Version 8.0.0 contains code cleanups, a few minor fixes and features, and most importantly bump of internal dependency of the FPDI library to version 2.

    This introduces a few breaking changes.

    ๐Ÿšš Method SetImportUse has been removed and ImportPage changed case to importPage and has a new signature:

    public function importPage($pageNumber, $box = PageBoundaries::CROP_BOX, $groupXObject = true)

    ๐Ÿ“ฆ Library generating QR codes has been split to a separate package mpdf/qrcode. This reduced package size by about 6 MB. The library will raise an exception hinting to install the package with composer when needed and not present.

    Complete changeset can be found in changelog and commit history.

    โฌ†๏ธ Upgrading from 7.x

    • If you use importing capabilities:
      • remove SetImportUse method calls
      • change ImportPage calls to the new signature
    • If you use QR codes
      • require mpdf/qrcode with composer and you're set

    ๐Ÿ‘Œ Support our work

    โ™ป๏ธ Thank you for any work you put into mPDF - refactorings, bug fixes, new feature requests.

    We also welcome any donation.

    ๐Ÿฑ Yaaay! 5 200 000 downloads ๐ŸŽ‰!

    Hope number of downloads will keep rising!