Skip to content

Releases: xhtml2pdf/xhtml2pdf

v0.2.13 – Fix regressions from code cleanup

09 Nov 01:16
3e1bd1b
Compare
Choose a tag to compare

🐛 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

08 Nov 11:29
9f53ea8
Compare
Choose a tag to compare

🐛 Bug fixes

  • [ #106 ] Fix page number & page count
  • [ #723 ] Fix ZeroDivisionError on broken image files

📘 Documentation

  • [ #707 ] Update README
  • [ #711 ] Modernize Sphinx configuration

🧹 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

07 May 15:58
Compare
Choose a tag to compare

This release only aims to fix issues with pycairo and xhtml2pdf dependencies with reportlab.

v0.2.10 – Fix canvas graph

19 Apr 22:14
9e3c88a
Compare
Choose a tag to compare

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

30 Jan 18:02
Compare
Choose a tag to compare

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

16 Jun 04:38
Compare
Choose a tag to compare

🐛 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

31 Mar 23:51
Compare
Choose a tag to compare

🎉 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

⚠️ Deprecation

  • xhtml in pisa.CreatePDF support will removed on next release
  • XML2PDF and XHTML2PDF will be removed on next release use HTML2PDF 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

11 Mar 23:48
Compare
Choose a tag to compare
  • 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

21 Jan 15:43
Compare
Choose a tag to compare

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

17 Apr 22:10
Compare
Choose a tag to compare

Include new python version in test and change requirements to force html5lib to 1.0.1.