Skip to content

Releases: cottrell/xml_iterator

Release list

v0.2.0

Choose a tag to compare

@cottrell cottrell released this 17 Jul 13:04

0.2.0 (2026-07-17)

  • Malformed XML and undecodable text raise ValueError (no silent truncation).
  • Attribute events opt-in: iter_xml(path, attributes=True)('attr', (name, value)).
  • xml_iterator.xml_to_dict includes attributes (@name) and matches xmltodict.parse; dict built in Rust (one FFI crossing).
  • CDATA yielded as text events (was dropped).
  • Self-closing tags (<tag/>) counted correctly by both get_edge_counts implementations.
  • xml_to_dict(max_depth=...) no longer strands the stack / drops siblings.
  • Iterative normalization (no Python recursion limit on deep documents).
  • make develop builds release by default.

PyPI: https://pypi.org/project/xml-iterator/0.2.0/
Perf notes: PERF_2026-07-17.md
Full changelog: CHANGELOG.md

Wheels are built and uploaded by CI on this tag (linux + windows abi3).