Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Bump mpdf/mpdf from 7.0.2 to 8.0.2 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps mpdf/mpdf from 7.0.2 to 8.0.2.

Release notes

Sourced from mpdf/mpdf's releases.

Version 8.0.0 released

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!

Version 7.1.0 released

Version 7.1.0 contains large internal code cleanups, big refactoring of HTML tags handling (big kudos to @​machour), fixes of many reported PHP notices, and other fixes (!important breaking size conversion, logger changes in internal services).

As for new features, orientation constructor $config array can be used to specify page orientation (thanks, @​Dasc3er). Headers and footers can be now positioned absolutely (thanks, @​jakejackson1). QRCode can have a custom color (@​achretien).

Minor version bump justifies an added dependency of myclabs/deep-copy package needed for the fix of TOC pagination.

Complete changeset can be found in commit history.

Support our work

Thank you for any work you put into mPDF - refactorings, bug fixes, new feature requests.

... (truncated)
Changelog

Sourced from mpdf/mpdf's changelog.

mPDF 8.0.x

  • Added the check for JPEG SOF header 0xFF 0xC1 (extended) (@​jamiejones85)
  • Allows setting none as zoom mode in SetDisplayMode method, so that OpenAction is not written (#602)
  • Allowed image stream whitelist to be customised (#1005, thanks @​jakejackson)
  • Fixed parsing of top-left-bottom-right CSS rules with !important (#1009)
  • Fixed skipping ordered list numbering with page-break-inside: avoid (#339)

mPDF 8.0.0

15/03/2019

  • Updated FPDI dependency to version 2 (thanks a lot, @​JanSlabon)
    • removed SetImportUse method
    • case of ImportPage method changed to importPage
    • similarly, case of setSourceFile and useTemplate was changed to a lowercase first letter.
    • signature of importPage changed
    • returned value of useTemplate changed
  • Moved QRCode generating code portions to external package mpdf/qrcode
    • This reduced package size considerably (ca 6MB)
  • Fraction sizes without leading zeros allowed for font sizes (#973, thanks @​peterdevpl)
  • WriteHTML is now strict about used $mode parameter (#915, thanks, @​tomtomau)
  • Fixed regression in nested tables (#860, thanks, @​machour)
  • Scientific notation handling in CSS font sizes (#753, thanks, @​peterdevpl)

mPDF 7.1.x

  • PHAR security issue fixed (thanks, @​jakejackson)
  • Font temporary data saved as JSON instead of generating PHP files (thanks, @​jakejackson)
  • cURL handling enhancements (thanks, @​jakejackson)
  • SVG parsing fixes (thanks, @​achretien)
  • Write PDF content with *Writer service classes
  • PHP 7.3 is supported
  • Added myclabs/deepcopy dependency, fixed TOC page numbering (thanks, @​jakejackson)
  • Custom color for QR codes
  • Added support for orientation config key
  • Code and tests cleanups and enhancements
    • PHPUnit dedicated assertions (thanks, @​carusogabriel)
    • WriteHTML part constants (thanks, @​tomtomau)
    • Various notice fixes (kudos to all respective authors)

mPDF 7.0.x

  • Allow passing file content or file path to SetAssociatedFiles (#558)
  • Allowed ^1.4 and ^2.0 of paragon/random_compat to allow wider usage
... (truncated)
Commits
  • ab06626 Version 8.0.2 release
  • fff54d4 Check for pagebreak avoid in tag open to prevent skipping OL numbering (Close...
  • cb1b91e Fix undefined index on invalid table width value (Closes #1042)
  • 91daa3a Fix of #1009 changelog mention
  • 2b6fab3 Version 8.0.1 release
  • 4ec464a Typo GitHub
  • ee370f8 ImageProcessor: Adding the check for JPEG SOF header 0xFF 0xC1 (extended)
  • eb565aa Account for indirect object references for the A data
  • fc07ccb Display external links on imported PDFs
  • 35e592c Fix parsing of TLBR CSS rules with !important (Closes #1009)
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [mpdf/mpdf](https://github.com/mpdf/mpdf) from 7.0.2 to 8.0.2.
- [Release notes](https://github.com/mpdf/mpdf/releases)
- [Changelog](https://github.com/mpdf/mpdf/blob/development/CHANGELOG.md)
- [Commits](mpdf/mpdf@7.0.2...v8.0.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants