Bump weasyprint from 60.2 to 62.0
Bumps weasyprint from 60.2 to 62.0.
Release notes
Sourced from weasyprint's releases.
v62.0
Read about this release on our blog.
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, #2121: Support CSS Grid layout
- #2124, #2125: Support border-image-* properties
- #2084, #2077: Support CSS nesting
- #2101: Support HTML maxlength attribute for form fields
- #2095: Apply overflow to replaced boxes
- 245e4f5: Add support of PDF/A-?u
Bug fixes
- #2136: Don’t clip aligned text in SVG
- #2135: Allow column-direction flex containers to use percentage-based heights
- #2128: Don’t crash when a FontConfig object is destroyed early
- #2079: Fix executable file for some Windows versions
- #2131: Fix alpha for images before/after transparent text
- #2111: Handle auto and none values for CSS quotes property
- #2103: Don’t crash with overconstrained columns
- #2100: Fix rounding error when detecting overflows
- #2093, #2097, #2094: Mark use of md5() and sha1() as not for security
- #1956, #2087: Use CSS table module level 3 to compute widths
- #2086: Fix selects with empty values displaying None
- #1112, #2082, #2085: Fix computation for outer min-content width for table cells
- 016bd81: Fix many different bugs with SVG markers
Performance
- #2130: Cache font key instead of whole font content
Documentation
- #2108: Update documentation about CSS leader() function
Contributors
- Guillaume Ayoub
- Lucie Anglade
- Xavid Pretzer
- kygoh
- Germain Gueutier
- Vagner José Nicolodi
... (truncated)
Changelog
Sourced from weasyprint's changelog.
Version 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) <https://github.com/Kozea/WeasyPrint/issues/543>
,[#2121](https://github.com/Kozea/WeasyPrint/issues/2121) <https://github.com/Kozea/WeasyPrint/pull/2121>
: Support CSS Grid layout[#2124](https://github.com/Kozea/WeasyPrint/issues/2124) <https://github.com/Kozea/WeasyPrint/issues/2124>
,[#2125](https://github.com/Kozea/WeasyPrint/issues/2125) <https://github.com/Kozea/WeasyPrint/pull/2125>
: Support border-image-* properties[#2084](https://github.com/Kozea/WeasyPrint/issues/2084) <https://github.com/Kozea/WeasyPrint/issues/2084>
,[#2077](https://github.com/Kozea/WeasyPrint/issues/2077) <https://github.com/Kozea/WeasyPrint/pull/2077>
: Support CSS nesting[#2101](https://github.com/Kozea/WeasyPrint/issues/2101) <https://github.com/Kozea/WeasyPrint/issues/2101>
_: Support HTML maxlength attribute for form fields[#2095](https://github.com/Kozea/WeasyPrint/issues/2095) <https://github.com/Kozea/WeasyPrint/pull/2095>
_: Apply overflow to replaced boxes245e4f5 <https://github.com/Kozea/WeasyPrint/commit/245e4f5>
_: Add support of PDF/A-?uBug fixes:
[#2136](https://github.com/Kozea/WeasyPrint/issues/2136) <https://github.com/Kozea/WeasyPrint/issues/2136>
_: Don’t clip aligned text in SVG[#2135](https://github.com/Kozea/WeasyPrint/issues/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) <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) <https://github.com/Kozea/WeasyPrint/issues/2079>
_: Fix executable file for some Windows versions[#2131](https://github.com/Kozea/WeasyPrint/issues/2131) <https://github.com/Kozea/WeasyPrint/issues/2131>
_: Fix alpha for images before/after transparent text[#2111](https://github.com/Kozea/WeasyPrint/issues/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) <https://github.com/Kozea/WeasyPrint/issues/2103>
_: Don’t crash with overconstrained columns[#2100](https://github.com/Kozea/WeasyPrint/issues/2100) <https://github.com/Kozea/WeasyPrint/issues/2100>
_: Fix rounding error when detecting overflows[#2093](https://github.com/Kozea/WeasyPrint/issues/2093) <https://github.com/Kozea/WeasyPrint/issues/2093>
,[#2097](https://github.com/Kozea/WeasyPrint/issues/2097) <https://github.com/Kozea/WeasyPrint/issues/2097>
,[#2094](https://github.com/Kozea/WeasyPrint/issues/2094) <https://github.com/Kozea/WeasyPrint/pull/2094>
_:
... (truncated)
Commits
-
d5d7ce3
Version 62.0 -
fe0e30c
Update documentation for support of PDF/A-?u -
2083ede
Update required pydyf version -
67c2521
Remove useless import -
15bf11b
Merge pull request #2121 from Kozea/grid -
297e2e2
Fix emojis. -
061dbcf
Simplify width and height management for grid items -
7fa7c49
Fix and test padding, border and margin for grid items -
d116b19
Add more tests for grid -
0ba51ed
Copy style of blockified grid items - Additional commits viewable in compare view