Weasyprint

Latest version: v62.1

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

Scan your dependencies

Page 7 of 10

52.3

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

52.2

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

52.1

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
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
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
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
Performance

* Speed and memory use have been largely improved.

New features

* 700: Handle `::marker` pseudo-selector
* 135dc06c: 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
* a8662794: Fix margin collapsing between caption and table wrapper
* 87d9e84f: Avoid infinite loops when rendering columns
* 789b80e6: Only use in flow children to set columns height
* 615e298a: Don't include floating elements each time we try to render a column
* 48d8632e: Avoid not in flow children to compute column height
* e7c452ce: Fix collapsing margins for columns
* fb0887cf: Fix crash when using currentColor in gradients
* f66df067: Don't crash when using ex units in word-spacing in letter-spacing
* c790ff20: Don't crash when properties needing base URL use var functions
* d63eac31: 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
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
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
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
WeasyPrint now has a [code of conduct](https://github.com/Kozea/WeasyPrint/blob/master/CODE_OF_CONDUCT.rst).

A new website has been launched, with beautiful and useful graphs about speed and memory use across versions: check [WeasyPerf](https://kozea.github.io/WeasyPerf/index.html).

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](https://weasyprint.readthedocs.io/en/latest/tutorial.html#logging) 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
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
Bug fixes

* [726](https://github.com/Kozea/WeasyPrint/issues/726): Make empty strings clear previous values of named strings
* [729](https://github.com/Kozea/WeasyPrint/issues/729): Include tools in packaging


v43rc2
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
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](https://weasyprint.org)
* 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

0.42.3

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

0.42.2

Bug fixes:

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

0.42.1

Bug fixes:

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

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.