Pugixml

Latest version: v0.5.0

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

Scan your dependencies

0.5.0

- New
- Add support for Python 3.12
- Added
- Add `pugixml.pugi.PARSE_MERGE_PCDATA`
- Add `pugixml.pugi.XMLAttribute.set_name(name: str, size: int)`
- Add `pugixml.pugi.XMLNode.set_name(name: str, size: int)`
- Changed
- Update pugixml from 1.13 to 1.14
- Update pybind11 from 2.10.1 to 2.11.1
- Fixed
- Remove unnecessary length check:
- `pugixml.pugi.XMLAttribute.set_value(value: str, size: int)`
- `pugixml.pugi.XMLNode.set_value(value: str, size: int)`
- `pugixml.pugi.XMLText.set(value: str, size: int)`

0.4.0

- Added
- Add `pugixml.pugi.XMLAttribute.set_value(value: str, size: int)`
- Add `pugixml.pugi.XMLNode.set_value(value: str, size: int)`
- Add `pugixml.pugi.XMLText.set(value: str, size: int)`
- Changed
- Update pugixml from [521b2cd](https://github.com/zeux/pugixml/tree/521b2cd854f8d65f173107d056d2b9c6d49b6563) to 1.13
- Update pybind11 from 2.10.0 to 2.10.1
- Improved
- Improve type checking

0.3.0

- New
- Add support for Python 3.11
- Add `pugixml.pugi.BytesWriter` class
- Add `pugixml.pugi.FileWriter` class
- Add `pugixml.pugi.limits` submodule
- Added
- Add `pugixml.pugi.StringWriter.__len__()`
- Changed
- Update pugixml to [521b2cd](https://github.com/zeux/pugixml/tree/521b2cd854f8d65f173107d056d2b9c6d49b6563)
- Update pybind11 to 2.10.0
- Fixed
- Fix `pugixml.pugi.PrintWriter` to raise an exception when encoding fails
- Improved
- Update docstring
- Change arguments of `pugixml.pugi.StringWriter.getvalue()` → `getvalue(encoding: str = 'utf-8', errors: str = 'strict')`

0.2.0

- New
- Add `pugixml.pugi.XMLAttributeStruct` class
- Add `pugixml.pugi.XMLNodeStruct` class
- Add `pugixml.pugi.XMLAttributeIterator` class
- Add `pugixml.pugi.XMLNodeIterator` class
- Add `pugixml.pugi.XMLNamedNodeIterator` class
- Added
- Add `pugixml.pugi.XMLAttribute.internal_object()`
- Add `pugixml.pugi.XMLAttribute.__init__(p: XMLAttributeStruct)`
- Add `pugixml.pugi.XMLNode.internal_object()`
- Add `pugixml.pugi.XMLNode.__init__(p: XMLNodeStruct)`
- Fixed
- Change return type of `pugixml.pugi.XMLNode.attributes()` -> `List[XMLAttribute]` → `XMLAttributeIterator`
- Change return type of `pugixml.pugi.XMLNode.children()` -> `List[XMLNode]` → `XMLNodeIterator`
- Change return type of `pugixml.pugi.XMLNode.children(name: str)` -> `List[XMLNode]` → `XMLNamedNodeIterator`

0.1.0

Initial release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.