Skip to content

Bump weasyprint from 62.0 to 63.0

Vincent Lara requested to merge dependabot-pip-weasyprint-63.0 into main

Bumps weasyprint from 62.0 to 63.0.

Release notes

Sourced from weasyprint's releases.

v63.0

Read about this release on our blog.

Dependencies

  • Python 3.13 is now supported
  • pydyf 0.11.0+ is now needed
  • tinycss2 1.4.0+ is now needed
  • tinyhtml5 2.0.0+ is now needed, instead of html5lib

Features

  • #2252, #895: Handle page groups, with financial support from Code & Co.
  • #1630, #2286: Support CSS Color Level 4
  • #2192: Add PDF variant for debugging purpose
  • #2208: Support submit inputs in PDF forms
  • #2139: Support mask-border-* properties
  • #1831, #2143: Support radio inputs in PDF forms

Bug fixes

  • #2262: Avoid integer overflows when converting units from/to doubles
  • #2260: Avoid float collision with box establishing formatting context
  • #2240, #2242: Handle svg tags with no size
  • #2231, #1171, #2222, #1208: Fix several problems related to flex-direction: column
  • #2239: Don’t fail when SVG markers are undefined references
  • #2230, #2238: Set explicit flags when loading DLLs on Windows
  • #2228, #1942: Store original and PDF stream images in different cache slots
  • #2234: Apply stylesheet and other basic operations to SVG root tag
  • #2054, #2233: Keep auto margins on flex layout boxes
  • #1883: Don’t crash with empty list marker strings
  • #2216: Fix vertical alignment of out-of-flow elements in tables
  • #996, #2219: Don’t ignore absolutely positioned elements inside flex boxes
  • #2217: Don’t crash with normal column gaps
  • #1817: Don’t assume that lines break after spaces
  • #1868: Don’t break rows with atomic cells
  • #2166: Don’t display bottom border on cells in split rows
  • 61852c4: Capture fontTools logs when subsetting fonts
  • #2190: Don’t use a pattern when drawing backgrounds for no-repeat background images
  • #2185: Check that Harfbuzz version is at least 4.1.0 to subset fonts
  • #2180: Store width for all glyphs when font is not subset
  • #2183: Respect break-inside: avoid for flex items
  • #2055, #2058: Fix right-to-left tables with collapsed borders
  • #2179, #1128: Handle buggy Adobe Photoshop CMYK JPEGs
  • #2175: Don’t compress PDF metadata for PDF/A-1
  • #2174: Fix extra width distribution for auto table layout

Performance

  • #1155: Improve rendering speed for large colspan values

... (truncated)

Changelog

Sourced from weasyprint's changelog.

Version 63.0

Released on 2024-10-29.

Dependencies:

  • Python 3.13 is now supported
  • pydyf 0.11.0+ is now needed
  • tinycss2 1.4.0+ is now needed
  • tinyhtml5 2.0.0+ is now needed, instead of html5lib

Features:

  • [#2252](https://github.com/Kozea/WeasyPrint/issues/2252) <https://github.com/Kozea/WeasyPrint/pull/2252>, [#895](https://github.com/Kozea/WeasyPrint/issues/895) <https://github.com/Kozea/WeasyPrint/issues/895>: Handle page groups, with financial support from Code & Co.
  • [#1630](https://github.com/Kozea/WeasyPrint/issues/1630) <https://github.com/Kozea/WeasyPrint/issues/1630>, [#2286](https://github.com/Kozea/WeasyPrint/issues/2286) <https://github.com/Kozea/WeasyPrint/pull/2286>: Support CSS Color Level 4
  • [#2192](https://github.com/Kozea/WeasyPrint/issues/2192) <https://github.com/Kozea/WeasyPrint/pull/2192>_: Add PDF variant for debugging purpose
  • [#2208](https://github.com/Kozea/WeasyPrint/issues/2208) <https://github.com/Kozea/WeasyPrint/pull/2208>_: Support submit inputs in PDF forms
  • [#2139](https://github.com/Kozea/WeasyPrint/issues/2139) <https://github.com/Kozea/WeasyPrint/pull/2139>_: Support mask-border-* properties
  • [#1831](https://github.com/Kozea/WeasyPrint/issues/1831) <https://github.com/Kozea/WeasyPrint/issues/1831>, [#2143](https://github.com/Kozea/WeasyPrint/issues/2143) <https://github.com/Kozea/WeasyPrint/pull/2143>: Support radio inputs in PDF forms

Bug fixes:

  • [#2262](https://github.com/Kozea/WeasyPrint/issues/2262) <https://github.com/Kozea/WeasyPrint/issues/2262>_: Avoid integer overflows when converting units from/to doubles
  • [#2260](https://github.com/Kozea/WeasyPrint/issues/2260) <https://github.com/Kozea/WeasyPrint/pull/2260>_: Avoid float collision with box establishing formatting context
  • [#2240](https://github.com/Kozea/WeasyPrint/issues/2240) <https://github.com/Kozea/WeasyPrint/issues/2240>, [#2242](https://github.com/Kozea/WeasyPrint/issues/2242) <https://github.com/Kozea/WeasyPrint/pull/2242>: Handle svg tags with no size
  • [#2231](https://github.com/Kozea/WeasyPrint/issues/2231) <https://github.com/Kozea/WeasyPrint/pull/2231>, [#1171](https://github.com/Kozea/WeasyPrint/issues/1171) <https://github.com/Kozea/WeasyPrint/issues/1171>, [#2222](https://github.com/Kozea/WeasyPrint/issues/2222) <https://github.com/Kozea/WeasyPrint/issues/2222>, [#1208](https://github.com/Kozea/WeasyPrint/issues/1208) <https://github.com/Kozea/WeasyPrint/issues/1208>: Fix several problems related to flex-direction: column
  • [#2239](https://github.com/Kozea/WeasyPrint/issues/2239) <https://github.com/Kozea/WeasyPrint/issues/2239>_: Don’t fail when SVG markers are undefined references
  • [#2230](https://github.com/Kozea/WeasyPrint/issues/2230) <https://github.com/Kozea/WeasyPrint/issues/2230>, [#2238](https://github.com/Kozea/WeasyPrint/issues/2238) <https://github.com/Kozea/WeasyPrint/pull/2238>: Set explicit flags when loading DLLs on Windows
  • [#2228](https://github.com/Kozea/WeasyPrint/issues/2228) <https://github.com/Kozea/WeasyPrint/issues/2228>_,

... (truncated)

Commits
  • c9b6c5e Version 63.0
  • 701e9cf Merge pull request #2286 from Kozea/color4
  • 300cb3c Update artifact action version
  • e622612 Support Python 3.13
  • e9c4e19 Remove old Python 3.8 code
  • aa80901 Fix quotes in f-strings for older versions of Python
  • 9228a42 Fix darken/lighten operations with color level 4
  • f5d7949 Don’t use super when it’s not needed
  • 832c8bd Simplify custom Stream creation
  • bfc2003 Use tinycss2.color4
  • Additional commits viewable in compare view

Merge request reports

Loading