Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Bump mpdf/mpdf from 6.1.4 to 7.1.8 #14

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

Conversation

dependabot-preview[bot]
Copy link

Bumps mpdf/mpdf from 6.1.4 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 7.1.x

  • Added myclabs/deepcopy dependency to fix TOC page numbering
  • Custom color for QR codes
  • Added support for orientation config key
  • Various code cleanups and fixes (See commit history)

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
  • Fix of undefined _getImage function (#539)
  • Code cleanup
  • Better writable rights for temp dir validation (#534)
  • Fix displaying dollar character in footer with core fonts (#520)
  • Fixed missed code2utf call (#531)
  • Refactored and cleaned-up classes and subnamespaces

mPDF 7.0.0

19/10/2017

Backward incompatible changes

  • PHP ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 is required.
  • Entire project moved under Mpdf namespace
    • Practically all classes renamed to use PascalCase and named to be more verbose
    • Changed directory structure to comply to PSR-4
  • Removed explicit require calls, replaced with Composer autoloading
  • Removed configuration files
    • All configuration now done via __construct parameter (see below)
  • Changed \Mpdf\Mpdf constructor signature
    • Class now accepts only single array $config parameter
    • Array keys are former config.php and config_fonts.php properties
    • Additionally, former constructor parameters can be used as keys
  • tempDir directory now must be writable, otherwise an exception is thrown
  • ICC profile is loaded as entire path to file (to prevent a need to write inside vendor directory)
  • Moved examples to separate repository
  • Moved TextVars constants to separate class
  • Moved border constants to separate class
  • scriptToLang and langToFont in separate interfaced class methods
  • Will now throw an exception when mbstring.func_overload is set
  • Moved Glyph operator GF_ constants in separate \Mpdf\Fonts\GlyphOperator class
  • All methods in Barcode class renamed to camelCase including public dec_to_hex and hex_to_dec
  • Decimal conversion methods (to roman, cjk, etc.) were moved to classes in \Mpdf\Conversion namespace
... (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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge will cancel a previously requested merge
  • @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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 9, 2019
@MikeASchneider
Copy link
Collaborator

lol

@jakejarvis
Copy link
Owner

@MikeASchneider whoops. now I'm nostalgic and sad. 馃槶 馃

@MikeASchneider
Copy link
Collaborator

miss u guys

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.

None yet

3 participants