Releases: Kozea/WeasyPrint
Releases · Kozea/WeasyPrint
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:
v0.42
WeasyPrint is not tested with (end-of-life) Python 3.3 anymore.
This release is probably the last version of the 0.x series.
Next version may include big changes:
- end of Python 2.7 support,
- initial support of bidirectional text,
- initial support of flexbox,
- improvements for speed and memory usage.
New features:
- #532: Support relative file URIs when using CLI.
Bug fixes:
- #553: Fix slow performance for pre-formatted boxes with a lot of children.
- #409: Don't crash when rendering some tables.
- #39: Fix rendering of floats in inlines.
- #301: Split lines carefully.
- #530: Fix root when frozen with Pyinstaller.
- #534: Handle SVGs containing images embedded as data URIs.
- #360: Fix border-radius rendering problem with some PDF readers.
- #525: Fix pipenv support.
- #227: Smartly handle replaced boxes with percentage width in auto-width parents.
- #520: Don't ignore CSS
@page
rules that are imported by an@import
rule.
v0.41
WeasyPrint now depends on pdfrw >= 0.4.
New features:
- #471: Support page marks and bleed.
Bug fixes:
- #513: Don't crash on unsupported image-resolution values.
- #506: Fix @font-face use with write_* methods.
- #500: Improve readability of _select_source function.
- #498: Use CSS prefixes as recommanded by the CSSWG.
- #441: Fix rendering problems and crashes when using @font-face.
- bb3a4db: Try to break pages after a block before trying to break inside it.
- 1d1654c: Fix and test corner cases about named pages.
Documentation: