Skip to content

Commit aefe4af

Browse files
committed
Version 66.0
1 parent 45344e1 commit aefe4af

File tree

3 files changed

+123
-4
lines changed

3 files changed

+123
-4
lines changed

docs/changelog.rst

Lines changed: 120 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,125 @@ Changelog
22
=========
33

44

5+
Version 66.0
6+
------------
7+
8+
Released on 2025-07-24.
9+
10+
Features:
11+
12+
* `#2475 <https://github.com/Kozea/WeasyPrint/pull/2475>`_:
13+
Add support for 'lh' and 'rlh' units
14+
* `#2432 <https://github.com/Kozea/WeasyPrint/issues/2432>`_,
15+
`#2437 <https://github.com/Kozea/WeasyPrint/pull/2437>`_:
16+
Report footnotes when text overflows because of orphans, with financial support from Code & Co.
17+
* `#2256 <https://github.com/Kozea/WeasyPrint/issues/2256>`_,
18+
`#2466 <https://github.com/Kozea/WeasyPrint/pull/2466>`_:
19+
Handle transform-origin in SVG
20+
* `#2445 <https://github.com/Kozea/WeasyPrint/pull/2445>`_:
21+
Add parameter to have additional HTTP headers for url_fetcher
22+
23+
Bug fixes:
24+
25+
* `#2471 <https://github.com/Kozea/WeasyPrint/pull/2471>`_,
26+
`#2506 <https://github.com/Kozea/WeasyPrint/pull/2506>`_,
27+
`#2500 <https://github.com/Kozea/WeasyPrint/issues/2500>`_,
28+
`#2460 <https://github.com/Kozea/WeasyPrint/issues/2460>`_,
29+
`#2363 <https://github.com/Kozea/WeasyPrint/issues/2363>`_,
30+
`#2470 <https://github.com/Kozea/WeasyPrint/issues/2470>`_,
31+
`#1872 <https://github.com/Kozea/WeasyPrint/issues/1872>`_,
32+
`#2153 <https://github.com/Kozea/WeasyPrint/issues/2153>`_,
33+
`#1838 <https://github.com/Kozea/WeasyPrint/issues/1838>`_,
34+
`#1837 <https://github.com/Kozea/WeasyPrint/issues/1837>`_,
35+
`#1784 <https://github.com/Kozea/WeasyPrint/issues/1784>`_,
36+
`#1835 <https://github.com/Kozea/WeasyPrint/issues/1835>`_,
37+
`#2444 <https://github.com/Kozea/WeasyPrint/issues/2444>`_,
38+
`#2497 <https://github.com/Kozea/WeasyPrint/issues/2497>`_,
39+
`#2505 <https://github.com/Kozea/WeasyPrint/issues/2505>`_,
40+
`#2503 <https://github.com/Kozea/WeasyPrint/issues/2503>`_,
41+
`#1836 <https://github.com/Kozea/WeasyPrint/issues/1836>`_,
42+
`#2467 <https://github.com/Kozea/WeasyPrint/issues/2467>`_:
43+
Improve PDF/UA support, with financial support from NLnet
44+
* `#2425 <https://github.com/Kozea/WeasyPrint/pull/2425>`_,
45+
`#1557 <https://github.com/Kozea/WeasyPrint/issues/1557>`_:
46+
Improve position of outside markers
47+
* `#2409 <https://github.com/Kozea/WeasyPrint/pull/2409>`_,
48+
`#2265 <https://github.com/Kozea/WeasyPrint/issues/2265>`_:
49+
Draw circles instead of rectangles when drawing dotted borders
50+
* `#2416 <https://github.com/Kozea/WeasyPrint/pull/2416>`_,
51+
`#2270 <https://github.com/Kozea/WeasyPrint/issues/2270>`_:
52+
Correctly split words for automatic hyphenation
53+
* `#2439 <https://github.com/Kozea/WeasyPrint/pull/2439>`_,
54+
`#2426 <https://github.com/Kozea/WeasyPrint/issues/2426>`_:
55+
Don’t rely on URL protocols outside URL fetcher function
56+
* `#2433 <https://github.com/Kozea/WeasyPrint/pull/2433>`_:
57+
Disable style for deprecated outline algorithm
58+
* `#2447 <https://github.com/Kozea/WeasyPrint/pull/2447>`_,
59+
`#2441 <https://github.com/Kozea/WeasyPrint/issues/2441>`_,
60+
`#2448 <https://github.com/Kozea/WeasyPrint/issues/2448>`_:
61+
Improve min- and max-content calculation, with financial support from Menutech
62+
* `#2454 <https://github.com/Kozea/WeasyPrint/pull/2454>`_,
63+
`#2442 <https://github.com/Kozea/WeasyPrint/issues/2442>`_,
64+
`#2449 <https://github.com/Kozea/WeasyPrint/issues/2449>`_:
65+
Minor fixes for flex layout
66+
* `#2473 <https://github.com/Kozea/WeasyPrint/pull/2473>`_,
67+
`#2459 <https://github.com/Kozea/WeasyPrint/issues/2459>`_:
68+
Include out-of-flow boxes in page layout progress, with financial support from Pathfindr
69+
* `#2458 <https://github.com/Kozea/WeasyPrint/pull/2458>`_:
70+
Replace deprecated warn logger function
71+
* `#2494 <https://github.com/Kozea/WeasyPrint/pull/2494>`_,
72+
`#1856 <https://github.com/Kozea/WeasyPrint/issues/1856>`_:
73+
Fix bug with bottom margins in columns
74+
* `#2435 <https://github.com/Kozea/WeasyPrint/issues/2435>`_:
75+
Make footnote calls inherit from footnotes
76+
* `#2484 <https://github.com/Kozea/WeasyPrint/issues/2484>`_,
77+
`#2456 <https://github.com/Kozea/WeasyPrint/issues/2456>`_:
78+
Allow to avoid page breaks after table-row-group elements
79+
* `#2450 <https://github.com/Kozea/WeasyPrint/issues/2450>`_:
80+
Draw background and borders for relative grid containers
81+
* `#2453 <https://github.com/Kozea/WeasyPrint/issues/2453>`_:
82+
Don’t advance position_y for collapsed margins of discarded children
83+
* `#2493 <https://github.com/Kozea/WeasyPrint/issues/2493>`_:
84+
Fix endless loop with CSS variables referencing each other
85+
* `#2502 <https://github.com/Kozea/WeasyPrint/issues/2502>`_:
86+
Ignore bottom margin when calculating footnote overflow
87+
88+
Contributors:
89+
90+
* Guillaume Ayoub
91+
* Lucie Anglade
92+
* Alvaro Garcia Fernandez
93+
* Emmanuel Ferdman
94+
* Gabriel Corona
95+
* Markus Mohanty
96+
* Luca Vercelli
97+
* Tre Huang
98+
99+
Backers and sponsors:
100+
101+
* Spacinov
102+
* Kobalt
103+
* Grip Angebotssoftware
104+
* Syslifters
105+
* Simon Sapin
106+
* Manuel Barkhau
107+
* Simonsoft
108+
* Menutech
109+
* KontextWork
110+
* TrainingSparkle
111+
* Healthchecks.io
112+
* Hammerbacher
113+
* DocRaptor
114+
* Yanal-Yves Fargialla
115+
* Method B
116+
* FieldHub
117+
* Morntag
118+
* Xavid
119+
* Kai DeLorenzo
120+
* Charlie S.
121+
* Alan Villalobos
122+
123+
5124
Version 65.1
6125
------------
7126

@@ -65,7 +184,7 @@ Dependencies:
65184
Features:
66185

67186
* `#1665 <https://github.com/Kozea/WeasyPrint/issues/1665>`_:
68-
Support gap properties in Flex layout, with financial support from NLnet.
187+
Support gap properties in Flex layout, with financial support from NLnet
69188
* `#378 <https://github.com/Kozea/WeasyPrint/issues/378>`_,
70189
`#2405 <https://github.com/Kozea/WeasyPrint/pull/2405>`_:
71190
Handle @font-face unicode-range

weasyprint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import tinycss2
1616
import tinyhtml5
1717

18-
VERSION = __version__ = '65.1'
18+
VERSION = __version__ = '66.0'
1919

2020
#: Default values for command-line and Python API options. See
2121
#: :func:`__main__.main` to learn more about specific options for

weasyprint/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def default_url_fetcher(url, timeout=10, ssl_context=None, http_headers=None):
190190
The number of seconds before HTTP requests are dropped.
191191
:param ssl.SSLContext ssl_context:
192192
An SSL context used for HTTP requests.
193-
:param dict http_headers
194-
A dictionary of additional HTTP headers used for HTTP requests.
193+
:param dict http_headers:
194+
Additional HTTP headers used for HTTP requests.
195195
:raises: An exception indicating failure, e.g. :obj:`ValueError` on
196196
syntactically invalid URL.
197197
:returns: A :obj:`dict` with the following keys:

0 commit comments

Comments
 (0)