Weasyprint

Latest version: v62.1

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

Scan your dependencies

Page 8 of 10

0.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.

0.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:

* 508: Add missing libpangocairo dependency for Debian and Ubuntu.
* a7b17fb: Add documentation on logged rendering steps.

0.40

WeasyPrint now depends on cssselect2 instead of cssselect and lxml.

New features:

* 57: Named pages.
* Unprefix properties, see 498.
* Add a "verbose" option logging the document generation steps.

Bug fixes:

* 483: Fix slow performance with long pre-formatted texts.
* 70: Improve speed and memory usage for long documents.
* 487: Don't crash on local() fonts with a space and no quotes.

0.39

Bug fixes:
- Fix the use of WeasyPrint's URL fetcher with CairoSVG

0.38

Bug fixes:

* 477: Don't crash on font-face's src attributes with local functions.

0.37

WeasyPrint now depends on tinycss2 instead of tinycss.

New features:

* 437: Support local links in generated PDFs.

Bug fixes:

* 412: Use a NullHandler log handler when WeasyPrint is used as a library.
* 417, 472: Don't crash on some line breaks.
* 327: Don't crash with replaced elements with height set in percentages.
* 467: Remove incorrect line breaks.
* 446: Let the logging module do the string interpolation.

Page 8 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.