Releases: Kozea/WeasyPrint
Releases · Kozea/WeasyPrint
v47
v46
New features
- #771: Handle box-decoration-break
- #115: Handle margin-break
- #821: Continuous integration includes tests on Windows
Bug fixes
- #765, #754, #800: Fix many crashes related to the flex layout
- #783: Fix a couple of crashes with strange texts
- #827: Named strings and counters are case-sensitive
- #823: Shrink min/max-height/width according to box-sizing
- #728, #171: Don't crash when fixed boxes are nested
- #610, #828: Don't crash when preformatted text lines end with a space
- #808, #387: Fix position of some images
- #813: Don't crash when long preformatted text lines end with
\n
Documentation
- #815: Add documentation about custom
url_fetcher
v45
WeasyPrint now has a code of conduct.
A new website has been launched, with beautiful and useful graphs about speed and memory use across versions: check WeasyPerf.
Dependencies
- Python 3.5+ is now needed, Python 3.4 is not supported anymore
Bug fixes
- #798: Prevent endless loop and index out of range in pagination
- #767: Add a
--quiet
CLI parameter - #784: Fix library loading on Alpine
- #791: Use path2url in tests for Windows
- #789: Add LICENSE file to distributed sources
- #788: Fix pending references
- #780: Don't draw patterns for empty page backgrounds
- #774: Don't crash when links include quotes
- #637: Fix a problem with justified text
- #763: Launch tests with Python 3.7
- #704: Fix a corner case with tables
- #804: Don't logger handlers defined before importing WeasyPrint
- #109, #748: Don't include punctuation for hyphenation
- #770: Don't crash when people use uppercase words from old-fashioned Microsoft fonts in tables, especially when there's an 5th column
- Use a separate logger to report the rendering process
- Add a
--debug
CLI parameter and set debug level for unknown prefixed CSS properties - Define minimal versions of Python and setuptools in setup.cfg
Documentation
v44
v43
v43rc2
Bug fixes
- #706: Fix text-indent at the beginning of a page
- #687: Allow query strings in file:// URIs
- #720: Optimize minimum size calculation of long inline elements
- #717: Display
<details>
tags as blocks - #691: Don't recalculate max content widths when distributing extra space for tables
- #722: Fix bookmarks and strings set on images
- #723: Warn users when string() is not used in page margin
v43rc1
Dependencies
- Python 3.4+ is now needed, Python 2.x is not supported anymore
- Cairo 1.15.4+ is now needed, but 1.10+ should work with missing features
(such as links, outlines and metadata) - Pdfrw is not needed anymore
New features
- Beautiful website
- #579: Initial support of flexbox
- #592: Support @font-face on Windows
- #306: Add a timeout parameter to the URL fetcher functions
- #594: Split tests using modern pytest features
- #599: Make tests pass on Windows
- #604: Handle target counters and target texts
- #631: Enable counter-increment and counter-reset in page context
- #622: Allow pathlib.Path objects for HTML, CSS and Attachment classes
- #674: Add extensive installation instructions for Windows
Bug fixes
- #558: Fix attachments
- #565, #596, #539: Fix many PDF rendering, printing and compatibility problems
- #614: Avoid crashes and endless loops caused by a Pango bug
- #662: Fix warnings and errors when generating documentation
- #666, #685: Fix many table layout rendering problems
- #680: Don't crash when there's no font available
- #662: Fix support of some align values in tables
v0.42.3
Bug fixes:
- #583: Fix floating-point number error to fix floating box layout
- #586: Don't optimize resume_at when splitting lines with trailing spaces
- #582: Fix table layout with no overflow
- #580: Fix inline box breaking function
- #576: Split replaced_min_content_width and replaced_max_content_width
- #574: Respect text direction and don't translate rtl columns twice
- #569: Get only first line's width of inline children to get linebox width
v0.42.2
v0.42.1
Bug fixes: