Releases: xhtml2pdf/xhtml2pdf
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.
v0.2.4 – Maintenance release with several changes
Update link_callback documentation.
Stylize code lines in documentation.
Fixed cgi escape util on setup version.
Add test to python 3.7 and 3.8.
Fixed width assignation on fragments.
Support urllib in python 3 and python 2.
Add em unit support.
Repair base64 unscaped string.
Fixed urlparse when urls has parameters.
Fixed i_rgbcolor support.
v0.2.2 – Requirement update and more test platforms
Include new python version in test and change requirements to force html5lib to 1.0.1.