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

Update dependency WeasyPrint to v53 #115

Merged
merged 2 commits into from
Sep 1, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 31, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
WeasyPrint (changelog) ==52.5 -> ==53.2 age adoption passing confidence

Release Notes

Kozea/WeasyPrint

v53.2

Compare Source

New features

  • #​1428: Re-add the make_bookmark_tree() method

Bug fixes

  • #​1429: Fix package deployed on PyPI

Contributors

  • Guillaume Ayoub

Backers and sponsors

  • Grip Angebotssoftware
  • PDF Blocks
  • SimonSoft
  • Menutech
  • Manuel Barkhau
  • Simon Sapin
  • KontextWork
  • René Fritz
  • Maykin Media
  • NCC Group
  • Des images et des mots
  • Andreas Zettl
  • Nathalie Gutton
  • Tom Pohl
  • Moritz Mahringer
  • Florian Demmer
  • Yanal-Yvez Fargialla

v53.1

Compare Source

Bug fixes

  • #​1409: Don’t crash when leaders are in floats
  • #​1414: Embed images once
  • #​1417: Fix crash with SVG intrinsic ratio

Documentation

  • #​1420: Remove make_bookmark_tree from documentation
  • #​1422: Include weasyprint.tools removal in documentation

Contributors

  • Guillaume Ayoub

Backers and sponsors

  • Grip Angebotssoftware
  • PDF Blocks
  • SimonSoft
  • Menutech
  • Manuel Barkhau
  • Simon Sapin
  • KontextWork
  • René Fritz
  • Maykin Media
  • NCC Group
  • Des images et des mots
  • Andreas Zettl
  • Nathalie Gutton
  • Tom Pohl
  • Moritz Mahringer
  • Florian Demmer
  • Yanal-Yvez Fargialla

v53.0

Compare Source

This version also includes the changes from unstable b1 and b2 versions listed below.

Dependencies

  • Pango 1.44.0+ is now needed.
  • pydyf 0.0.3+ is now needed.
  • fontTools 4.0.0+ is now needed.
  • html5lib 1.0.1+ is now needed.

API changes

  • FontConfiguration is now in the weasyprint.text.fonts module.
  • --format and --resolution options have been deprecated, PDF is the only output format supported.
  • --optimize-images option has been deprecated and replaced by --optimize-size, allowing images, fonts, all and none values.
  • weasyprint.tools have been removed.
  • Document.resolve_links, Document.make_bookmark_tree and Document.add_hyperlinks have been removed.

Performance

  • Improve image management

New features

  • #​1374: Support basic "clipPath" in SVG

Bug fixes

  • #​1369: Render use path in SVG
  • #​1370: Fix fill color on use path in SVG
  • #​1371: Handle stroke-opacity and fill-opacity
  • #​1378: Fix crash with borders whose widths are in em
  • #​1394: Fix crash on draw_pattern
  • #​880: Handle stacking contexts put in contexts by previous generations
  • #​1386: Catch font subsetting errors
  • #​1403: Fix how x and y attributes are handled in SVG
  • #​1399, #​1401: Don’t crash when use tags reference non-existing element
  • #​1393: Handle font collections
  • #​1408: Handle x and y attributes in use tags

Documentation

Contributors

  • Guillaume Ayoub
  • Lucie Anglade
  • Pelle Bo Regener
  • aschmitz
  • John Jackson
  • Felix Schwarz
  • Syrus Dark
  • Christoph Päper

Backers and sponsors

  • OpenEdition
  • Grip Angebotssoftware
  • Simonsoft
  • PDF Blocks
  • Menutech
  • Manuel Barkhau
  • print-css.rocks
  • Simon Sapin
  • KontextWork
  • René Fritz
  • Maykin Media
  • Nathalie Gutton
  • Andreas Zettl
  • Tom Pohl
  • NCC Group
  • Moritz Mahringer
  • Florian Demmer
  • Des images et des mots
  • Mohammed Y. Alnajdi
  • Yanal-Yvez Fargialla
  • Yevhenii Hyzyla

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/weasyprint-53.x branch 3 times, most recently from 17a31a9 to 5bea63f Compare August 23, 2021 12:30
@renovate renovate bot force-pushed the renovate/weasyprint-53.x branch from 5bea63f to e8a03d0 Compare August 27, 2021 14:14
@mormahr mormahr force-pushed the renovate/weasyprint-53.x branch from e8a03d0 to c4b0fb7 Compare September 1, 2021 18:55
WeasyPrint v53 uses a new custom PDF backend which causes differences
in the rendering output.
This is a visually breaking change.
@codecov
Copy link

codecov bot commented Sep 1, 2021

Codecov Report

Merging #115 (ccd3532) into main (4dd5a3e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #115   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          104       104           
=========================================
  Hits           104       104           
Flag Coverage Δ
unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4dd5a3e...ccd3532. Read the comment docs.

@mormahr mormahr merged commit 4757d48 into main Sep 1, 2021
@mormahr mormahr deleted the renovate/weasyprint-53.x branch September 1, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants