Bigxml

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 3

1.0.1

This is a maintenance release. Internal tooling is being upgraded, featuring support for
pytest version 8 and formatting of the codebase with ruff.

:house: Internal

- Change code formatter from black to ruff
- Fix doctests not being run with other tests
- Fix coverage report under some versions of PyPy
- Upgrade dev dependencies
- Remove pylint, assuming its benefits are provided by the ruff+mypy combo
- Use trusted publishing for PyPi releases

1.0.0

Let's celebrate version 1! :tada: We know that `bigxml` has already been used in
production for years, but now it's official.

:bug: Fixes

- Improve documentation about usage with `requests`

:rocket: Added

- Export `Streamable` and `XMLElementAttributes` to ease type hints
- Be explicit about what is part of the public API

:house: Internal

- End of Python 3.7 support
- Necessary code changes following dev dependency update: mypy, ruff
- Use `pyproject.toml` and modern build system
- Improve tox & CI pipelines
- Add tests for PyPy 3.10
- Add tests for CPython 3.12
- Use CPython 3.12 for misc. tests
- Freeze dev dependencies

0.10.0

:boom: Breaking changes

- Renamed the base class for exceptions to `BigXmlError` in conformance with PEP8

:rocket: Added

- Add documentation to explain how to import the library
- Warnings due to wrong usage are now using `UserWarning` instead of `RuntimeWarning`
- Undocumented parameter `insecurely_allow_entities` to `Parser`

:house: Internal

- Necessary code changes following dev dependency update: mypy
- Use ruff for linting (and remove isort)

0.9.0

v0.9.0 introduces custom exceptions.

:boom: Breaking changes

- All exceptions raised due to invalid stream content are now instances of
`BigXmlException` instead of `xml.etree.ElementTree.ParseError` or
`defusedxml.DefusedXmlException`.

:bug: Fixes

- Add a workaround against pylint `not-an-iterable` false-positive on `iter_from`

:house: Internal

- Necessary code changes following dev dependency update: mypy, pylint, pytest
- Add tests for CPython 3.11
- Use CPython 3.11 for misc. tests
- Update Github actions dependencies

0.8.0

:bug: Fixes

- Fix an edge case when a class decorated with `xml_handle_text` has an attribute
decorated with `xml_handle_element`

:rocket: Added

- Type hints
- New export: `HandlerTypeHelper` that can help with type hints in some cases
- Sanity check on `xml_handler` method of class handlers for returned values (`None` or
an iterable)

:house: Internal

- End of Python 3.6 support
- Add tests for PyPy 3.9
- Refactor handler creator code
- Type validation with mypy
- Distribute `py.typed` file in conformance with [PEP 561]
- Update `typing-extensions` dependency

[pep 561]: https://www.python.org/dev/peps/pep-0561/

0.7.0

v0.7.0 improves dependencies requirements.

:rocket: Added

- Don't use upper bound constraints on dependencies
- Specify the Python versions required in package metadata

:house: Internal

- Improving memory consumption tests by using `tracemalloc` instead of `resource`

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.