Skip to content

0.10.0

Choose a tag to compare

@endelwar endelwar released this 29 Dec 14:56
· 149 commits to main since this release

Removed --format option default value, this option was deprecated in WeasyPrint 53 and removed in WeasiPrint 54.
If you still use WeasyPrint 52 or lower you can set this option back with ->setOption():

$weasyprint = new \Pontedilana\PhpWeasyPrint\Pdf('/usr/local/bin/weasyprint');
$weasyprint->setOption('format', 'pdf');

Changed

  • Unset --format option in Pdf class which is deprecated in WeasyPrint 53 and removed in WeasyPrint 54