Dependencies
- Python 3.6+ is now needed, Python 3.5 is not supported anymore
- WeasyPrint now depends on Pillow
New features
- #1019: Implement
counter-set
- #1080: Don’t display
template
tags - #1210: Use
download
attribute ina
tags for attachment's filename - #1206: Handle strings in
list-style-type
- #1165: Add support for concatenating
var()
functions incontent
declarations - c56b96b: Add an option to optimize embedded images size, with financial support from Hashbang
- #969: Add an image cache that can be shared between documents, with financial support from Hashbang
Bug fixes
- #1141: Don’t clip page margins on account of
body
overflow - #1000: Don’t apply
text-indent
twice on inline blocks - #1051: Avoid random line breaks
- #1120: Gather target counters in page margins
- #1110: Handle most cases for boxes avoiding floats in rtl containers, with financial support from Innovative Software
- #1111: Fix horizontal position of last rtl line, with financial support from Innovative Software
- #1114: Fix bug with transparent borders in tables
- #1146: Don’t gather bookmarks twice for blocks that are displayed on two pages
- #1237: Use fallback fonts on unsupported WOFF2 and WOFF fonts
- #1025: Don’t insert the same layout attributes multiple times
- #1027: Don’t try to break tables after the header or before the footer
- #1050: Don’t crash on absolute SVG files with no intrinsic size
- #1204: Fix a crash with a flexbox corner case
- #1030: Fix frozen builds
- #1089: Fix Pyinstaller builds
- #1216: Fix embedded files
- #1225: Initial support of RTL direction in flexbox layout
Documentation
- #1149: Add the
--quiet
CLI option in the documentation - #1061: Update install instructions on Windows
Tests
- #1209: Use GitHub Actions instead of Travis
Contributors
- Guillaume Ayoub
- Lucie Anglade
- Tontyna
- Mohammed Y. Alnajdi
- Mike Voets
- Bjarni Þórisson
- Balázs Dukai
- Bart Broere
- Endalkachew
- Felix Schwarz
- Julien Sanchez
- Konstantin Alekseev
- Nicolas Hart
- Nikolaus Schlemm
- Thomas J. Lampoltshammer
- mPyth
- nempoBu4
- saddy001
Backers and Sponsors
- Hashbang
- Innovative Software
- Screenbreak
- Simon Sapin
- Lisa Warshaw
- Nathalie Gutton
- Andreas Zetti
- Florian Demmer
- Moritz Mahringer