Weasyprint

Latest version: v63.1

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

Scan your dependencies

Page 12 of 17

0.22

------------

Released on 2014-05-05.

New features:

* `86 <https://github.com/Kozea/WeasyPrint/pull/86>`_:
Support gzip and deflate encoding in HTTP responses
* `177 <https://github.com/Kozea/WeasyPrint/pull/177>`_:
Support for PDF attachments.

Bug fixes:

* `169 <https://github.com/Kozea/WeasyPrint/issues/169>`_:
Fix a crash on percentage-width columns in an auto-width table.
* `168 <https://github.com/Kozea/WeasyPrint/issues/168>`_:
Make ``<fieldset>`` a block in the user-agent stylesheet.
* `175 <https://github.com/Kozea/WeasyPrint/issues/175>`_:
Fix some ``dlopen()`` library loading issues on OS X.
* `183 <https://github.com/Kozea/WeasyPrint/issues/183>`_:
Break to the next page before a float that would overflow the page.
(It might still overflow if it’s bigger than the page.)
* `188 <https://github.com/Kozea/WeasyPrint/issues/188>`_:
Require a recent enough version of Pyphen

Release process:

* Drop Python 3.1 support.
* Set up [Travis CI](https://travis-ci.org/)
to automatically test all pushes and pull requests.
* Start testing on Python 3.4 locally. (Travis does not support 3.4 yet.)

0.21

------------

Released on 2014-01-11.

New features:

* Add the `overflow-wrap <https://drafts.csswg.org/css-text/#overflow-wrap>`_
property, allowing line breaks inside otherwise-unbreakable words.
Thanks Frédérick Deslandes!
* Add the `image-resolution
<https://drafts.csswg.org/css-images-3/#the-image-resolution>`_ property,
allowing images to be sized proportionally to their intrinsic size
at a resolution other than 96 image pixels per CSS ``in``
(ie. one image pixel per CSS ``px``)

Bug fixes:

* `145 <https://github.com/Kozea/WeasyPrint/issues/145>`_:
Fix parsing HTML from an HTTP URL on Python 3.x
* `40 <https://github.com/Kozea/WeasyPrint/issues/40>`_:
Use more general hyphenation dictionaries for specific document languages.
(E.g. use ``hyph_fr.dic`` for ``lang="fr_FR"``.)
* `26 <https://github.com/Kozea/WeasyPrint/issues/26>`_:
Fix ``min-width`` and ``max-width`` on floats.
* `100 <https://github.com/Kozea/WeasyPrint/issues/100>`_:
Fix a crash on trailing whitespace with ``font-size: 0``
* `82 <https://github.com/Kozea/WeasyPrint/issues/82>`_:
Borders on tables with ``border-collapse: collapse`` were sometimes
drawn at an incorrect position.
* `30 <https://github.com/Kozea/WeasyPrint/issues/30>`_:
Fix positioning of images with ``position: absolute``.
* `118 <https://github.com/Kozea/WeasyPrint/issues/118>`_:
Fix a crash when using ``position: absolute``
inside a ``position: relative`` element.
* Fix ``visibility: collapse`` to behave like ``visibility: hidden``
on elements other than table rows and table columns.
* `147 <https://github.com/Kozea/WeasyPrint/issues/147>`_ and
`153 <https://github.com/Kozea/WeasyPrint/issues/153>`_:
Fix dependencies to require lxml 3.0 or a more recent version.
Thanks gizmonerd and Thomas Grainger!
* `152 <https://github.com/Kozea/WeasyPrint/issues/152>`_:
Fix a crash on percentage-sized table cells in auto-sized tables.
Thanks Johannes Duschl!

0.20.2

--------------

Released on 2013-12-18.

* Fix `146 <https://github.com/Kozea/WeasyPrint/issues/146>`_: don't crash
when drawing really small boxes with dotted/dashed borders

0.20.1

--------------

Released on 2013-12-16.

* Depend on html5lib >= 0.99 instead of 1.0b3 to fix pip 1.4 support.
* Fix `74 <https://github.com/Kozea/WeasyPrint/issues/74>`_: don't crash on
space followed by dot at line break.
* Fix `78 <https://github.com/Kozea/WeasyPrint/issues/78>`_: nicer colors for
border-style: ridge/groove/inset/outset.

0.20

------------

Released on 2013-12-14.

* Add support for ``border-radius``.
* Feature `77 <https://github.com/Kozea/WeasyPrint/issues/77>`_: Add PDF
metadata from HTML.
* Feature `12 <https://github.com/Kozea/WeasyPrint/pull/12>`_: Use html5lib.
* Tables: handle percentages for column groups, columns and cells, and values
for row height.
* Bug fixes:

* Fix `84 <https://github.com/Kozea/WeasyPrint/pull/84>`_: don't crash when
stylesheets are not available.
* Fix `101 <https://github.com/Kozea/WeasyPrint/issues/101>`_: use page ids
instead of page numbers in PDF bookmarks.
* Use ``logger.warning`` instead of deprecated ``logger.warn``.
* Add 'font-stretch' in the 'font' shorthand.

0.19.2

--------------

Released on 2013-06-18.

Bug fix release:

* Fix `88 <https://github.com/Kozea/WeasyPrint/issues/88>`_:
``text-decoration: overline`` not being drawn above the text
* Bug fix: Actually draw multiple lines when multiple values are given
to ``text-decoration``.
* Use the font metrics for text decoration positioning.
* Bug fix: Don't clip the border with ``overflow: hidden``.
* Fix `99 <https://github.com/Kozea/WeasyPrint/issues/99>`_:
Regression: JPEG images not loading with cairo 1.8.x.

Page 12 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.