Skip to content

Commit

Permalink
Merge branch 'release/1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
endelwar committed May 11, 2023
2 parents ae8bc11 + 08621e0 commit 50545f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning(https://semver.org/spec/v2.0.0.

## Unreleased

## 1.2.0 - 2023-05-11
### Added
- Support WeasyPrint 59.0b1 new option

## 1.1.1 - 2023-04-27
### Security
- Implement countermeasures for CVE-2023-28115
Expand Down
10 changes: 8 additions & 2 deletions src/Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,22 @@ protected function configure(): void
'base-url' => null,
'attachment' => [], // repeatable
'presentational-hints' => null,
'optimize-size' => null, // added in WeasyPrint 53.0b2
'pdf-identifier' => null, // added in WeasyPrint 56.0b1
'pdf-variant' => null, // added in WeasyPrint 56.0b1
'pdf-version' => null, // added in WeasyPrint 56.0b1
'pdf-forms' => null, // added in WeasyPrint 58.0b1
'custom-metadata' => null, // added in WeasyPrint 56.0b1
'uncompressed-pdf' => null, // added in WeasyPrint 59.0b1
'full-fonts' => null, // added in WeasyPrint 59.0b1
'hinting' => null, // added in WeasyPrint 59.0b1
'dpi' => null, // added in WeasyPrint 59.0b1
'jpeg-quality' => null, // added in WeasyPrint 59.0b1
'optimize-images' => null, // no longer deprecated in WeasyPrint 59.0b1
'cache-folder' => null, // added in WeasyPrint 59.0b1
// Deprecated
'format' => null, // deprecated in WeasyPrint 53.0b2
'optimize-images' => null, // deprecated in WeasyPrint 53.0b2
'resolution' => null, // deprecated - png only
'optimize-size' => null, // added in WeasyPrint 53.0b2, deprecated in 59.0b1
]);
}

Expand Down

0 comments on commit 50545f8

Please sign in to comment.