python-CairoSVG/python-CairoSVG.changes

236 lines
8.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-------------------------------------------------------------------
Tue May 9 06:33:14 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 2.7.0 (bsc#1209538, CVE-2023-27586):
WARNING: this is a security update.
When processing SVG files, CairoSVG could access other files online,
possibly leading to very long renderings or other security problems.
This feature is now disabled by default. External resources can still be
accessed using the "unsafe" or the "url_fetcher" parameter.
-------------------------------------------------------------------
Fri Apr 21 12:20:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:40:26 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Tue Mar 14 22:27:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.6.0:
* Drop support of Python 3.5 and 3.6, add support of Python 3.9,
3.10 and 3.11
* Support crispEdges value for text antialiasing
* Dont crash when including CMYK images
* Only update docstrings when not optimized
* Dont restore current point after empty paths
* Assume that 1ch equals 0.5em
* Fix various deprecation warnings
-------------------------------------------------------------------
Thu Aug 12 12:01:51 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.5.2
* Fix marker path scale
-------------------------------------------------------------------
Sun Jan 10 16:09:41 UTC 2021 - andy great <andythe_great@pm.me>
- Update to version 2.5.1.
* Security fix: When processing SVG files, CairoSVG was using two
regular expressions which are vulnerable to Regular Expression
Denial of Service (REDoS). If an attacker provided a malicious
SVG, it could make CairoSVG get stuck processing the file for a
very long time.
* Fix marker positions for unclosed paths
* Follow hint when only output_width or output_height is set
* Handle opacity on raster images
* Dont crash when use tags reference unknown tags
* Take care of the next letter when A/a is replaced by l
* Fix misalignment in node.vertices
- Updates for version 2.5.0.
* Drop support of Python 3.5, add support of Python 3.9.
* Add EPS export
* Add background-color, negate-colors, and invert-images options
* Improve support for font weights
* Fix opacity of patterns and gradients
* Support auto-start-reverse value for orient
* Draw images contained in defs
* Add Exif transposition support
* Handle dominant-baseline
* Support transform-origin
- Add _service file to fetch required submodule.
-------------------------------------------------------------------
Tue Sep 24 08:46:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.4.2:
* Fix race condition in tests
* Fix scale for images with no viewBox
-------------------------------------------------------------------
Mon Sep 9 09:16:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.4.1:
* Fix the scale parameter
* Allow href attributes with no namespace
* Fix the tree root detection
-------------------------------------------------------------------
Tue Jun 4 13:54:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.4.0:
* Fix aspect and position when resizing root SVG tag
* Follow aspect and position hints when using forced output size
-------------------------------------------------------------------
Mon Apr 29 07:57:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.3.1:
* Fix relative paths on Windows
-------------------------------------------------------------------
Wed Feb 13 14:53:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.3.0:
* Drop Python 3.4 support
* Make text selectable on generated PDF files
* Don't inherit dx and dy attributes
* Fix support of alignment-baseline="hanging"
* Fix backslashes in docstrings and comments
* Fix local anchors with files with no given URL
* Close VERSION's file descriptor
* Fix T commands used with previous relative commands in paths
* Use real functions for svg2* commands, improving IDE integration
* Handle image-rendering property
* Fix crash with some text samples
* Fix position of embedded svg tags with a viewbox not at position (0, 0)
* Add output-width and output-height options
* Handle references to inner document tags defined after the anchor
* Fix offsets for texts on paths
- Run tests manualy reducing the test dependencies a bit
-------------------------------------------------------------------
Wed Dec 5 01:22:00 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Ensure neutrality of description.
-------------------------------------------------------------------
Tue Dec 4 12:46:26 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu May 3 06:37:32 UTC 2018 - toddrme2178@gmail.com
- Update to version 2.1.3
* Fix T commands following q or t in paths
- Update to version 2.1.2
* Fix font-size
- Update to version 2.1.1
* Use http://www.w3.org/2000/svg as default namespace
- Update to version 2.1.0
* Use cssselect2 and tinycss2 instead of cssselect and tinycss
* Don't require lxml anymore
* Rely on defusedxml to detect unsafe SVG files
-------------------------------------------------------------------
Tue Aug 22 22:16:50 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version.
- Split Python2 version into separate package due to upstream
dropping Python2 support.
- Update to Version 2.0.3
* Add ``python_requires`` in ``setup.py``
- Update to Version 2.0.2
* Handle ``text-align`` in textPath tags
* Test with Python 3.6
- Update to Version 2.0.1
* Don't crash on relative refs with no input URL
- Update to Version 2.0.0
* Drop Python 2 support
* Drop pycairo support
* Rely on cairocffi, lxml, cssselect, pillow and tinycss
* Fix markers
* Fix URL/id handling
* Use bounding boxes for gradients
* Split deployment and development tests
* Add a scale option
* Add a parent size option
* Test with Travis
- Update to Version 1.0.22
* Fix crash when lxml is not installed
- Update to Version 1.0.21
**WARNING:** this is a security update.
CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this release
fixes this vulnerability by not resolving the XML entities anymore.
The ``--unsafe`` option has been added to force the resolution of XML
entities. Obviously, this option is not safe and should only be used with
trusted SVG files.
- Update to Version 1.0.20
* Allow the user to give parent size
- Update to Version 1.0.19
* Drastically improve the performance of ``Node()``
- Update to Version 1.0.18
* Use cairo groups to apply filters
- Update to Version 1.0.17
* Fix scale and position of markers
- Update to Version 1.0.16
* Support the text-rendering property
- Update to Version 1.0.15
* Use xMidYMid as default preserveAspectRatio value
- Update to Version 1.0.14
* Support the shape-rendering property
- Update to Version 1.0.13
* Fix end markers
- Update to Version 1.0.12
* Don't crash when paths with markers end with a move_to action
- Update to Version 1.0.11
* Allow commas in viewboxes
- Update to Version 1.0.10
* Allow quotes around font names
- Update to Version 1.0.9
* Don't crash when gradients are applied to paths
- Update to Version 1.0.8
* Don't create an atomic layer for transparent tags with no children
- Update to Version 1.0.7
* Fix scaling with negative viewBox origin
* Automatically detect size and position of circles and ellipses for gradients
- Update to Version 1.0.6
* Fall back to pycairo if cairocffi is unable to find the cairo library
- Update to Version 1.0.5
* Don't inherit clip* and overflow properties
* Don't transform the root svg tag according to the PreservAspectRatio attribute
* Add simple support for alignment-baseline
* Add cairocffi into setup.py deps
- Update to Version 1.0.4
* Clear relative coordinates when absolute coordinates are set in tspan tags
- Update to Version 1.0.3
* Fix clips and viewboxes
* Don't draw an empty image when locale is not set
- Update to Version 1.0.2
* Don't crash when locale is not set
* Get the xml_tree from the root parent when creating nodes from string
- Update to Version 1.0.1
* Don't crash when svg tag has no width or height
- Update to Version 1.0
* CairoCFFI support
* Support of more external CSS stylesheets
* Handle more filters
* Use pillow instead of pystacia
* Fix a lot of bugs with text (whitespaces, text on a path, etc.)
* Inherit attributes in ``use`` tags
* Cache trees for ``use`` tags
* Handle conditional structures
-------------------------------------------------------------------
Wed Jan 16 18:11:15 UTC 2013 - alexandre@exatati.com.br
- Initial version (0.5) for openSUSE.