Skip to content

Bump weasyprint from 60.2 to 61.0

Ronan Amicel requested to merge dependabot-pip-weasyprint-61.0 into main

Bumps weasyprint from 60.2 to 61.0.

Release notes

Sourced from weasyprint's releases.

v61.0

Read about this release on our blog.

Python API

  • DocumentMetadata.attachments is now a list of Attachment objects, not a list of (url, description) tuples.

New features

  • #1219, #2017: Support var() in shorthand and multiple-value functions
  • #1986: Support percentages for opacity
  • #2050: Build executable file for Windows
  • #2000: Support select fields
  • #1993: Handle background-attachment: fixed to cover the whole page
  • #2023, #2022: Allow text-based file objects for HTML and CSS classes
  • #2014: Remove warnings for PDF/A and PDF/UA compatibility

Bug fixes

  • #2052, #1869: Handle attachments for PDF/A documents
  • #2013, #2051: Apply margin to running tables
  • #1278, #1884: Draw collapsed borders of running tables
  • #2029: Fix page counter in non-root absolute boxes
  • #2043: Fix text-anchor on SVG tspan elements
  • #1968, #2039: Use cell's border-height to calculate table row height
  • #2030: Ensure that bounding box is set to invisible text tags
  • #2040, #2041: Don’t crash on malformed URLs
  • #2026: Don’t break pages when fixed-height elements don’t overflow page
  • #2038: Don’t mix original streams when drawing transparent text
  • #2016: Avoid duplication when breaking out-of-flow boxes
  • #2012: Don’t crash when CSS properties have no value
  • #2010, #1287: Fix many corner cases with CSS variables
  • #1996: Don’t crash when drawing groove/ridge collapsed borders
  • #1982: Fix SVG markers size, position and drawing

Contributors

  • Guillaume Ayoub
  • kygoh
  • Lucie Anglade
  • Timo Ramsauer
  • Alexander Gitter
  • Michael Lisitsa
  • Vagner José Nicolodi
  • Manolis Stamatogiannakis
  • Pascal de Bruijn
  • Viktor Shevtsov
  • Eduardo Gonzalez
  • Kesara Rathnayake

... (truncated)

Changelog

Sourced from weasyprint's changelog.

Version 61.0

Released on 2024-02-12.

Python API:

  • DocumentMetadata.attachments is now a list of Attachment objects, not a list of (url, description) tuples.

New features:

  • [#1219](https://github.com/Kozea/WeasyPrint/issues/1219) <https://github.com/Kozea/WeasyPrint/issues/1219>, [#2017](https://github.com/Kozea/WeasyPrint/issues/2017) <https://github.com/Kozea/WeasyPrint/pull/2017>: Support var() in shorthand and multiple-value functions
  • [#1986](https://github.com/Kozea/WeasyPrint/issues/1986) <https://github.com/Kozea/WeasyPrint/issues/1986>_: Support percentages for opacity
  • [#2050](https://github.com/Kozea/WeasyPrint/issues/2050) <https://github.com/Kozea/WeasyPrint/pull/2050>_: Build executable file for Windows
  • [#2000](https://github.com/Kozea/WeasyPrint/issues/2000) <https://github.com/Kozea/WeasyPrint/pull/2000>_: Support select fields
  • [#1993](https://github.com/Kozea/WeasyPrint/issues/1993) <https://github.com/Kozea/WeasyPrint/issues/1993>_: Handle background-attachment: fixed to cover the whole page
  • [#2023](https://github.com/Kozea/WeasyPrint/issues/2023) <https://github.com/Kozea/WeasyPrint/issues/2023>, [#2022](https://github.com/Kozea/WeasyPrint/issues/2022) <https://github.com/Kozea/WeasyPrint/pull/2022>: Allow text-based file objects for HTML and CSS classes
  • [#2014](https://github.com/Kozea/WeasyPrint/issues/2014) <https://github.com/Kozea/WeasyPrint/pull/2014>_: Remove warnings for PDF/A and PDF/UA compatibility

Bug fixes:

  • [#2052](https://github.com/Kozea/WeasyPrint/issues/2052) <https://github.com/Kozea/WeasyPrint/issues/2052>, [#1869](https://github.com/Kozea/WeasyPrint/issues/1869) <https://github.com/Kozea/WeasyPrint/pull/1869>: Handle attachments for PDF/A documents
  • [#2013](https://github.com/Kozea/WeasyPrint/issues/2013) <https://github.com/Kozea/WeasyPrint/issues/2013>, [#2051](https://github.com/Kozea/WeasyPrint/issues/2051) <https://github.com/Kozea/WeasyPrint/pull/2051>: Apply margin to running tables
  • [#1278](https://github.com/Kozea/WeasyPrint/issues/1278) <https://github.com/Kozea/WeasyPrint/issues/1278>, [#1884](https://github.com/Kozea/WeasyPrint/issues/1884) <https://github.com/Kozea/WeasyPrint/pull/1884>: Draw collapsed borders of running tables
  • [#2029](https://github.com/Kozea/WeasyPrint/issues/2029) <https://github.com/Kozea/WeasyPrint/issues/2029>_: Fix page counter in non-root absolute boxes
  • [#2043](https://github.com/Kozea/WeasyPrint/issues/2043) <https://github.com/Kozea/WeasyPrint/pull/2043>_: Fix text-anchor on SVG tspan elements
  • [#1968](https://github.com/Kozea/WeasyPrint/issues/1968) <https://github.com/Kozea/WeasyPrint/issues/1968>, [#2039](https://github.com/Kozea/WeasyPrint/issues/2039) <https://github.com/Kozea/WeasyPrint/pull/2039>: Use cell's border-height to calculate table row height
  • [#2030](https://github.com/Kozea/WeasyPrint/issues/2030) <https://github.com/Kozea/WeasyPrint/issues/2030>_: Ensure that bounding box is set to invisible text tags
  • [#2040](https://github.com/Kozea/WeasyPrint/issues/2040) <https://github.com/Kozea/WeasyPrint/issues/2040>_,

... (truncated)

Commits
  • 78861ef Version 61.0
  • 586998e Fix PDF format of attachment creation and modification dates
  • f85a09e Merge pull request #2063 from kesara/fix/attachment-hash
  • 5d95ed4 Get correct checksum for attachments
  • 8aecf38 Merge pull request #1869 from timoramsauer/pdfa3
  • 36e1575 Merge pull request #2059 from kygoh/master
  • 287819b Change management of attachments
  • 097021d Fix long multiline string
  • 85ce10c Test bidirectional position x is invariant
  • 7ae3433 Mark test broken with old Ghostscript versions as xfail
  • Additional commits viewable in compare view

Merge request reports