Weasyprint

Latest version: v63.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 16

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/pull/2252>`_,
`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>`_,
`2286 <https://github.com/Kozea/WeasyPrint/pull/2286>`_:
Support CSS Color Level 4
* `2192 <https://github.com/Kozea/WeasyPrint/pull/2192>`_:
Add PDF variant for debugging purpose
* `2208 <https://github.com/Kozea/WeasyPrint/pull/2208>`_:
Support submit inputs in PDF forms
* `2139 <https://github.com/Kozea/WeasyPrint/pull/2139>`_:
Support ``mask-border-*`` properties
* `1831 <https://github.com/Kozea/WeasyPrint/issues/1831>`_,
`2143 <https://github.com/Kozea/WeasyPrint/pull/2143>`_:
Support radio inputs in PDF forms

Bug fixes:

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

Performance:

* `1155 <https://github.com/Kozea/WeasyPrint/issues/1155>`_:
Improve rendering speed for large colspan values
* `2120 <https://github.com/Kozea/WeasyPrint/issues/2120>`_,
`2178 <https://github.com/Kozea/WeasyPrint/pull/2178>`_:
Use Harfbuzz to subset fonts by default

Documentation:

* `2282 <https://github.com/Kozea/WeasyPrint/issues/2282>`_,
`2284 <https://github.com/Kozea/WeasyPrint/pull/2284>`_:
Simplify Alpine install instructions
* `2254 <https://github.com/Kozea/WeasyPrint/issues/2254>`_:
Add warning about antivirus false detection
* `2220 <https://github.com/Kozea/WeasyPrint/pull/2220>`_:
Add extra information to debug logs
* `2211 <https://github.com/Kozea/WeasyPrint/pull/2211>`_:
Fix link to samples
* `2195 <https://github.com/Kozea/WeasyPrint/pull/2195>`_:
Update cache argument documentation
* `2105 <https://github.com/Kozea/WeasyPrint/issues/2105>`_,
`2151 <https://github.com/Kozea/WeasyPrint/pull/2151>`_:
Use MSYS2 instead of GTK+3 for Windows

Contributors:

* Guillaume Ayoub
* David Huggins-Daines
* Xavid Pretzer
* Yann Trividic
* Kevin Kays
* Alejandro Avilés
* Gianluca Teti
* Gregory Goodson
* Lucie Anglade
* Roman Sirokov

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Syslifters
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Advance Insight
* Docraptor
* Method B
* FieldHub
* Yanal-Yvez Fargialla
* Morntag
* Xavid

62.3

------------

Released on 2024-06-21.

Bug fixes:

* `2174 <https://github.com/Kozea/WeasyPrint/issues/2174>`_:
Fix extra width distribution for auto table layout
* `2175 <https://github.com/Kozea/WeasyPrint/issues/2175>`_:
Don’t compress PDF metadata for PDF/A-1
* `61f8bb3 <https://github.com/Kozea/WeasyPrint/commit/61f8bb3>`_:
Set default PDF variant values in options before generating PDF
* `2c4351e <https://github.com/Kozea/WeasyPrint/commit/2c4351e>`_:
Avoid PDF artifacts when drawing 0-width borders
* `d9d7f62 <https://github.com/Kozea/WeasyPrint/commit/d9d7f62>`_:
Don’t duplicate column when container is split on multiple pages
* `4617b94 <https://github.com/Kozea/WeasyPrint/commit/4617b94>`_:
Don’t set default Fontconfig values for unset properties
* `4c81663 <https://github.com/Kozea/WeasyPrint/commit/4c81663>`_:
Fix layout when all footnotes are removed from the footnote area
* `2184 <https://github.com/Kozea/WeasyPrint/issues/2184>`_:
Make items overflowing grid wrap to the next row/column
* `2187 <https://github.com/Kozea/WeasyPrint/issues/2187>`_:
Don’t append useless tracks when grid elements are positioned

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

62.2

------------

Released on 2024-06-04.

Features:

* `2142 <https://github.com/Kozea/WeasyPrint/issues/2142>`_,
`2162 <https://github.com/Kozea/WeasyPrint/pull/2162>`_:
Support grid-auto-flow: column, with financial support from Menutech

Bug fixes:

* `2167 <https://github.com/Kozea/WeasyPrint/issues/2167>`_:
Fix space added by CSS gap at the end
* `2134 <https://github.com/Kozea/WeasyPrint/issues/2134>`_:
Remove absolute placeholders from discarded content
* `2154 <https://github.com/Kozea/WeasyPrint/issues/2154>`_:
Don’t crash when grid items have auto margins
* `8cdd66f <https://github.com/Kozea/WeasyPrint/commit/8cdd66f>`_:
Fix CSS nesting for nested selectors with comma
* `3359db5 <https://github.com/Kozea/WeasyPrint/commit/3359db5>`_:
Fix and test grid shorthand
* `82deda4 <https://github.com/Kozea/WeasyPrint/commit/82deda4>`_:
Fix wrong resume_at for split floats
* `ff2acf1 <https://github.com/Kozea/WeasyPrint/commit/ff2acf1>`_:
Ensure that gradient size is positive to please some PDF readers

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

62.1

------------

Released on 2024-05-06.

Bug fixes:

* `2144 <https://github.com/Kozea/WeasyPrint/issues/2144>`_,
`2149 <https://github.com/Kozea/WeasyPrint/pull/2149>`_:
Avoid broken fonts when generating multiple documents
* `c10c6892 <https://github.com/Kozea/WeasyPrint/commit/c10c6892>`_:
Display at least one grid row on empty pages
* `2146 <https://github.com/Kozea/WeasyPrint/issues/2146>`_:
Don’t crash when flex container’s parent’s height is auto

Contributors:

* Guillaume Ayoub
* Claudius Ellsel

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

62.0

------------

Released on 2024-04-30.

Dependencies:

* Python 3.9+ is now needed, Python 3.7 and 3.8 are not supported anymore
* pydyf 0.10.0+ is now needed
* tinycss2 1.3.0+ is now needed

Features:

* `543 <https://github.com/Kozea/WeasyPrint/issues/543>`_,
`2121 <https://github.com/Kozea/WeasyPrint/pull/2121>`_:
Support CSS Grid layout
* `2124 <https://github.com/Kozea/WeasyPrint/issues/2124>`_,
`2125 <https://github.com/Kozea/WeasyPrint/pull/2125>`_:
Support border-image-* properties
* `2084 <https://github.com/Kozea/WeasyPrint/issues/2084>`_,
`2077 <https://github.com/Kozea/WeasyPrint/pull/2077>`_:
Support CSS nesting
* `2101 <https://github.com/Kozea/WeasyPrint/issues/2101>`_:
Support HTML maxlength attribute for form fields
* `2095 <https://github.com/Kozea/WeasyPrint/pull/2095>`_:
Apply overflow to replaced boxes
* `245e4f5 <https://github.com/Kozea/WeasyPrint/commit/245e4f5>`_:
Add support of PDF/A-?u

Bug fixes:

* `2136 <https://github.com/Kozea/WeasyPrint/issues/2136>`_:
Don’t clip aligned text in SVG
* `2135 <https://github.com/Kozea/WeasyPrint/pull/2135>`_:
Allow column-direction flex containers to use percentage-based heights
* `2128 <https://github.com/Kozea/WeasyPrint/issues/2128>`_:
Don’t crash when a FontConfig object is destroyed early
* `2079 <https://github.com/Kozea/WeasyPrint/issues/2079>`_:
Fix executable file for some Windows versions
* `2131 <https://github.com/Kozea/WeasyPrint/issues/2131>`_:
Fix alpha for images before/after transparent text
* `2111 <https://github.com/Kozea/WeasyPrint/issues/2111>`_:
Handle auto and none values for CSS quotes property
* `2103 <https://github.com/Kozea/WeasyPrint/issues/2103>`_:
Don’t crash with overconstrained columns
* `2100 <https://github.com/Kozea/WeasyPrint/issues/2100>`_:
Fix rounding error when detecting overflows
* `2093 <https://github.com/Kozea/WeasyPrint/issues/2093>`_,
`2097 <https://github.com/Kozea/WeasyPrint/issues/2097>`_,
`2094 <https://github.com/Kozea/WeasyPrint/pull/2094>`_:
Mark use of md5() and sha1() as not for security
* `1956 <https://github.com/Kozea/WeasyPrint/issues/1956>`_,
`2087 <https://github.com/Kozea/WeasyPrint/pull/2087>`_:
Use CSS table module level 3 to compute widths
* `2086 <https://github.com/Kozea/WeasyPrint/pull/2086>`_:
Fix selects with empty values displaying None
* `1112 <https://github.com/Kozea/WeasyPrint/issues/1112>`_,
`2082 <https://github.com/Kozea/WeasyPrint/issues/2082>`_,
`2085 <https://github.com/Kozea/WeasyPrint/pull/2085>`_:
Fix computation for outer min-content width for table cells
* `016bd81 <https://github.com/Kozea/WeasyPrint/commit/016bd81>`_:
Fix many different bugs with SVG markers

Performance:

* `2130 <https://github.com/Kozea/WeasyPrint/issues/2130>`_:
Cache font key instead of whole font content

Documentation:

* `2108 <https://github.com/Kozea/WeasyPrint/pull/2108>`_:
Update documentation about CSS leader() function

Contributors:

* Guillaume Ayoub
* Lucie Anglade
* Xavid Pretzer
* kygoh
* Germain Gueutier
* Vagner José Nicolodi

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

61.2

------------

Released on 2024-03-08.

**This is a security update.**

We strongly recommend to upgrade WeasyPrint to the latest version if you use
WeasyPrint 61.0 or 61.1. Older versions are not impacted.

Security:

- Always use URL fetcher for attachments

Contributors:

* Guillaume Ayoub
* Ilia Novoselov

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* René Fritz
* Simon Sapin
* Arcanite
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Morntag
* NBCO

Page 1 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.