Skip to content

Releases: Kozea/WeasyPrint

v53.1

22 Aug 13:44
Compare
Choose a tag to compare

Bug fixes

  • #1409: Don’t crash when leaders are in floats
  • #1414: Embed images once
  • #1417: Fix crash with SVG intrinsic ratio

Documentation

  • #1420: Remove make_bookmark_tree from documentation
  • #1422: Include weasyprint.tools removal in documentation

Contributors

  • Guillaume Ayoub

Backers and sponsors

  • Grip Angebotssoftware
  • PDF Blocks
  • SimonSoft
  • Menutech
  • Manuel Barkhau
  • Simon Sapin
  • KontextWork
  • René Fritz
  • Maykin Media
  • NCC Group
  • Des images et des mots
  • Andreas Zettl
  • Nathalie Gutton
  • Tom Pohl
  • Moritz Mahringer
  • Florian Demmer
  • Yanal-Yvez Fargialla

v53.0

31 Jul 20:37
Compare
Choose a tag to compare

This version also includes the changes from unstable b1 and b2 versions listed below.

Read about this release on our blog.

Dependencies

  • Pango 1.44.0+ is now needed.
  • pydyf 0.0.3+ is now needed.
  • fontTools 4.0.0+ is now needed.
  • html5lib 1.0.1+ is now needed.

API changes

  • FontConfiguration is now in the weasyprint.text.fonts module.
  • --format and --resolution options have been deprecated, PDF is the only output format supported.
  • --optimize-images option has been deprecated and replaced by --optimize-size, allowing images, fonts, all and none values.
  • weasyprint.tools have been removed.
  • Document.resolve_links, Document.make_bookmark_tree and Document.add_hyperlinks have been removed.

Performance

  • Improve image management

New features

  • #1374: Support basic "clipPath" in SVG

Bug fixes

  • #1369: Render use path in SVG
  • #1370: Fix fill color on use path in SVG
  • #1371: Handle stroke-opacity and fill-opacity
  • #1378: Fix crash with borders whose widths are in em
  • #1394: Fix crash on draw_pattern
  • #880: Handle stacking contexts put in contexts by previous generations
  • #1386: Catch font subsetting errors
  • #1403: Fix how x and y attributes are handled in SVG
  • #1399, #1401: Don’t crash when use tags reference non-existing element
  • #1393: Handle font collections
  • #1408: Handle x and y attributes in use tags

Documentation

  • #1391, #1405: Add documentation for installation

Contributors

  • Guillaume Ayoub
  • Lucie Anglade
  • Pelle Bo Regener
  • aschmitz
  • John Jackson
  • Felix Schwarz
  • Syrus Dark
  • Christoph Päper

Backers and sponsors

  • OpenEdition
  • Grip Angebotssoftware
  • Simonsoft
  • PDF Blocks
  • Menutech
  • Manuel Barkhau
  • print-css.rocks
  • Simon Sapin
  • KontextWork
  • René Fritz
  • Maykin Media
  • Nathalie Gutton
  • Andreas Zettl
  • Tom Pohl
  • NCC Group
  • Moritz Mahringer
  • Florian Demmer
  • Des images et des mots
  • Mohammed Y. Alnajdi
  • Yanal-Yvez Fargialla
  • Yevhenii Hyzyla

v53.0b2

30 May 17:33
Compare
Choose a tag to compare
v53.0b2 Pre-release
Pre-release

This version is experimental, don't use it in production. If you find bugs, please report them!

New features

  • #359: Embed full sets of fonts in PDF

Bug fixes

  • #1345: Fix position of SVG use tags
  • #1346: Handle "stroke-dasharray: none"
  • #1352, #1358: Sort link target identifiers
  • #1357: Fix font information
  • #1362: Handle visibility and display properties in SVG
  • #1365: Cascade inherited attributes for use tags
  • #1366: Correctly handle style attributes in SVG
  • #1367: Include line stroke in box bounding

Documentation

Contributors

  • Guillaume Ayoub
  • aschmitz
  • John Jackson
  • Lucie Anglade
  • Pelle Bo Regener

Backers and sponsors

  • OpenEdition
  • print-css.rocks
  • Simonsoft
  • PDF Blocks
  • Menutech
  • Manuel Barkhau
  • Simon Sapin
  • Grip Angebotssoftware
  • KontextWork
  • René Fritz
  • Nathalie Gutton
  • Andreas Zettl
  • Tom Pohl
  • Maykin Media
  • Moritz Mahringer
  • Florian Demmer
  • Mohammed Y. Alnajdi
  • NCC Group
  • Des images et des mots
  • Yanal-Yvez Fargialla
  • Yevhenii Hyzyla

v53.0b1

22 Apr 11:06
Compare
Choose a tag to compare
v53.0b1 Pre-release
Pre-release

This version is experimental, don't use it in production. If you find bugs, please report them!

This version uses its own PDF generator instead of Cairo. Rendering may be different for text, gradients, SVG images…

New features

  • #1328: Add ISO and JIS paper sizes
  • #1309: Leader support, with financial support from Simonsoft

Bug fixes

  • #504: Fix rendering bugs with PDF gradients
  • #606: Fix rounding errors on PDF dimensions
  • #1264: Include witdh/height when calculating auto margins of absolute boxes
  • #1191: Don’t try to get an earlier page break between columns
  • #1235: Include padding, border, padding when calculating inline-block width
  • #1199: Fix kerning issues with small fonts

Documentation

  • #1298: Rewrite documentation

Contributors

  • Guillaume Ayoub
  • Lucie Anglade
  • Felix Schwarz
  • Syrus Dark
  • Christoph Päper

Backers and sponsors

  • Simonsoft
  • PDF Blocks
  • Menutech
  • Manuel Barkhau
  • Simon Sapin
  • Nathalie Gutton
  • Andreas Zettl
  • René Fritz
  • Tom Pohl
  • KontextWork
  • Moritz Mahringer
  • Florian Demmer
  • Maykin Media
  • Yanal-Yvez Fargialla
  • Des images et des mots
  • Yevhenii Hyzyla

v52.5

17 Apr 15:24
Compare
Choose a tag to compare

Bug fixes

  • #1336: Fix text breaking exception
  • #1318: Fix @font-face rules with Pango 1.48.3+

Contributors

  • Guillaume Ayoub

Backers and sponsors

  • Simonsoft
  • PDF Blocks
  • Menutech
  • Manuel Barkhau
  • Simon Sapin
  • Nathalie Gutton
  • Andreas Zettl
  • René Fritz
  • Tom Pohl
  • KontextWork
  • Moritz Mahringer
  • Florian Demmer
  • Maykin Media
  • Yanal-Yvez Fargialla
  • Des images et des mots
  • Yevhenii Hyzyla

v52.4

11 Mar 15:05
Compare
Choose a tag to compare

Bug fixes

  • #1304: Don’t try to draw SVG files with no size
  • ece5f06: Avoid crash on last word detection
  • 4ee42e4: Remove last word before ellipses when hyphenated

Contributors

  • Guillaume Ayoub

Backers and sponsors

  • PDF Blocks
  • Simonsoft
  • Menutech
  • Simon Sapin
  • Manuel Barkhau
  • Andreas Zettl
  • Nathalie Gutton
  • Tom Pohl
  • René Fritz
  • Moritz Mahringer
  • Florian Demmer
  • KontextWork
  • Michele Mostarda

v52.3

02 Mar 14:32
Compare
Choose a tag to compare

Bug fixes

  • #1299: Fix imports with url() and quotes

New features

  • #1300: Add support of line-clamp, with financial support from expert Germany

Contributors

  • Guillaume Ayoub
  • Lucie Anglade

Backers and sponsors

  • PDF Blocks
  • Simonsoft
  • Menutech
  • Simon Sapin
  • Manuel Barkhau
  • Andreas Zettl
  • Nathalie Gutton
  • Tom Pohl
  • Moritz Mahringer
  • Florian Demmer
  • KontextWork
  • Michele Mostarda

v52.2

06 Dec 18:24
Compare
Choose a tag to compare

Bug fixes

  • #1248: Include missing test data
  • #1254: Top margins removed from children when tables are displayed on multiple pages
  • #1250: Correctly draw borders on the last line of split tables
  • a6f9c80: Add a nice gif to please gdk-pixbuf 2.42.0

Contributors

  • Guillaume Ayoub
  • Lucie Anglade
  • Felix Schwarz

Backers and Sponsors

  • PDF Blocks
  • Simonsoft
  • Menutech
  • Simon Sapin
  • Nathalie Gutton
  • Andreas Zetti
  • Tom Pohl
  • Florian Demmer
  • Moritz Mahringer

v52.1

02 Nov 20:43
Compare
Choose a tag to compare

Bug fixes

  • 238e214: Fix URL handling with tinycss2

Contributors

  • Guillaume Ayoub

Backers and sponsors

  • Simonsoft
  • Simon Sapin
  • Nathalie Gutton
  • Andreas Zettl
  • Florian Demmer
  • Moritz Mahringer

v52

30 Oct 00:15
Compare
Choose a tag to compare
v52

Dependencies

  • Python 3.6+ is now needed, Python 3.5 is not supported anymore
  • WeasyPrint now depends on Pillow

New features

  • #1019: Implement counter-set
  • #1080: Don’t display template tags
  • #1210: Use download attribute in a tags for attachment's filename
  • #1206: Handle strings in list-style-type
  • #1165: Add support for concatenating var() functions in content declarations
  • c56b96b: Add an option to optimize embedded images size, with financial support from Hashbang
  • #969: Add an image cache that can be shared between documents, with financial support from Hashbang

Bug fixes

  • #1141: Don’t clip page margins on account of body overflow
  • #1000: Don’t apply text-indent twice on inline blocks
  • #1051: Avoid random line breaks
  • #1120: Gather target counters in page margins
  • #1110: Handle most cases for boxes avoiding floats in rtl containers, with financial support from Innovative Software
  • #1111: Fix horizontal position of last rtl line, with financial support from Innovative Software
  • #1114: Fix bug with transparent borders in tables
  • #1146: Don’t gather bookmarks twice for blocks that are displayed on two pages
  • #1237: Use fallback fonts on unsupported WOFF2 and WOFF fonts
  • #1025: Don’t insert the same layout attributes multiple times
  • #1027: Don’t try to break tables after the header or before the footer
  • #1050: Don’t crash on absolute SVG files with no intrinsic size
  • #1204: Fix a crash with a flexbox corner case
  • #1030: Fix frozen builds
  • #1089: Fix Pyinstaller builds
  • #1216: Fix embedded files
  • #1225: Initial support of RTL direction in flexbox layout

Documentation

  • #1149: Add the --quiet CLI option in the documentation
  • #1061: Update install instructions on Windows

Tests

  • #1209: Use GitHub Actions instead of Travis

Contributors

  • Guillaume Ayoub
  • Lucie Anglade
  • Tontyna
  • Mohammed Y. Alnajdi
  • Mike Voets
  • Bjarni Þórisson
  • Balázs Dukai
  • Bart Broere
  • Endalkachew
  • Felix Schwarz
  • Julien Sanchez
  • Konstantin Alekseev
  • Nicolas Hart
  • Nikolaus Schlemm
  • Thomas J. Lampoltshammer
  • mPyth
  • nempoBu4
  • saddy001

Backers and Sponsors

  • Hashbang
  • Innovative Software
  • Screenbreak
  • Simon Sapin
  • Lisa Warshaw
  • Nathalie Gutton
  • Andreas Zetti
  • Florian Demmer
  • Moritz Mahringer