Svgelements

Latest version: v1.9.6

Safety actively analyzes 629788 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 13

1.9.0

Strictly speaking this is not a breaking change but if you want to use `write_xml` it's much easier to have a major demarcation for the code.

What's Changed
* Fix typos in README.md by ptomulik in https://github.com/meerk40t/svgelements/pull/201
* Fix typo by rettinghaus in https://github.com/meerk40t/svgelements/pull/205
* Correct Issue 207 by tatarize in https://github.com/meerk40t/svgelements/pull/208
* Issue 206 - Write Output by tatarize in https://github.com/meerk40t/svgelements/pull/209
* Correct Issue 175 - Non SVG Root Element by tatarize in https://github.com/meerk40t/svgelements/pull/202
* Address a subset of issue 204 (actually clipping paths with clippath). by tatarize in https://github.com/meerk40t/svgelements/pull/210

New Contributors
* rettinghaus made their first contribution in https://github.com/meerk40t/svgelements/pull/205

**Full Changelog**: https://github.com/meerk40t/svgelements/compare/1.8.4...1.9.0

1.8.4

Non-scaling strokes were not handled correctly for the stroke widths if there was a viewport scale in addition to element scaling. The handling in Chrome and Inkscape is clear that the viewport scaling is scaled even if Non-scaling Strokes is set.

What's Changed
* Viewport Scales Strokes by tatarize in https://github.com/meerk40t/svgelements/pull/200


**Full Changelog**: https://github.com/meerk40t/svgelements/compare/1.8.3...1.8.4

1.8.3

What's Changed
* Add Use.bbox() by ptomulik in https://github.com/meerk40t/svgelements/pull/198


**Full Changelog**: https://github.com/meerk40t/svgelements/compare/1.8.2...1.8.3

1.8.2

If you rotate the bounding box of a circle and take the bounding box of the rotated bounding box it's not the same as the actual union of the bounds. This corrects that oversight.

What's Changed
* Fix union_bbox() by ptomulik in https://github.com/meerk40t/svgelements/pull/195

New Contributors
* ptomulik made their first contribution in https://github.com/meerk40t/svgelements/pull/195

**Full Changelog**: https://github.com/meerk40t/svgelements/compare/1.8.1...1.8.2

1.8.1

Corrects some uses of use specifically 170 which was not previously correctly fixed.

What's Changed
* Correct issue 170 expand Use slightly by tatarize in https://github.com/meerk40t/svgelements/pull/193


**Full Changelog**: https://github.com/meerk40t/svgelements/compare/1.8.0...1.8.1

1.8.0

This version include 160 which fixes 170, 169, and 192. Rather the parsing routine does a semi-parse which allows for the integration of use objects more directly into nodes. This also permits use objects to occur before the object they are using. This adds a `Use` object to the list which is a mostly a list containing the one element referred to in the use as a child.

This is a breaking change.
* Where previously you would have directly gotten the object. Now it would have a `Use` object as a parent.
* The `values['attributes']` will no longer have processed style elements. These will be processed in the `values` directly but not in `attributes`.
* Also, previously the `Use` objects could have given you different results, namely wrong results, and now they would be correct.

What's Changed
* New Use Parsing by tatarize in https://github.com/meerk40t/svgelements/pull/160


**Full Changelog**: https://github.com/meerk40t/svgelements/compare/1.7.5...1.8.0

Page 2 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.