Skip to content

Releases: Kozea/WeasyPrint

v47

12 Apr 14:47
Compare
Choose a tag to compare
v47

New features

  • #843: Handle CSS variables
  • #846: Handle :nth() page selector
  • #847: Allow users to use a custom SSL context for HTTP requests

Bug fixes

  • #797: Fix underlined justified text
  • #836: Fix crash when flex items are replaced boxes
  • #835: Fix margin-break: auto

v46

20 Mar 16:50
Compare
Choose a tag to compare
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

20 Feb 16:45
Compare
Choose a tag to compare
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

  • #796: Fix a small typo in the tutorial
  • #792: Document no alignement character support
  • #773: Fix phrasing in Hacking section
  • #402: Add a paragraph about fontconfig error
  • #764: Fix list of dependencies for Alpine
  • Fix API documentation of HTML and CSS classes

v44

29 Dec 16:30
Compare
Choose a tag to compare
v44

Bug fixes

  • #742: Don't crash during PDF generation when locale uses commas as decimal separator
  • #746: Close file when reading VERSION
  • Improve speed and memory usage for long texts.

Documentation

  • #733: Small documentation fixes
  • #735: Fix broken links in NEWS.rst

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.