- Update to 0.2.17
* Pylint fixes
* pre-commit autoupdate 2024-07-24
* GitHub Actions: Add Python 3.13 beta 4 to the testing
* Tidy up documentation
* Keep GitHub Actions up to date with GitHub's Dependabot
* Fix reDOS CVE in getColor function
* Reuse background PDF file over multiple pages (#778)
* Update import for breaking changes in python-bidi 0.5.0
* Add support of base64 fonts
* tests: Skip cases that download artifacts when http_proxy is set
* Typos workflow
- Drop CVE-2024-25885.patch, merged upstream
- Update BuildRequires and Requires from pyproject.toml
- Use Python 3.11 on SLE-15 by default
OBS-URL: https://build.opensuse.org/request/show/1251853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=27
* New
+ OL tag allow start counter
+ Div, P, And Body allows dir attribute (rtl and ltr) to provide text
direction
+ Add encryption and password protection
+ New WaterMark management system with new options
+ Add Graphic builder
+ Add signing pdfs (simple and pades)
* 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.
* Bug-Fixes
+ Add compatibility for reportlab >= 4.1
+ Make pyCairo dependency optional
+ Fix image rendering with link_callback
+ Fix TypeError on column widths specified as percentages
+ Fix TypeError when formatting width in debug logging
+ Fix page number & page count
+ Fix ZeroDivisionError on broken image files
+ Fix CSSParseError for minified @font-face definitions
+ Remove import cycle between utils and default
+ Fixed link_callback construction of path
+ Fixed path when is relative to current path
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=23
- version update to 0.2.6
* 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.
- deleted patches
- 590-rm-getStringIO.patch (upstreamed)
OBS-URL: https://build.opensuse.org/request/show/1010934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=21