Skip to content

Releases: Kozea/WeasyPrint

v43

09 Nov 09:10
Compare
Choose a tag to compare
v43

Bug fixes

  • #726: Make empty strings clear previous values of named strings
  • #729: Include tools in packaging

v43rc2

02 Nov 16:58
Compare
Choose a tag to compare
v43rc2 Pre-release
Pre-release

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

15 Oct 16:46
Compare
Choose a tag to compare
v43rc1 Pre-release
Pre-release

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

27 Mar 21:00
Compare
Choose a tag to compare

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

04 Feb 15:53
Compare
Choose a tag to compare

Bug fixes:

  • #560: Fix a couple of crashes and endless loops when breaking lines.

v0.42.1

01 Feb 17:48
Compare
Choose a tag to compare

Bug fixes:

  • #566: Don't crash when using @font-config.
  • #567: Fix text-indent with text-align: justify.
  • #465: Fix string(*, start).
  • #562: Handle named pages with pseudo-class.
  • #507: Fix running headers.
  • #557: Avoid infinite loops in inline_line_width.
  • #555: Fix margins, borders and padding in column layouts.

v0.42

26 Dec 14:48
Compare
Choose a tag to compare

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

05 Oct 09:46
Compare
Choose a tag to compare

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.

v0.40

17 Aug 09:42
Compare
Choose a tag to compare

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.

v0.39

24 Jun 12:27
Compare
Choose a tag to compare

Bug fixes:

  • Fix the use of WeasyPrint's URL fetcher with CairoSVG