pypi xmltodict 1.0.0
v1.0.0

9 hours ago

1.0.0 (2025-09-12)

⚠ BREAKING CHANGES

  • modernize for Python 3.9+; drop legacy compat paths

Features

  • unparse: add limited XML comment round-trip; unify _emit behavior (e43537e)
  • unparse: add selective force_cdata support (bool/tuple/callable) (a497fed), closes #375

Bug Fixes

  • namespaces: attach [@xmlns](https://github.com/xmlns) to declaring element when process_namespaces=True (f0322e5), closes #163
  • streaming: avoid parent accumulation at item_depth; add regression tests (220240c)
  • unparse: handle non-string #text with attributes; unify value conversion (927a025), closes #366
  • unparse: skip empty lists to keep pretty/compact outputs consistent (ab4c86f)

Reverts

  • remove initial Release Drafter config (c0b74ed)

Documentation

  • readme: add API reference for parse()/unparse() kwargs (e5039ad)
  • readme: mention types-xmltodict stub package (58ec03e)

Code Refactoring

  • modernize for Python 3.9+; drop legacy compat paths (7364427)

Don't miss a new xmltodict release

NewReleases is sending notifications on new releases.