Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update weasyprint to 62.3 #1113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates WeasyPrint from 52.4 to 62.3.

Changelog

62.3

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

Released on 2024-06-21.

Bug fixes:

* `2174 <https://github.com/Kozea/WeasyPrint/issues/2174>`_:
Fix extra width distribution for auto table layout
* `2175 <https://github.com/Kozea/WeasyPrint/issues/2175>`_:
Don’t compress PDF metadata for PDF/A-1
* `61f8bb3 <https://github.com/Kozea/WeasyPrint/commit/61f8bb3>`_:
Set default PDF variant values in options before generating PDF
* `2c4351e <https://github.com/Kozea/WeasyPrint/commit/2c4351e>`_:
Avoid PDF artifacts when drawing 0-width borders
* `d9d7f62 <https://github.com/Kozea/WeasyPrint/commit/d9d7f62>`_:
Don’t duplicate column when container is split on multiple pages
* `4617b94 <https://github.com/Kozea/WeasyPrint/commit/4617b94>`_:
Don’t set default Fontconfig values for unset properties
* `4c81663 <https://github.com/Kozea/WeasyPrint/commit/4c81663>`_:
Fix layout when all footnotes are removed from the footnote area
* `2184 <https://github.com/Kozea/WeasyPrint/issues/2184>`_:
Make items overflowing grid wrap to the next row/column
* `2187 <https://github.com/Kozea/WeasyPrint/issues/2187>`_:
Don’t append useless tracks when grid elements are positioned

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

62.2

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

Released on 2024-06-04.

Features:

* `2142 <https://github.com/Kozea/WeasyPrint/issues/2142>`_,
`2162 <https://github.com/Kozea/WeasyPrint/pull/2162>`_:
Support grid-auto-flow: column, with financial support from Menutech

Bug fixes:

* `2167 <https://github.com/Kozea/WeasyPrint/issues/2167>`_:
Fix space added by CSS gap at the end
* `2134 <https://github.com/Kozea/WeasyPrint/issues/2134>`_:
Remove absolute placeholders from discarded content
* `2154 <https://github.com/Kozea/WeasyPrint/issues/2154>`_:
Don’t crash when grid items have auto margins
* `8cdd66f <https://github.com/Kozea/WeasyPrint/commit/8cdd66f>`_:
Fix CSS nesting for nested selectors with comma
* `3359db5 <https://github.com/Kozea/WeasyPrint/commit/3359db5>`_:
Fix and test grid shorthand
* `82deda4 <https://github.com/Kozea/WeasyPrint/commit/82deda4>`_:
Fix wrong resume_at for split floats
* `ff2acf1 <https://github.com/Kozea/WeasyPrint/commit/ff2acf1>`_:
Ensure that gradient size is positive to please some PDF readers

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

62.1

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

Released on 2024-05-06.

Bug fixes:

* `2144 <https://github.com/Kozea/WeasyPrint/issues/2144>`_,
`2149 <https://github.com/Kozea/WeasyPrint/pull/2149>`_:
Avoid broken fonts when generating multiple documents
* `c10c6892 <https://github.com/Kozea/WeasyPrint/commit/c10c6892>`_:
Display at least one grid row on empty pages
* `2146 <https://github.com/Kozea/WeasyPrint/issues/2146>`_:
Don’t crash when flex container’s parent’s height is auto

Contributors:

* Guillaume Ayoub
* Claudius Ellsel

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

62.0

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

Released on 2024-04-30.

Dependencies:

* Python 3.9+ is now needed, Python 3.7 and 3.8 are not supported anymore
* pydyf 0.10.0+ is now needed
* tinycss2 1.3.0+ is now needed

Features:

* `543 <https://github.com/Kozea/WeasyPrint/issues/543>`_,
`2121 <https://github.com/Kozea/WeasyPrint/pull/2121>`_:
Support CSS Grid layout
* `2124 <https://github.com/Kozea/WeasyPrint/issues/2124>`_,
`2125 <https://github.com/Kozea/WeasyPrint/pull/2125>`_:
Support border-image-* properties
* `2084 <https://github.com/Kozea/WeasyPrint/issues/2084>`_,
`2077 <https://github.com/Kozea/WeasyPrint/pull/2077>`_:
Support CSS nesting
* `2101 <https://github.com/Kozea/WeasyPrint/issues/2101>`_:
Support HTML maxlength attribute for form fields
* `2095 <https://github.com/Kozea/WeasyPrint/pull/2095>`_:
Apply overflow to replaced boxes
* `245e4f5 <https://github.com/Kozea/WeasyPrint/commit/245e4f5>`_:
Add support of PDF/A-?u

Bug fixes:

* `2136 <https://github.com/Kozea/WeasyPrint/issues/2136>`_:
Don’t clip aligned text in SVG
* `2135 <https://github.com/Kozea/WeasyPrint/pull/2135>`_:
Allow column-direction flex containers to use percentage-based heights
* `2128 <https://github.com/Kozea/WeasyPrint/issues/2128>`_:
Don’t crash when a FontConfig object is destroyed early
* `2079 <https://github.com/Kozea/WeasyPrint/issues/2079>`_:
Fix executable file for some Windows versions
* `2131 <https://github.com/Kozea/WeasyPrint/issues/2131>`_:
Fix alpha for images before/after transparent text
* `2111 <https://github.com/Kozea/WeasyPrint/issues/2111>`_:
Handle auto and none values for CSS quotes property
* `2103 <https://github.com/Kozea/WeasyPrint/issues/2103>`_:
Don’t crash with overconstrained columns
* `2100 <https://github.com/Kozea/WeasyPrint/issues/2100>`_:
Fix rounding error when detecting overflows
* `2093 <https://github.com/Kozea/WeasyPrint/issues/2093>`_,
`2097 <https://github.com/Kozea/WeasyPrint/issues/2097>`_,
`2094 <https://github.com/Kozea/WeasyPrint/pull/2094>`_:
Mark use of md5() and sha1() as not for security
* `1956 <https://github.com/Kozea/WeasyPrint/issues/1956>`_,
`2087 <https://github.com/Kozea/WeasyPrint/pull/2087>`_:
Use CSS table module level 3 to compute widths
* `2086 <https://github.com/Kozea/WeasyPrint/pull/2086>`_:
Fix selects with empty values displaying None
* `1112 <https://github.com/Kozea/WeasyPrint/issues/1112>`_,
`2082 <https://github.com/Kozea/WeasyPrint/issues/2082>`_,
`2085 <https://github.com/Kozea/WeasyPrint/pull/2085>`_:
Fix computation for outer min-content width for table cells
* `016bd81 <https://github.com/Kozea/WeasyPrint/commit/016bd81>`_:
Fix many different bugs with SVG markers

Performance:

* `2130 <https://github.com/Kozea/WeasyPrint/issues/2130>`_:
Cache font key instead of whole font content

Documentation:

* `2108 <https://github.com/Kozea/WeasyPrint/pull/2108>`_:
Update documentation about CSS leader() function

Contributors:

* Guillaume Ayoub
* Lucie Anglade
* Xavid Pretzer
* kygoh
* Germain Gueutier
* Vagner José Nicolodi

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Simon Sapin
* René Fritz
* TrainingSparkle
* Healthchecks.io
* Docraptor
* Yanal-Yvez Fargialla
* Douwe van Loenen
* Morntag
* Xavid

61.2

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

Released on 2024-03-08.

**This is a security update.**

We strongly recommend to upgrade WeasyPrint to the latest version if you use
WeasyPrint 61.0 or 61.1. Older versions are not impacted.

Security:

- Always use URL fetcher for attachments

Contributors:

* Guillaume Ayoub
* Ilia Novoselov

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* René Fritz
* Simon Sapin
* Arcanite
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Morntag
* NBCO

61.1

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

Released on 2024-02-26.

Bug fixes:

- `2075 <https://github.com/Kozea/WeasyPrint/issues/2075>`_:
Use default value when variable is not defined
- `2070 <https://github.com/Kozea/WeasyPrint/issues/2070>`_:
Don’t crash when rendering SVGs with non-text a children
- Don’t crash when SVG file can’t be rendered

Documentation:

- `2067 <https://github.com/Kozea/WeasyPrint/pull/2067>`_:
Suggest "dnf" instead of "yum" to install Fedora packages
- Improve documentation for Windows
- Fix required version of TinyCSS2

Contributors:

* Guillaume Ayoub
* Felix Schwarz
* Lucie Anglade

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* René Fritz
* Simon Sapin
* Arcanite
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Morntag
* NBCO

61.0

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

Released on 2024-02-12.

Python API:

* ``DocumentMetadata.attachments`` is now a list of ``Attachment`` objects, not
a list of ``(url, description)`` tuples.

New features:

* `1219 <https://github.com/Kozea/WeasyPrint/issues/1219>`_,
`2017 <https://github.com/Kozea/WeasyPrint/pull/2017>`_:
Support var() in shorthand and multiple-value functions
* `1986 <https://github.com/Kozea/WeasyPrint/issues/1986>`_:
Support percentages for opacity
* `2050 <https://github.com/Kozea/WeasyPrint/pull/2050>`_:
Build executable file for Windows
* `2000 <https://github.com/Kozea/WeasyPrint/pull/2000>`_:
Support select fields
* `1993 <https://github.com/Kozea/WeasyPrint/issues/1993>`_:
Handle background-attachment: fixed to cover the whole page
* `2023 <https://github.com/Kozea/WeasyPrint/issues/2023>`_,
`2022 <https://github.com/Kozea/WeasyPrint/pull/2022>`_:
Allow text-based file objects for HTML and CSS classes
* `2014 <https://github.com/Kozea/WeasyPrint/pull/2014>`_:
Remove warnings for PDF/A and PDF/UA compatibility

Bug fixes:

* `2052 <https://github.com/Kozea/WeasyPrint/issues/2052>`_,
`1869 <https://github.com/Kozea/WeasyPrint/pull/1869>`_:
Handle attachments for PDF/A documents
* `2013 <https://github.com/Kozea/WeasyPrint/issues/2013>`_,
`2051 <https://github.com/Kozea/WeasyPrint/pull/2051>`_:
Apply margin to running tables
* `1278 <https://github.com/Kozea/WeasyPrint/issues/1278>`_,
`1884 <https://github.com/Kozea/WeasyPrint/pull/1884>`_:
Draw collapsed borders of running tables
* `2029 <https://github.com/Kozea/WeasyPrint/issues/2029>`_:
Fix page counter in non-root absolute boxes
* `2043 <https://github.com/Kozea/WeasyPrint/pull/2043>`_:
Fix text-anchor on SVG tspan elements
* `1968 <https://github.com/Kozea/WeasyPrint/issues/1968>`_,
`2039 <https://github.com/Kozea/WeasyPrint/pull/2039>`_:
Use cell's border-height to calculate table row height
* `2030 <https://github.com/Kozea/WeasyPrint/issues/2030>`_:
Ensure that bounding box is set to invisible text tags
* `2040 <https://github.com/Kozea/WeasyPrint/issues/2040>`_,
`2041 <https://github.com/Kozea/WeasyPrint/pull/2041>`_:
Don’t crash on malformed URLs
* `2026 <https://github.com/Kozea/WeasyPrint/issues/2026>`_:
Don’t break pages when fixed-height elements don’t overflow page
* `2038 <https://github.com/Kozea/WeasyPrint/issues/2038>`_:
Don’t mix original streams when drawing transparent text
* `2016 <https://github.com/Kozea/WeasyPrint/issues/2016>`_:
Avoid duplication when breaking out-of-flow boxes
* `2012 <https://github.com/Kozea/WeasyPrint/issues/2012>`_:
Don’t crash when CSS properties have no value
* `2010 <https://github.com/Kozea/WeasyPrint/issues/2010>`_,
`1287 <https://github.com/Kozea/WeasyPrint/issues/1287>`_:
Fix many corner cases with CSS variables
* `1996 <https://github.com/Kozea/WeasyPrint/issues/1996>`_:
Don’t crash when drawing groove/ridge collapsed borders
* `1982 <https://github.com/Kozea/WeasyPrint/issues/1982>`_:
Fix SVG markers size, position and drawing

Documentation:

* `2021 <https://github.com/Kozea/WeasyPrint/issues/2021>`_,
`2048 <https://github.com/Kozea/WeasyPrint/pull/2048>`_:
Replace non-virtualenv installation instructions with distribution packages

Contributors:

* Guillaume Ayoub
* kygoh
* Lucie Anglade
* Timo Ramsauer
* Alexander Gitter
* Michael Lisitsa
* Vagner José Nicolodi
* Manolis Stamatogiannakis
* Pascal de Bruijn
* Viktor Shevtsov
* Eduardo Gonzalez
* Kesara Rathnayake

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* René Fritz
* Simon Sapin
* Arcanite
* TrainingSparkle
* Healthchecks.io
* Hammerbacher
* Docraptor
* Yanal-Yvez Fargialla
* Morntag
* NBCO

60.2

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

Released on 2023-12-11.

Bug fixes:

* `1982 <https://github.com/Kozea/WeasyPrint/issues/1982>`_:
Fix SVG markers size, position and drawing
* `23cfc775 <https://github.com/Kozea/WeasyPrint/commit/23cfc775>`_:
Draw background behind absolutely positioned replaced boxes
* `fe2f0c69 <https://github.com/Kozea/WeasyPrint/commit/fe2f0c69>`_:
Don’t crash with bitmap fonts with no "glyf" table
* `14605225 <https://github.com/Kozea/WeasyPrint/commit/14605225>`_:
Improve SVG text-anchor attribute

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Nicola Auchmuty
* Syslifters
* Hammerbacher
* TrainingSparkle
* Daniel Kucharski
* Healthchecks.io
* Yanal-Yvez Fargialla
* WakaTime
* Paheko
* Synapsium
* DocRaptor

60.1

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

Released on 2023-09-29.

Bug fixes:

* `1973 <https://github.com/Kozea/WeasyPrint/issues/1973>`_:
Fix crash caused by wrong UTF-8 indices

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Nicola Auchmuty
* Syslifters
* Hammerbacher
* TrainingSparkle
* Daniel Kucharski
* Healthchecks.io
* Yanal-Yvez Fargialla
* WakaTime
* Paheko
* Synapsium
* DocRaptor

60.0

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

Released on 2023-09-25.

New features:

* `1903 <https://github.com/Kozea/WeasyPrint/issues/1903>`_:
Print form fields
* `1922 <https://github.com/Kozea/WeasyPrint/pull/1922>`_:
Add support for textLength and lengthAdjust in SVG text elements
* `1965 <https://github.com/Kozea/WeasyPrint/issues/1965>`_:
Handle <wbr> tag
* `1970 <https://github.com/Kozea/WeasyPrint/pull/1970>`_:
Handle y offset of glyphs
* `1909 <https://github.com/Kozea/WeasyPrint/issues/1909>`_:
Add a --timeout option

Bug fixes:

* `1887 <https://github.com/Kozea/WeasyPrint/pull/1887>`_:
Fix footnote-call displayed incorrectly for some fonts
* `1890 <https://github.com/Kozea/WeasyPrint/pull/1890>`_:
Fix page-margin boxes layout algorithm
* `1908 <https://github.com/Kozea/WeasyPrint/pull/1908>`_:
Fix IndexError when rendering PDF version 1.4
* `1906 <https://github.com/Kozea/WeasyPrint/issues/1906>`_:
Apply text transformations to first-letter pseudo elements
* `1915 <https://github.com/Kozea/WeasyPrint/pull/1915>`_:
Avoid footnote appearing before its call
* `1934 <https://github.com/Kozea/WeasyPrint/pull/1934>`_:
Fix balance before "column-span: all"
* `1935 <https://github.com/Kozea/WeasyPrint/issues/1935>`_:
Only draw required glyph with OpenType-SVG fonts
* `1595 <https://github.com/Kozea/WeasyPrint/issues/1595>`_:
Don’t draw clipPath when defined after reference
* `1895 <https://github.com/Kozea/WeasyPrint/pull/1895>`_:
Don’t ignore min-width when computing cell size
* `1899 <https://github.com/Kozea/WeasyPrint/pull/1899>`_:
Fix named pages inheritance
* `1936 <https://github.com/Kozea/WeasyPrint/pull/1936>`_:
Avoid page breaks caused by children of overflow hidden boxes
* `1943 <https://github.com/Kozea/WeasyPrint/issues/1943>`_:
Use bleed area for page’s painting area
* `1946 <https://github.com/Kozea/WeasyPrint/issues/1946>`_:
Use margin box of children to define available width for leaders

Contributors:

* Guillaume Ayoub
* Sahil Rohilla
* Azharuddin Syed
* kygoh
* Andy Lenards
* Gaurav Samudra
* Michael Wedl
* Lucie Anglade
* Obeida Shamoun
* Evgeniy Krysanov

Backers and sponsors:

* Spacinov
* Kobalt
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Nicola Auchmuty
* Syslifters
* Hammerbacher
* TrainingSparkle
* Daniel Kucharski
* Healthchecks.io
* Yanal-Yvez Fargialla
* WakaTime
* Paheko
* Synapsium
* DocRaptor

59.0

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

Released on 2023-05-11.

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

Bug fixes:

* `1864 <https://github.com/Kozea/WeasyPrint/issues/1864>`_:
Handle overflow for svg and symbol tags in SVG images
* `1867 <https://github.com/Kozea/WeasyPrint/pull/1867>`_:
Remove duplicate compression of attachments
* `d0ad5c1 <https://github.com/Kozea/WeasyPrint/commit/d0ad5c1>`_:
Override use tag children instead of drawing their references
* `93df1a5 <https://github.com/Kozea/WeasyPrint/commit/93df1a5>`_:
Don’t resize the same image twice when the --dpi option is set
* `1874 <https://github.com/Kozea/WeasyPrint/pull/1874>`_:
Drawn underline and overline behind text

Contributors:

* Guillaume Ayoub
* Timo Ramsauer
* Alexander Mankuta

Backers and sponsors:

* Castedo Ellerman
* Kobalt
* Spacinov
* Grip Angebotssoftware
* Crisp BV
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Moritz Mahringer
* Yanal-Yvez Fargialla
* Piotr Horzycki
* Healthchecks.io
* TrainingSparkle
* Hammerbacher
* Synapsium

59.0b1

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

Released on 2023-04-14.

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

Command-line API:

* The ``--optimize-size`` option and its short equivalent ``-O`` have been
deprecated. To activate or deactivate different size optimizations, you can
now use:

* ``--uncompressed-pdf``,
* ``--optimize-images``,
* ``--full-fonts``,
* ``--hinting``,
* ``--dpi <resolution>``, and
* ``--jpeg-quality <quality>``.

* A new ``--cache-folder <folder>`` option has been added to store temporary
data in the given folder on the disk instead of keeping them in memory.

Python API:

* Global rendering options are now given in ``**options`` instead of dedicated
parameters, with slightly different names. It means that the signature of the
``HTML.render()``, ``HTML.write_pdf()`` and ``Document.write_pdf()`` has
changed. Here are the steps to port your Python code to v59.0:

1. Use named parameters for these functions, not positioned parameters.
2. Rename some the parameters:

  * ``image_cache`` becomes ``cache`` (see below),
  * ``identifier`` becomes ``pdf_identifier``,
  * ``variant`` becomes ``pdf_variant``,
  * ``version`` becomes ``pdf_version``,
  * ``forms`` becomes ``pdf_forms``.

* The ``optimize_size`` parameter of ``HTML.render()``, ``HTML.write_pdf()``
and ``Document()`` has been removed and will be ignored. You can now use the
``uncompressed_pdf``, ``full_fonts``, ``hinting``, ``dpi`` and
``jpeg_quality`` parameters that are included in ``**options``.

* The ``cache`` parameter can be included in ``**options`` to replace
``image_cache``. If it is a dictionary, this dictionary will be used to store
temporary data in memory, and can be even shared between multiple documents.
If it’s a folder Path or string, WeasyPrint stores temporary data in the
given temporary folder on disk instead of keeping them in memory.

New features:

* `1853 <https://github.com/Kozea/WeasyPrint/pull/1853>`_,
`1854 <https://github.com/Kozea/WeasyPrint/issues/1854>`_:
Reduce PDF size, with financial support from Code & Co.
* `1824 <https://github.com/Kozea/WeasyPrint/issues/1824>`_,
`1829 <https://github.com/Kozea/WeasyPrint/pull/1829>`_:
Reduce memory use for images
* `1858 <https://github.com/Kozea/WeasyPrint/issues/1858>`_:
Add an option to keep hinting information in embedded fonts

Bug fixes:

* `1855 <https://github.com/Kozea/WeasyPrint/issues/1855>`_:
Fix position of emojis in justified text
* `1852 <https://github.com/Kozea/WeasyPrint/issues/1852>`_:
Don’t crash when line can be split before trailing spaces
* `1843 <https://github.com/Kozea/WeasyPrint/issues/1843>`_:
Fix syntax of dates in metadata
* `1827 <https://github.com/Kozea/WeasyPrint/issues/1827>`_,
`1832 <https://github.com/Kozea/WeasyPrint/pull/1832>`_:
Fix word-spacing problems with nested tags

Documentation:

* `1841 <https://github.com/Kozea/WeasyPrint/issues/1841>`_:
Add a paragraph about unsupported calc() function

Contributors:

* Guillaume Ayoub
* Lucie Anglade
* Alex Ch
* whi_ne
* Jonas Castro

Backers and sponsors:

* Castedo Ellerman
* Kobalt
* Spacinov
* Grip Angebotssoftware
* Crisp BV
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Moritz Mahringer
* Yanal-Yvez Fargialla
* Piotr Horzycki
* Healthchecks.io
* TrainingSparkle
* Hammerbacher
* Synapsium

58.1

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

Released on 2023-03-07.

Bug fixes:

* `1815 <https://github.com/Kozea/WeasyPrint/issues/1815>`_:
Fix bookmarks coordinates
* `1822 <https://github.com/Kozea/WeasyPrint/issues/1822>`_,
`1823 <https://github.com/Kozea/WeasyPrint/pull/1823>`_:
Fix vertical positioning for absolute replaced elements

Documentation:

* `1814 <https://github.com/Kozea/WeasyPrint/pull/1814>`_:
Fix broken link pointing to samples

Contributors:

* Guillaume Ayoub
* Jonas Castro
* Lucie Anglade
* Menelaos Kotoglou

Backers and sponsors:

* Kobalt
* Grip Angebotssoftware
* Spacinov
* Crisp BV
* Castedo Ellerman
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Moritz Mahringer
* Yanal-Yvez Fargialla
* Piotr Horzycki
* Healthchecks.io
* Hammerbacher
* TrainingSparkle
* Synapsium

58.0

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

Released on 2023-02-17.

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

Bug fixes:

* `1807 <https://github.com/Kozea/WeasyPrint/issues/1807>`_:
Don’t crash when out-of-flow box is split in out-of-flow parent
* `1806 <https://github.com/Kozea/WeasyPrint/issues/1806>`_:
Don’t crash when fixed elements aren’t displayed yet in aborted line
* `1809 <https://github.com/Kozea/WeasyPrint/issues/1809>`_:
Fix background drawing for out-of-the-page transformed boxes

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Kobalt
* Grip Angebotssoftware
* Crisp BV
* Spacinov
* Castedo Ellerman
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Moritz Mahringer
* Yanal-Yvez Fargialla
* Piotr Horzycki
* Healthchecks.io

58.0b1

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

Released on 2023-02-03.

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

New features:

* `61 <https://github.com/Kozea/WeasyPrint/issues/61>`_,
`1796 <https://github.com/Kozea/WeasyPrint/pull/1796>`_:
Support PDF forms, with financial support from Personalkollen
* `1173 <https://github.com/Kozea/WeasyPrint/issues/1173>`_:
Add style for form fields

Bug fixes:

* `1777 <https://github.com/Kozea/WeasyPrint/issues/1777>`_:
Detect JPEG/MPO images as normal JPEG files
* `1771 <https://github.com/Kozea/WeasyPrint/pull/1771>`_:
Improve SVG gradients

Contributors:

* Guillaume Ayoub
* Lucie Anglade

Backers and sponsors:

* Kobalt
* Grip Angebotssoftware
* Crisp BV
* Spacinov
* Castedo Ellerman
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* NCC Group
* René Fritz
* Moritz Mahringer
* Yanal-Yvez Fargialla
* Piotr Horzycki
* Healthchecks.io

57.2

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

Released on 2022-12-23.

Bug fixes:

* `0f2e377 <https://github.com/Kozea/WeasyPrint/commit/0f2e377>`_:
Print annotations with PDF/A
* `0e9426f <https://github.com/Kozea/WeasyPrint/commit/0e9426f>`_:
Hide annotations with PDF/UA
* `1764 <https://github.com/Kozea/WeasyPrint/issues/1764>`_:
Use reference instead of stream for annotation appearance stream
* `1783 <https://github.com/Kozea/WeasyPrint/pull/1783>`_:
Fix multiple font weights for font-face declarations

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Tom Pohl
* Castedo Ellerman
* Moritz Mahringer
* Piotr Horzycki
* Gábor Nyers
* Sidharth Kapur

57.1

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

Released on 2022-11-04.

Dependencies:

* `1754 <https://github.com/Kozea/WeasyPrint/pull/1754>`_:
Pillow 9.1.0 is now needed

Bug fixes:

* `1756 <https://github.com/Kozea/WeasyPrint/pull/1756>`_:
Fix rem font size for SVG images
* `1755 <https://github.com/Kozea/WeasyPrint/issues/1755>`_:
Keep format when transposing images
* `1753 <https://github.com/Kozea/WeasyPrint/issues/1753>`_:
Don’t use deprecated ``read_text`` function when ``files`` is available
* `1741 <https://github.com/Kozea/WeasyPrint/issues/1741>`_:
Generate better manpage
* `1747 <https://github.com/Kozea/WeasyPrint/issues/1747>`_:
Correctly set target counters in pages’ absolute elements
* `1748 <https://github.com/Kozea/WeasyPrint/issues/1748>`_:
Always set font size when font is changed in line
* `2b05137 <https://github.com/Kozea/WeasyPrint/commit/2b05137>`_:
Fix stability of font identifiers

Documentation:

* `1750 <https://github.com/Kozea/WeasyPrint/pull/1750>`_:
Fix documentation spelling

Contributors:

* Guillaume Ayoub
* Eli Schwartz
* Mikhail Anikin
* Scott Kitterman

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Tom Pohl
* John R Ellis
* Castedo Ellerman
* Moritz Mahringer
* Gábor
* Piotr Horzycki

57.0

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

Released on 2022-10-18.

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

New features:

* `a4fc7a1 <https://github.com/Kozea/WeasyPrint/commit/a4fc7a1>`_:
Support image-orientation

Bug fixes:

* `1739 <https://github.com/Kozea/WeasyPrint/issues/1739>`_:
Set baseline on all flex containers
* `1740 <https://github.com/Kozea/WeasyPrint/issues/1740>`_:
Don’t crash when currentColor is set on root svg tag
* `1718 <https://github.com/Kozea/WeasyPrint/issues/1718>`_:
Don’t crash with empty bitmap glyphs
* `1736 <https://github.com/Kozea/WeasyPrint/issues/1736>`_:
Always use the font’s vector variant when possible
* `eef8b4d <https://github.com/Kozea/WeasyPrint/commit/eef8b4d>`_:
Always set color and state before drawing
* `1662 <https://github.com/Kozea/WeasyPrint/issues/1662>`_:
Use a stable key to store stream fonts
* `1733 <https://github.com/Kozea/WeasyPrint/issues/1733>`_:
Don’t remove attachments when adding internal anchors
* `3c4fa50 <https://github.com/Kozea/WeasyPrint/commit/3c4fa50>`_,
`c215697 <https://github.com/Kozea/WeasyPrint/commit/c215697>`_,
`d275dac <https://github.com/Kozea/WeasyPrint/commit/d275dac>`_,
`b04bfff <https://github.com/Kozea/WeasyPrint/commit/b04bfff>`_:
Fix many bugs related to PDF/UA structure

Performance:

* `dfccf1b <https://github.com/Kozea/WeasyPrint/commit/dfccf1b>`_:
Use faces as fonts dictionary keys
* `0dc12b6 <https://github.com/Kozea/WeasyPrint/commit/0dc12b6>`_:
Cache add_font to avoid calling get_face too often
* `75e17bf <https://github.com/Kozea/WeasyPrint/commit/75e17bf>`_:
Don’t call process_whitespace twice on many children
* `498d3e1 <https://github.com/Kozea/WeasyPrint/commit/498d3e1>`_:
Optimize __missing__ functions

Documentation:

* `863b3d6 <https://github.com/Kozea/WeasyPrint/commit/863b3d6>`_:
Update documentation of installation on macOS with Homebrew

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Tom Pohl
* John R Ellis
* Castedo Ellerman
* Moritz Mahringer
* Gábor
* Piotr Horzycki

57.0b1

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

Released on 2022-09-22.

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

New features:

* `1704 <https://github.com/Kozea/WeasyPrint/pull/1704>`_:
Support PDF/UA, with financial support from Novareto
* `1454 <https://github.com/Kozea/WeasyPrint/issues/1454>`_:
Support variable fonts

Bug fixes:

* `1058 <https://github.com/Kozea/WeasyPrint/issues/1058>`_:
Fix bullet position after page break, with financial support from OpenZeppelin
* `1707 <https://github.com/Kozea/WeasyPrint/issues/1707>`_:
Fix footnote positioning in multicolumn layout, with financial support from Code & Co.
* `1722 <https://github.com/Kozea/WeasyPrint/issues/1722>`_:
Handle skew transformation with only one parameter
* `1715 <https://github.com/Kozea/WeasyPrint/issues/1715>`_:
Don’t crash when images are truncated
* `1697 <https://github.com/Kozea/WeasyPrint/issues/1697>`_:
Don’t crash when attr() is used in text-decoration-color
* `1695 <https://github.com/Kozea/WeasyPrint/pull/1695>`_:
Include language information in PDF metadata
* `1612 <https://github.com/Kozea/WeasyPrint/issues/1612>`_:
Don’t lowercase letters when capitalizing text
* `1700 <https://github.com/Kozea/WeasyPrint/issues/1700>`_:
Fix crash when rendering footnote with repagination
* `1667 <https://github.com/Kozea/WeasyPrint/issues/1667>`_:
Follow EXIF metadata for image rotation
* `1669 <https://github.com/Kozea/WeasyPrint/issues/1669>`_:
Take care of floats when remvoving placeholders
* `1638 <https://github.com/Kozea/WeasyPrint/issues/1638>`_:
Use the original box when breaking waiting children

Contributors:

* Guillaume Ayoub
* Konstantin Weddige
* VeteraNovis
* Lucie Anglade

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Tom Pohl
* John R Ellis
* Moritz Mahringer
* Gábor
* Piotr Horzycki
* Andrew Ittner

56.1

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

Released on 2022-07-24.

Bug fixes:

* `1674 <https://github.com/Kozea/WeasyPrint/issues/1674>`_:
Follow max-height on footnot area, with financial support from Code & Co.
* `1678 <https://github.com/Kozea/WeasyPrint/issues/1678>`_:
Fix gradients with opacity set

Contributors:

* Guillaume Ayoub
* Lucie Anglade

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki
* Andrew Ittner

56.0

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

Released on 2022-07-07.

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

New features:

* `70f9b62 <https://github.com/Kozea/WeasyPrint/commit/70f9b62>`_:
Support format 5 for bitmap glyphs

Bug fixes:

* `1666 <https://github.com/Kozea/WeasyPrint/issues/1666>`_
Fix reproducible PDF generation with embedded images
* `1668 <https://github.com/Kozea/WeasyPrint/issues/1668>`_:
Fix page:nth() selector
* `3bd9a8e <https://github.com/Kozea/WeasyPrint/commit/3bd9a8e>`_:
Don’t limit the opacity groups to the original box size
* `cb9540b <https://github.com/Kozea/WeasyPrint/commit/cb9540b>`_,
`76d174f <https://github.com/Kozea/WeasyPrint/commit/76d174f>`_,
`9ce6547 <https://github.com/Kozea/WeasyPrint/commit/9ce6547>`_:
Minor bugfixes for split table rows

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Des images et des mots
* Andreas Zettl
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki

56.0b1

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

Released on 2022-06-17.

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

Dependencies:

* pydyf 0.2.0+ is now needed

New features:

* `1660 <https://github.com/Kozea/WeasyPrint/pull/1660>`_:
Support nested line-clamp, with financial support from Expert Germany
* `1644 <https://github.com/Kozea/WeasyPrint/pull/1644>`_,
`1645 <https://github.com/Kozea/WeasyPrint/issues/1645>`_:
Support bitmap fonts, with financial support from Expert Germany
* `1651 <https://github.com/Kozea/WeasyPrint/pull/1651>`_,
`630 <https://github.com/Kozea/WeasyPrint/issues/630>`_:
Support PDF/A, with financial support from Blueshoe

Bug fixes:

* `1656 <https://github.com/Kozea/WeasyPrint/issues/1656>`_:
Fix chained variables in the same selector block
* `1028 <https://github.com/Kozea/WeasyPrint/issues/1028>`_:
Fix font weight management in font-face rules
* `1653 <https://github.com/Kozea/WeasyPrint/issues/1653>`_:
Don’t crash when font-face’s src ends with a comma
* `1650 <https://github.com/Kozea/WeasyPrint/issues/1650>`_:
Don’t check origin when URL only contains fragment
* `e38bff8 <https://github.com/Kozea/WeasyPrint/commit/e38bff8>`_:
Don’t crash when inherited SVG attributes are not set on the parent

Performance:

* `e6021da <https://github.com/Kozea/WeasyPrint/commit/e6021da>`_:
Launch tests in parallel by default

Contributors:

* Guillaume Ayoub
* aschmitz
* Lucie Anglade

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Des images et des mots
* Andreas Zettl
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki

55.0

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

Released on 2022-05-12.

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

Bug fixes:

* `1626 <https://github.com/Kozea/WeasyPrint/issues/1626>`_,
`3802f88 <https://github.com/Kozea/WeasyPrint/commit/3802f88>`_:
Fix the vertical position and available height of absolute boxes
* `9641098 <https://github.com/Kozea/WeasyPrint/commit/9641098>`_,
`e5e6b88 <https://github.com/Kozea/WeasyPrint/commit/e5e6b88>`_:
Minor fixes for multi-column layout
* `0fcc7de <https://github.com/Kozea/WeasyPrint/commit/0fcc7de>`_:
Don’t stop rendering SVG when CSS parsing fails
* `1636 <https://github.com/Kozea/WeasyPrint/pull/1636>`_:
Fix sequential footnotes that could disappear when overflowing
* `1637 <https://github.com/Kozea/WeasyPrint/issues/1637>`_:
Fix position of absolute boxes with right-to-left direction
* `1641 <https://github.com/Kozea/WeasyPrint/issues/1641>`_:
Fix relative paths for SVG files stored as data URLs

Contributors:

* Guillaume Ayoub
* aschmitz

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* Spacinov
* KontextWork
* René Fritz
* NCC Group
* Kobalt
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki

55.0b1

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

Released on 2022-04-15.

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

Dependencies:

* Python 3.7+ is now needed, Python 3.6 is not supported anymore

New features:

* `1534 <https://github.com/Kozea/WeasyPrint/pull/1534>`_:
Support ``word-break: break-all``
* `489 <https://github.com/Kozea/WeasyPrint/issues/489>`_,
`1619 <https://github.com/Kozea/WeasyPrint/pull/1619>`_:
Support column breaks
* `1553 <https://github.com/Kozea/WeasyPrint/issues/1553>`_:
Allow reproducible PDF generation

Bug fixes:

* `1007 <https://github.com/Kozea/WeasyPrint/issues/1007>`_,
`1524 <https://github.com/Kozea/WeasyPrint/pull/1524>`_:
Handle ``inherit`` in shorthand properties
* `1539 <https://github.com/Kozea/WeasyPrint/issues/1539>`_,
`1541 <https://github.com/Kozea/WeasyPrint/pull/1541>`_:
Space out no-repeat patterns
* `1554 <https://github.com/Kozea/WeasyPrint/pull/1554>`_:
Avoid invalid PDF operators when drawing SVG text
* `1564 <https://github.com/Kozea/WeasyPrint/issues/1564>`_,
`1566 <https://github.com/Kozea/WeasyPrint/pull/1566>`_,
`1570 <https://github.com/Kozea/WeasyPrint/pull/1570>`_:
Don’t output footnotes before their call sites
* `1020 <https://github.com/Kozea/WeasyPrint/issues/1020>`_,
`1597 <https://github.com/Kozea/WeasyPrint/pull/1597>`_:
Prevent infinite loops in multi-column layout
* `1512 <https://github.com/Kozea/WeasyPrint/issues/1512>`_,
`1613 <https://github.com/Kozea/WeasyPrint/pull/1613>`_:
Fix position of absolute boxes in right-to-left contexts
* `1093 <https://github.com/Kozea/WeasyPrint/issues/1093>`_:
Draw borders around absolute replaced boxes
* `984 <https://github.com/Kozea/WeasyPrint/issues/984>`_,
`1604 <https://github.com/Kozea/WeasyPrint/issues/1604>`_:
Fix skip stacks for columns
* `1621 <https://github.com/Kozea/WeasyPrint/issues/1621>`_:
Better support of nested ``text-decoration`` properties
* `fe1f3d9 <https://github.com/Kozea/WeasyPrint/commit/fe1f3d9>`_:
Fix absolute blocks in lines
* `4650b70 <https://github.com/Kozea/WeasyPrint/commit/4650b70>`_:
Clear adjoining margins when a container’s child doesn’t fit

Performance:

* `1548 <https://github.com/Kozea/WeasyPrint/pull/1548>`_:
Improve tests speed
* `3b0ae92 <https://github.com/Kozea/WeasyPrint/commit/3b0ae92>`_,
`1457 <https://github.com/Kozea/WeasyPrint/issues/1457>`_:
Improve fonts management
* `1597 <https://github.com/Kozea/WeasyPrint/pull/1597>`_:
Improve column layout speed
* `1587 <https://github.com/Kozea/WeasyPrint/pull/1587>`_,
`1607 <https://github.com/Kozea/WeasyPrint/pull/1607>`_,
`1608 <https://github.com/Kozea/WeasyPrint/pull/1608>`_:
Cache ``ch`` and ``ex`` units calculations

Contributors:

* Guillaume Ayoub
* aschmitz
* Lucie Anglade
* Christoph Kepper
* Jack Lin
* Rian McGuire

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* KontextWork
* Maykin Media
* René Fritz
* NCC Group
* Spacinov
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Kobalt
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki
* DeivGuerrero

54.3

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

Released on 2022-04-04.

Bug fixes:

* `1588 <https://github.com/Kozea/WeasyPrint/pull/1588>`_:
Support position: absolute in footnotes
* `1586 <https://github.com/Kozea/WeasyPrint/issues/1586>`_:
Fix discarded text-align values

Contributors:

* aschmitz
* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* KontextWork
* Maykin Media
* René Fritz
* NCC Group
* Spacinov
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Kobalt
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki
* DeivGuerrero

54.2

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

Released on 2022-02-27.

Bug fixes:

* `1575 <https://github.com/Kozea/WeasyPrint/issues/1575>`_:
Always store parent blocks children as lists
* `1574 <https://github.com/Kozea/WeasyPrint/issues/1574>`_,
`1559 <https://github.com/Kozea/WeasyPrint/pull/1559>`_:
Fix float rounding errors
* `1571 <https://github.com/Kozea/WeasyPrint/issues/1571>`_:
Ignore unknown glyphs
* `1561 <https://github.com/Kozea/WeasyPrint/issues/1561>`_,
`1562 <https://github.com/Kozea/WeasyPrint/issues/1562>`_:
Fix line break when breaks occur between a nbsp and an inline block
* `1560 <https://github.com/Kozea/WeasyPrint/issues/1560>`_:
Always set the child index
* `1558 <https://github.com/Kozea/WeasyPrint/issues/1558>`_:
Fix patterns with use tags

Contributors:

* Guillaume Ayoub
* Lucie Anglade
* Jack Lin
* aschmitz

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* Crisp BV
* SimonSoft
* Menutech
* KontextWork
* Maykin Media
* René Fritz
* NCC Group
* Spacinov
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Kobalt
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki
* DeivGuerrero

54.1

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

Released on 2022-01-31.

New features:

* `1547 <https://github.com/Kozea/WeasyPrint/issues/1547>`_:
Handle break-inside: avoid on tr tags

Bug fixes:

* `1540 <https://github.com/Kozea/WeasyPrint/issues/1540>`_,
`1239 <https://github.com/Kozea/WeasyPrint/issues/1239>`_:
Handle absolute children in running elements
* `1538 <https://github.com/Kozea/WeasyPrint/issues/1538>`_:
Handle invalid values in text-align
* `1536 <https://github.com/Kozea/WeasyPrint/issues/1536>`_:
Handle absolute flex boxes

Contirbutors:

* Guillaume Ayoub
* Lucie Anglade

Backers and sponsors:

* H-Net: Humanities and Social Sciences Online
* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Crisp BV
* Maykin Media
* René Fritz
* Simon Sapin
* NCC Group
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Spacinov
* Des images et des mots
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki

54.0

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

Released on 2022-01-08.

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

Bug fixes:

* `1531 <https://github.com/Kozea/WeasyPrint/issues/1531>`_:
Always use absolute paths to get hrefs in SVG
* `1523 <https://github.com/Kozea/WeasyPrint/issues/1523>`_:
Fix many rendering problems of broken tables
* `e1aee70 <https://github.com/Kozea/WeasyPrint/commit/e1aee70>`_:
Fix support of fonts with SVG emojis

Contirbutors:

* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Crisp BV
* Maykin Media
* René Fritz
* Simon Sapin
* NCC Group
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Des images et des mots
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki

54.0b1

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

Released on 2021-12-13.

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

Dependencies:

* html5lib 1.1+ is now needed.

New features:

* `1509 <https://github.com/Kozea/WeasyPrint/pull/1509>`_:
Support footnotes, with financial support from Code & Co.
* `36 <https://github.com/Kozea/WeasyPrint/issues/36>`_:
Handle parallel flows for floats, absolutes, table-cells
* `1389 <https://github.com/Kozea/WeasyPrint/pull/1389>`_:
Support ``text-align-last`` and ``text-align-all`` properties
* `1434 <https://github.com/Kozea/WeasyPrint/pull/1434>`_:
Draw SVG and PNG emojis
* `1520 <https://github.com/Kozea/WeasyPrint/pull/1520>`_:
Support ``overflow-wrap: anywhere``
* `1435 <https://github.com/Kozea/WeasyPrint/issues/1435>`_:
Add environment variable to set DLL folder on Windows

Performance:

* `1439 <https://github.com/Kozea/WeasyPrint/issues/1439>`_:
Cache SVG ``use`` tags
* `1481 <https://github.com/Kozea/WeasyPrint/pull/1481>`_:
Encode non-JPEG images as PNGs instead of JPEG2000s

Bug fixes:

* `137 <https://github.com/Kozea/WeasyPrint/issues/137>`_:
Don’t use ``text-transform`` text for content-based uses
* `1443 <https://github.com/Kozea/WeasyPrint/issues/1443>`_:
Don’t serialize and parse again inline SVG files
* `607 <https://github.com/Kozea/WeasyPrint/issues/607>`_:
Correctly handle whitespaces in bookmark labels
* `1094 <https://github.com/Kozea/WeasyPrint/issues/1094>`_:
Fix column height with ``column-span`` content
* `1473 <https://github.com/Kozea/WeasyPrint/issues/1473>`_:
Fix absolutely positioned boxes in duplicated pages
* `1491 <https://github.com/Kozea/WeasyPrint/issues/1491>`_:
Fix ``target-counter`` attribute in flex items
* `1515 <https://github.com/Kozea/WeasyPrint/issues/1515>`_,
`1508 <https://github.com/Kozea/WeasyPrint/issues/1508>`_:
Don’t draw empty glyphs
* `1499 <https://github.com/Kozea/WeasyPrint/issues/1499>`_:
Don’t crash when font size is really small

Documentation:

* `1519 <https://github.com/Kozea/WeasyPrint/issues/1519>`_:
Fix typo

Packaging:

* The source package does not include a ``setup.py`` file anymore. You can find
more information about this in
`issue 1410 <https://github.com/Kozea/WeasyPrint/issues/1410>`_.

Contirbutors:

* Guillaume Ayoub
* Lucie Anglade
* Colin Kinloch
* aschmitz
* Pablo González
* Rian McGuire

Backers and sponsors:

* Grip Angebotssoftware
* Manuel Barkhau
* SimonSoft
* Menutech
* KontextWork
* Crisp BV
* Maykin Media
* René Fritz
* Simon Sapin
* NCC Group
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Des images et des mots
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* Gábor
* Piotr Horzycki

53.4

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

Released on 2021-11-14.

Bug fixes:

* `1446 <https://github.com/Kozea/WeasyPrint/issues/1446>`_:
Fix background on pages with a bleed property
* `1455 <https://github.com/Kozea/WeasyPrint/issues/1455>`_:
Use SVG width/height as inner size when no viewBox is given
* `1469 <https://github.com/Kozea/WeasyPrint/issues/1469>`_:
Only enable letter- and word-spacing when needed
* `1471 <https://github.com/Kozea/WeasyPrint/issues/1471>`_:
Don’t display inputs with "hidden" type
* `1485 <https://github.com/Kozea/WeasyPrint/issues/1485>`_:
Allow quotes in url() syntax for SVG,
Use better approximations for font ascent and descent values in SVG
* `1486 <https://github.com/Kozea/WeasyPrint/issues/1486>`_:
Fix images embedded from multiple pages
* `1489 <https://github.com/Kozea/WeasyPrint/issues/1489>`_:
Use a better hash for fonts to avoid collisions
* `abd54c4 <https://github.com/Kozea/WeasyPrint/commit/abd54c4>`_:
Set SVG ratio when width and height are 0

Contributors:

* Guillaume Ayoub
* Lucie Anglade

Backers and sponsors:

* Grip Angebotssoftware
* SimonSoft
* Menutech
* Manuel Barkhau
* Simon Sapin
* KontextWork
* René Fritz
* Maykin Media
* NCC Group
* Crisp BV
* Des images et des mots
* Andreas Zettl
* Nathalie Gutton
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yvez Fargialla
* G. Allard
* Gábor

53.3

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

Released on 2021-09-10.

Bug fixes:

* `1431 <https://github.com/Kozea/WeasyPrint/issues/1431>`_,
`1440 <https://github.com/Kozea/WeasyPrint/issues/1440>`_:
Fix crashes and malformed PDF files
* `1430 <https://github.com/Kozea/WeasyPrint/issues/1430>`_:
Handle cx and cy in SVG rotations
* `1436 <https://github.com/Kozea/WeasyPrint/pull/1436>`_:
Fix marker-start being drawn on mid vertices

Contributors:

* Guillaume Ayoub
* Rian McGuire
* Lucie Anglade

Backers and sponsors:

* Grip Angebotssoftware
* 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

53.2

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

Released on 2021-08-27.

New features:

* `1428 <https://github.com/Kozea/WeasyPrint/issues/1428>`_:
Re-add the ``make_bookmark_tree()`` method

Bug fixes:

* `1429 <https://github.com/Kozea/WeasyPrint/issues/1429>`_:
Fix package deployed on PyPI

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

53.1

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

Released on 2021-08-22.

Bug fixes:

* `1409 <https://github.com/Kozea/WeasyPrint/issues/1409>`_:
Don’t crash when leaders are in floats
* `1414 <https://github.com/Kozea/WeasyPrint/issues/1414>`_:
Embed images once
* `1417 <https://github.com/Kozea/WeasyPrint/issues/1417>`_:
Fix crash with SVG intrinsic ratio

Documentation:

* `1422 <https://github.com/Kozea/WeasyPrint/issues/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

53.0

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

Released on 2021-07-31.

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

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 <https://github.com/Kozea/WeasyPrint/issues/1374>`_:
Support basic "clipPath" in SVG

Bug fixes:

* `1369 <https://github.com/Kozea/WeasyPrint/issues/1369>`_:
Render use path in SVG
* `1370 <https://github.com/Kozea/WeasyPrint/issues/1370>`_:
Fix fill color on use path in SVG
* `1371 <https://github.com/Kozea/WeasyPrint/issues/1371>`_:
Handle stroke-opacity and fill-opacity
* `1378 <https://github.com/Kozea/WeasyPrint/issues/1378>`_:
Fix crash with borders whose widths are in em
* `1394 <https://github.com/Kozea/WeasyPrint/issues/1394>`_:
Fix crash on draw_pattern
* `880 <https://github.com/Kozea/WeasyPrint/issues/880>`_:
Handle stacking contexts put in contexts by previous generations
* `1386 <https://github.com/Kozea/WeasyPrint/issues/1386>`_:
Catch font subsetting errors
* `1403 <https://github.com/Kozea/WeasyPrint/issues/1403>`_:
Fix how x and y attributes are handled in SVG
* `1399 <https://github.com/Kozea/WeasyPrint/issues/1399>`_,
`1401 <https://github.com/Kozea/WeasyPrint/pull/1401>`_:
Don’t crash when use tags reference non-existing element
* `1393 <https://github.com/Kozea/WeasyPrint/issues/1393>`_:
Handle font collections
* `1408 <https://github.com/Kozea/WeasyPrint/issues/1408>`_:
Handle x and y attributes in use tags

Documentation:

* `1391 <https://github.com/Kozea/WeasyPrint/issues/1391>`_,
`1405 <https://github.com/Kozea/WeasyPrint/pull/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

53.0b2

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

Released on 2021-05-30.

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

New features:

* `359 <https://github.com/Kozea/WeasyPrint/issues/359>`_:
Embed full sets of fonts in PDF

Bug fixes:

* `1345 <https://github.com/Kozea/WeasyPrint/issues/1345>`_:
Fix position of SVG use tags
* `1346 <https://github.com/Kozea/WeasyPrint/pull/1346>`_:
Handle "stroke-dasharray: none"
* `1352 <https://github.com/Kozea/WeasyPrint/issues/1352>`_,
`1358 <https://github.com/Kozea/WeasyPrint/pull/1358>`_:
Sort link target identifiers
* `1357 <https://github.com/Kozea/WeasyPrint/issues/1357>`_:
Fix font information
* `1362 <https://github.com/Kozea/WeasyPrint/issues/1362>`_:
Handle visibility and display properties in SVG
* `1365 <https://github.com/Kozea/WeasyPrint/issues/1365>`_:
Cascade inherited attributes for use tags
* `1366 <https://github.com/Kozea/WeasyPrint/issues/1366>`_:
Correctly handle style attributes in SVG
* `1367 <https://github.com/Kozea/WeasyPrint/issues/1367>`_:
Include line stroke in box bounding

Documentation:

* `1341 <https://github.com/Kozea/WeasyPrint/pull/1341>`_:
Fix typos

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

53.0b1

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

Released on 2021-04-22.

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

Dependencies:

* This version uses its own PDF generator instead of Cairo. Rendering may be
different for text, gradients, SVG images…
* Packaging is now done with Flit.

New features:

* `1328 <https://github.com/Kozea/WeasyPrint/pull/1328>`_:
Add ISO and JIS paper sizes
* `1309 <https://github.com/Kozea/WeasyPrint/pull/1309>`_:
Leader support, with financial support from Simonsoft

Bug fixes:

* `504 <https://github.com/Kozea/WeasyPrint/issues/504>`_:
Fix rendering bugs with PDF gradients
* `606 <https://github.com/Kozea/WeasyPrint/issues/606>`_:
Fix rounding errors on PDF dimensions
* `1264 <https://github.com/Kozea/WeasyPrint/issues/1264>`_:
Include witdh/height when calculating auto margins of absolute boxes
* `1191 <https://github.com/Kozea/WeasyPrint/issues/1191>`_:
Don’t try to get an earlier page break between columns
* `1235 <https://github.com/Kozea/WeasyPrint/issues/1235>`_:
Include padding, border, padding when calculating inline-block width
* `1199 <https://github.com/Kozea/WeasyPrint/issues/1199>`_:
Fix kerning issues with small fonts

Documentation:

* `1298 <https://github.com/Kozea/WeasyPrint/pull/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

52.5

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

Released on 2021-04-17.

Bug fixes:

* `1336 <https://github.com/Kozea/WeasyPrint/issues/1336>`_:
Fix text breaking exception
* `1318 <https://github.com/Kozea/WeasyPrint/issues/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
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant