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 mpdf/mpdf from 6.1.3 to 7.1.8 #18

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 19, 2023

Bumps mpdf/mpdf from 6.1.3 to 7.1.8.

Release notes

Sourced from mpdf/mpdf's releases.

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.

We also welcome any donation.

Yaaay! 3 000 000 downloads 🎉!

It seems almost unbelievable to get a million downloads since the version 7.0, in a half a year. Thanks for using mPDF!

Version 7.0.0 (finally) released

Version 7.0 is a large code cleanup release with introduction of namespaces, code structure cleanup, introduction of PSR compliant file structure and autoloading. It requires at least PHP 5.6 and is tested with up to PHP 7.2.

See CHANGELOG for the complete list of changes, fixes and enhancements and README for the quick tour.

See a documentation chapter on upgrading.

Breaking changes & Removals

Composer is now the only officially supported installation method. There are no pre-packaged library archives.

All classes moved under Mpdf namespace. Main class renamed to Mpdf. Now accepts single $config array parameter in its constructor.

Most side-effects of the former mpdf.php file were removed.

Progressbar and graph features were removed.

All global constants were removed in favor of class constants or configuration directives.

All errors are now thrown as exceptions extending \Mpdf\MpdfException.

Enhancements

Support for up to PHP 7.2. File & directory structure cleanup, PSR-4 autoloading. Refactoring of many easy-to-separate code portions.

Support for multiple font directories. PDF/A-3 associated files + additional xmp rdf support.

Introduced PSR-3 logging.

... (truncated)

Changelog

Sourced from mpdf/mpdf's changelog.

mPDF 8.2.x

New features

  • Watermark text can now be colored using \Mpdf\Watermark DTO. \Mpdf\WatermarkImage DTO for images. (#1876)

mPDF 8.1.x

New features

  • Service container for internal services
  • Set /Lang entry for better accessibility when document language is available (@​cuongmits, #1418)
  • More verbose helper methods for Output: OutputBinaryData, OutputHttpInline, OutputHttpDownload, OutputFile (since v8.1.2)
  • Set font-size to auto in textarea and input in active forms to resize the font-size (@​ChrisB9, #1721)
  • PHP 8.2 support in mPDF 8.1.3
  • Added support for psr/log v3 without dropping v2. (@​markdorison, @​apotek, @​greg-1-anderson, #1857)

Bugfixes

  • Better exception message about fonts with MarkGlyphSets (Fix for #1408)
  • Updated Garuda font with fixed "k" character (Fix for #1440)
  • Testing and suppressing PNG file conversion errors
  • Prevent hyphenation of urls starting with https and e-mail addresses (@​HKandulla, #1634)
  • Colorspace restrictor reads mode from Mpdf and works again (Fix for #1094)
  • Prevent exception when multiple columns wrap to next page
  • Update default curlUserAgent configuration variable from Firefox 13 to 108

mPDF 8.0.x

  • Ability to customize User-Agent header in the HTTP requests sent by cURL (@​samuelecat, #1229)
  • Add Page Number Myanmar Language Support (@​MinKyawNyunt, #1201)
  • new Mpdf\Exception\FontException extending base MpdfException was introduced and is thrown on Font manipulation
  • A bit cleaner exception messages for font-related errors
  • Use atomic cache writing. (@​PATROMO, #1186)
  • Fix: "Undefined index: group" when calling MultiCell when using font without OTL data (@​Kekos, #1213, #941)
  • Add C128RAW barcode type to create any barcode (ex: subtype change in middle of barcode) (#1124)
  • Add proxy support to curl
  • Fixed date and time format in the informations dictionary (#1083, @​peterdevpl)
  • Checking allowed stream wrappers in CssManager
  • PHP 7.4 support (until final 7.4 release with composer --ignore-platform-reqs)
  • Improve debugging of remote content issues (@​ribeirobreno)
  • Added exposeVersion configuration variable allowing to hide mPDF version from Producer tag and HTTP headers
  • 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)

... (truncated)

Commits
  • 5a124ed Version 7.1.8 release
  • 41f6aab Raise version constant
  • 20ff639 Prevents PHAR wrapper security issue
  • 93515f7 Convert tmp PHP Font files to JSON
  • 66415d4 Add PHP 7.3 compatibility to Readme
  • b2bc298 More english Hyphenator properties
  • 2b884be Use the img_dpi setting for all images
  • 8bf5d6f Log cURL error when it occurs
  • 18b7b7a Allow custom cURL CA certificate
  • cba0f7c Log socket error when it occurs
  • 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [mpdf/mpdf](https://github.com/mpdf/mpdf) from 6.1.3 to 7.1.8.
- [Release notes](https://github.com/mpdf/mpdf/releases)
- [Changelog](https://github.com/mpdf/mpdf/blob/development/CHANGELOG.md)
- [Commits](mpdf/mpdf@v6.1.3...v7.1.8)

---
updated-dependencies:
- dependency-name: mpdf/mpdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 19, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants