Skip to content

Releases: Kozea/WeasyPrint

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

v51

23 Dec 16:48
Compare
Choose a tag to compare
v51

Dependencies

  • Pyphen 0.9.1+ is now needed

New features

  • #882: Add support of element() and running()
  • #972: Add HTML element to Box class
  • 7a4d6f8: Support larger and smaller values for font-size

Bug fixes

  • #960: Fix how fonts used for macOS tests are installed
  • #956: Fix various crashes due to line breaking bugs
  • #983: Fix typo in variable name
  • #975: Don’t crash when string-set is set to none
  • #998: Keep font attributes when text lines are modified
  • #1005: Don’t let presentational hints add decorations on tables with no borders
  • #974: Don’t crash on improper var() values
  • #1012: Fix rendering of header and footer for empty tables
  • #1013: Avoid quadratic time relative to tree depth when setting page names

v50

19 Sep 11:39
Compare
Choose a tag to compare
v50

New features

  • #209: Make break-* properties work inside tables
  • #661: Make blocks with overflow: auto grow to include floating children

Bug fixes

  • #945: Don't break pages between a list item and its marker
  • #727: Avoid tables lost between pages
  • #831: Ignore auto margins on flex containers
  • #923: Fix a couple of crashes when splitting a line twice
  • #896: Fix skip stack order when using a reverse flex direction

v49

11 Sep 15:37
Compare
Choose a tag to compare
v49

Performance

  • Speed and memory use have been largely improved.

New features

  • #700: Handle ::marker pseudo-selector
  • 135dc06: Handle recto and verso parameters for page breaks
  • #907: Provide a clean way to build layout contexts

Bug fixes

  • #937: Fix rendering of tables with empty lines and rowspans
  • #897: Don't crash when small columns are wrapped in absolute blocks
  • #913: Fix a test about gradient colors
  • #924: Fix title for document with attachments
  • #917: Fix tests with Pango 1.44
  • #919: Fix padding and margin management for column flex boxes
  • #901: Fix width of replaced boxes with no intrinsic width
  • #906: Don't respect table cell width when content doesn't fit
  • #927: Don't use deprecated logger.warn anymore
  • a866279: Fix margin collapsing between caption and table wrapper
  • 87d9e84: Avoid infinite loops when rendering columns
  • 789b80e: Only use in flow children to set columns height
  • 615e298: Don't include floating elements each time we try to render a column
  • 48d8632: Avoid not in flow children to compute column height
  • e7c452c: Fix collapsing margins for columns
  • fb0887c: Fix crash when using currentColor in gradients
  • f66df06: Don't crash when using ex units in word-spacing in letter-spacing
  • c790ff2: Don't crash when properties needing base URL use var functions
  • d63eac3: Don't crash with object-fit: non images with no intrinsic size

Documentation

  • #900: Add documentation about semantic versioning
  • #692: Add a snippet about PDF magnification
  • #899: Add .NET wrapper link
  • #893: Fixed wrong nested list comprehension example
  • #902: Add state to the make_bookmark_tree documentation
  • #921: Fix typos in the documentation
  • #328: Add CSS sample for forms

v48

08 Jul 11:58
Compare
Choose a tag to compare
v48

Dependencies

  • CairoSVG 2.4.0+ is now needed

New features

  • #891: Handle text-overflow
  • #878: Handle column-span
  • #855: Handle all the text-decoration features
  • #238: Don't repeat background images when it's not needed
  • #875: Handle object-fit and object-position
  • #870: Handle bookmark-state

Bug fixes

  • #686: Fix column balance when children are not inline
  • #885: Actually use the content box to resolve flex items percentages
  • #867: Fix rendering of KaTeX output, including (1) set row baseline of tables when no cells are baseline-aligned, (2) set baseline for inline tables, (3) don't align lines larger than their parents, (4) force CairoSVG to respect image size defined by CSS
  • #873: Set a minimum height for empty list elements with outside marker
  • #811: Don't use translations to align flex items
  • #851, #860: Don't cut pages when content overflows a very little bit
  • #862: Don't crash when using UTC dates in metadata

Documentation

  • #854: Add a "Tips & Tricks" section

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