Releases: xhtml2pdf/xhtml2pdf
v0.2.17
What's Changed
- Pylint fixes by @cclauss in #773
- pre-commit autoupdate 2024-07-24 by @cclauss in #774
- GitHub Actions: Add Python 3.13 beta 4 to the testing by @cclauss in #775
- Tidy up documentation by @kytta in #729
- Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #772
- fix reDOS CVE in getColor function by @Trupal00p in #784
- Reuse background PDF file over multiple pages (#778) by @sjoerdjob in #779
- Update import for breaking changes in python-bidi 0.5.0 by @bengosney in #767
- Add support of base64 fonts by @vladimir-g in #740
- tests: skip cases that download artifacts when http_proxy is set by @adrien-n in #793
- Typos workflow by @mikemanger in #795
New Contributors
- @kytta made their first contribution in #729
- @Trupal00p made their first contribution in #784
- @sjoerdjob made their first contribution in #779
- @bengosney made their first contribution in #767
- @vladimir-g made their first contribution in #740
- @adrien-n made their first contribution in #793
- @mikemanger made their first contribution in #795
Full Changelog: v0.2.16...v0.2.17
v0.2.16 – Reportlab compatibility
🐛 Bug-Fixes
- [ #751 ] Add compatibility for
reportlab >= 4.1
Thanks to the following people for contributing to this release:
@stefan6419846
v0.2.13 – Fix regressions from code cleanup
🐛 Bug fixes
- [ #731 ] Fix
TypeError
on column widths specified as percentages - [ #730 ] Fix
TypeError
when formatting width in debug logging
Thanks to the following people for contributing to this release:
@JanEgner @timobrembeck
v0.2.12 – Bug fixes and code cleanup
🐛 Bug fixes
📘 Documentation
🧹 Cleanup
- [ #700 ] Change print statement to log.exception
- [ #706 ] Remove Python2 compatibility
- [ #705 ] Depend on
html5lib >= 1.1
- [ #699 ] Depend on
reportlab >= 4.0.4
- [ #714 ] Use black code style
- [ #715 ] Enforce consistent file formatting
- [ #716 ] Add ruff code linter
- [ #717 ] Start using type hints & validate them via mypy
- [ #718 ] Drop support for Python 3.7 (reached end of life on 2023-06-27)
- [ #719 ] Add support for Python 3.12 (released on 2023-10-02)
Thanks to the following people for contributing to this release:
@JanEgner @lucasgadams @a-detiste @holtwick @stefan6419846 @timobrembeck
v0.2.11 – Bug fixes with reportlab >4.0 and pycairo
This release only aims to fix issues with pycairo and xhtml2pdf dependencies with reportlab.
v0.2.10 – Fix canvas graph
This is a bug fixes release changes here:
- Fix canvas graph
- Remove duplicate pypdf entry from setup.py
Thanks to the following people on GitHub for contributing to this release:
@brandonlake-semaphore, @sunpoet
v0.2.9 – Community Bug fixes
Released: 2023-01-30
Important notes
- Text RTL has new implementation but I am not sure if works as required, more works need so use it, for text and let me know if it's works.
🎉 New
- OL tag allow start counter
- Div, P, And Body allows dir attribute (rtl and ltr) to provide text direction
💪🏼 Improvements
- Page counter and Page number are now available as simple text inside paragraphs
- New regex for strip up to curly bracket
- Change pyPDF3 to pypdf.
Thanks to the following people on GitHub for contributing to this release:
@BergLucas, @matllubos, @timoludwig, @MartinThoma, @charludo, @jorenham
v0.2.8 – Fixed background-image and font-face definitions
🐛 Bug-Fixes
- Fix background-image issues with #614 and pull requests with #619
- Fix CSSParseError for minified @font-face definitions #609
- Fixed a few typos and grammar mistakes in usage.rst documentation. #610
v0.2.7 – Graphics, signing, watermarks
🎉 New
- Add encryption and password protection
- New WaterMark management system with new options
- Add Graphic builder
- Add signing pdfs (simple and pades)
🐛 Bug-Fixes
- Remove import cycle between utils and default
- Fixed link_callback construction of path
- Fixed path when is relative to current path
xhtml
in pisa.CreatePDF support will removed on next releaseXML2PDF
andXHTML2PDF
will be removed on next release useHTML2PDF
instead
📘 Documentation
- Add render pdf on documentation and add some html example.
- Include graphics examples
| Thanks to the following people on GitHub for contributing to this release:
| @marcelagz for graphics support :)
v0.2.6 – Drop python 2 support
- Drop python 2 support.
- Remove most of python 2 code and cleanup
- Update packages dependencies
- Remove six dependency and update Readme
- Set timeout in https options
- Add new file manager approach using factory method, now new classes deal with different types of data
B64InlineURI, LocalProtocolURI, NetworkFileUri, LocalFileURI, BytesFileUri - Now getColor return None when None is passed ignoring default value, but return default if bool(data) == false
- rtl languages reversed lines added as a ParaFrag (note: not fully supported yet)
- Check if Paragraph has 'rtl' attribute (note: not fully supported yet)
- Fix UnboundLocalError in reportlab_paragraph (#585) (#586)
- Remove usage of getStringIO (#590) removed form reportlab
- Change test for github workflow using only Linux
- Add Python 3.9, 3.10
- Switch from PyPDF2 to PyPDF3
- Add SVG support
- Update package information.
- Allow call tests using make.