Skip to content

Commit 94af598

Browse files
committed
Version 67.0
1 parent 4a682db commit 94af598

File tree

3 files changed

+161
-2
lines changed

3 files changed

+161
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WebKit or Gecko. The CSS layout engine is written in Python, designed for
1313
pagination, and meant to be easy to hack on.
1414

1515
* Free software: BSD license
16-
* For Python 3.9+, tested on CPython and PyPy
16+
* For Python 3.10+, tested on CPython and PyPy
1717
* Documentation: https://doc.courtbouillon.org/weasyprint
1818
* Examples: https://weasyprint.org/#samples
1919
* Changelog: https://github.com/Kozea/WeasyPrint/releases

docs/changelog.rst

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,165 @@ Changelog
22
=========
33

44

5+
Version 67.0
6+
------------
7+
8+
Released on 2025-12-02.
9+
10+
Dependencies:
11+
12+
* Python 3.10+ is now needed, Python 3.9 is not supported anymore
13+
* tinycss2 1.5.0+ is now needed
14+
* fontTools 4.59.2+ is now needed
15+
16+
Features:
17+
18+
* `#2560 <https://github.com/Kozea/WeasyPrint/pull/2560>`_,
19+
`#640 <https://github.com/Kozea/WeasyPrint/issues/640>`_,
20+
`#844 <https://github.com/Kozea/WeasyPrint/issues/844>`_,
21+
`#1091 <https://github.com/Kozea/WeasyPrint/issues/1091>`_,
22+
`#2517 <https://github.com/Kozea/WeasyPrint/issues/2517>`_:
23+
Support CMYK colors, PDF/X, color profiles and light-dark() function
24+
* `#2558 <https://github.com/Kozea/WeasyPrint/pull/2558>`_,
25+
`#1175 <https://github.com/Kozea/WeasyPrint/issues/1175>`_:
26+
Support ::first-line, with financial support from Karte Technology
27+
* `#2552 <https://github.com/Kozea/WeasyPrint/pull/2552>`_:
28+
Support CSS layers, with financial support from Code & Co.
29+
* `#2564 <https://github.com/Kozea/WeasyPrint/pull/2564>`_,
30+
`#2599 <https://github.com/Kozea/WeasyPrint/pull/2599>`_,
31+
`#2397 <https://github.com/Kozea/WeasyPrint/issues/2397>`_:
32+
Allow page breaks in grid rows, with financial support from Ocean Recap
33+
* `#2568 <https://github.com/Kozea/WeasyPrint/pull/2568>`_,
34+
`#357 <https://github.com/Kozea/WeasyPrint/issues/357>`_:
35+
Support calc() and other mathematical functions
36+
* `#2575 <https://github.com/Kozea/WeasyPrint/pull/2575>`_,
37+
`#2574 <https://github.com/Kozea/WeasyPrint/issues/2574>`_:
38+
Support PDF/A-1a, PDF/A-2a and PDF/A-3a
39+
* `#2611 <https://github.com/Kozea/WeasyPrint/pull/2611>`_,
40+
`#2573 <https://github.com/Kozea/WeasyPrint/issues/2573>`_:
41+
Support PDF/A-4e and PDF/A-4f
42+
* `#2523 <https://github.com/Kozea/WeasyPrint/pull/2523>`_:
43+
Display tofu for missing glyphs
44+
* `#2581 <https://github.com/Kozea/WeasyPrint/pull/2581>`_:
45+
Add option to disable protocols in URL resolution
46+
* `#2570 <https://github.com/Kozea/WeasyPrint/pull/2570>`_:
47+
Support rch, cap, rcap, rex, ic and ric font-relative units
48+
* `#2547 <https://github.com/Kozea/WeasyPrint/pull/2547>`_,
49+
`#2140 <https://github.com/Kozea/WeasyPrint/issues/2140>`_:
50+
Support "only" keyword in media queries
51+
52+
Bug fixes:
53+
54+
* `#2516 <https://github.com/Kozea/WeasyPrint/pull/2516>`_,
55+
`#1510 <https://github.com/Kozea/WeasyPrint/issues/1510>`_:
56+
Fix rendering of first line of text with nested right float
57+
* `#2510 <https://github.com/Kozea/WeasyPrint/pull/2510>`_,
58+
`#1073 <https://github.com/Kozea/WeasyPrint/issues/1073>`_,
59+
`#2507 <https://github.com/Kozea/WeasyPrint/issues/2507>`_:
60+
Avoid Pango crashes and font mismatches with @font-face rules referencing local fonts
61+
* `#2532 <https://github.com/Kozea/WeasyPrint/pull/2532>`_,
62+
`#2531 <https://github.com/Kozea/WeasyPrint/issues/2531>`_:
63+
Use fonttools instancer instead of deprecated mutator API
64+
* `#2541 <https://github.com/Kozea/WeasyPrint/pull/2541>`_:
65+
Fix syntax of functions
66+
* `#2543 <https://github.com/Kozea/WeasyPrint/pull/2543>`_:
67+
Allow font-related units to access @font-face fonts
68+
* `#2525 <https://github.com/Kozea/WeasyPrint/pull/2525>`_:
69+
Respect top margins and avoid overlapping footnotes for columns, with financial support from Code & Co.
70+
* `#2536 <https://github.com/Kozea/WeasyPrint/pull/2536>`_:
71+
Remove Subtype key from font descriptor
72+
* `#2539 <https://github.com/Kozea/WeasyPrint/pull/2539>`_:
73+
Fix min width for SVGs with intrinsic ratio but no intrinsic size
74+
* `#2537 <https://github.com/Kozea/WeasyPrint/pull/2537>`_,
75+
`#2533 <https://github.com/Kozea/WeasyPrint/issues/2533>`_:
76+
Fix order of operators when drawing SVGs
77+
* `#2538 <https://github.com/Kozea/WeasyPrint/pull/2538>`_:
78+
Don’t crash with nested unknown functions
79+
* `#2542 <https://github.com/Kozea/WeasyPrint/pull/2542>`_:
80+
Don’t crash when lh and rlh are used for line height or font size
81+
* `#2540 <https://github.com/Kozea/WeasyPrint/pull/2540>`_,
82+
`#2528 <https://github.com/Kozea/WeasyPrint/issues/2528>`_:
83+
Use locale encoding instead of filesystem encoding for font paths
84+
* `#2563 <https://github.com/Kozea/WeasyPrint/pull/2563>`_,
85+
`#2479 <https://github.com/Kozea/WeasyPrint/issues/2479>`_:
86+
Don’t avoid float collisions for atomic flex items
87+
* `#2569 <https://github.com/Kozea/WeasyPrint/pull/2569>`_:
88+
Don’t be case-sensitive for units
89+
* `#2567 <https://github.com/Kozea/WeasyPrint/pull/2567>`_,
90+
`#2566 <https://github.com/Kozea/WeasyPrint/issues/2566>`_:
91+
Add x-default attribute for metadata description to be compliant with PDF/A
92+
* `#2586 <https://github.com/Kozea/WeasyPrint/pull/2586>`_,
93+
`#2571 <https://github.com/Kozea/WeasyPrint/issues/2571>`_:
94+
Improve formatting contexts management
95+
* `#2600 <https://github.com/Kozea/WeasyPrint/pull/2600>`_:
96+
Fix SVG image aspect ratio when only width or height is specified
97+
* `#2612 <https://github.com/Kozea/WeasyPrint/pull/2612>`_,
98+
`#2595 <https://github.com/Kozea/WeasyPrint/pull/2595>`_:
99+
Clean block layout and fix corner cases
100+
* `#2522 <https://github.com/Kozea/WeasyPrint/issues/2522>`_:
101+
Ignore preserveAspectRatio when SVG has no viewBox
102+
* `#2544 <https://github.com/Kozea/WeasyPrint/issues/2544>`_:
103+
Allow to use a variable twice in a function
104+
* `#2555 <https://github.com/Kozea/WeasyPrint/issues/2555>`_:
105+
Fix flex gap in right-to-left context
106+
* `#2591 <https://github.com/Kozea/WeasyPrint/issues/2591>`_:
107+
Respect non-auto widths and fix padding of grid items
108+
* `#2601 <https://github.com/Kozea/WeasyPrint/issues/2601>`_:
109+
Don’t crash when tagged tables are not displayed as tables
110+
* `#2607 <https://github.com/Kozea/WeasyPrint/issues/2607>`_:
111+
Fix rendering of multiline textareas with PDF forms
112+
* `#2106 <https://github.com/Kozea/WeasyPrint/issues/2106>`_:
113+
Force variable initialization to avoid crashes during column layout
114+
* `#2618 <https://github.com/Kozea/WeasyPrint/pull/2618>`_,
115+
`#2617 <https://github.com/Kozea/WeasyPrint/issues/2617>`_:
116+
Fix rendering of relative grid and flex items
117+
118+
Documentation:
119+
120+
* `#2535 <https://github.com/Kozea/WeasyPrint/pull/2535>`_:
121+
`#2534 <https://github.com/Kozea/WeasyPrint/issues/2534>`_:
122+
Removed reference to defunct site
123+
124+
Contributors:
125+
126+
* Guillaume Ayoub
127+
* Fazle Rabbi Ferdaus
128+
* Lucie Anglade
129+
* Luca Vercelli
130+
* ChickenF622
131+
* Ernie Chu
132+
* Mark Pullin
133+
* Malte Laukötter
134+
* Markus Mohanty
135+
* Yvonne Kothmeier
136+
* Jarom Ort
137+
* kuypan
138+
139+
Backers and sponsors:
140+
141+
* Spacinov
142+
* Syslifters
143+
* Kobalt
144+
* Simon Sapin
145+
* Grip Angebotssoftware
146+
* Manuel Barkhau
147+
* Simonsoft
148+
* KontextWork
149+
* Menutech
150+
* TrainingSparkle
151+
* Healthchecks.io
152+
* Method B
153+
* FieldHub
154+
* Hammerbacher
155+
* Yanal-Yves Fargialla
156+
* Morntag
157+
* Piloterr
158+
* Xavid
159+
* Charlie S.
160+
* Prothesis Dental Solutions
161+
* Kai DeLorenzo
162+
163+
5164
Version 66.0
6165
------------
7166

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__ = '66.0'
18+
VERSION = __version__ = '67.0'
1919

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

0 commit comments

Comments
 (0)