Changelog
=========

2.0 (2026-05-08)
----------------

- Make final release, no code changes.  [maurits]


2.0a2 (2025-12-22)
------------------

* Let ``getXMLSerializer`` raise an ``XMLSyntaxError`` when passed an empty iterable.
  Then the result with ``lxml`` 6 is the same as it was with ``lxml`` 5, instead of throwing an ``AttributeError``.
  [maurits]


2.0a1 (2025-12-22)
------------------

* Replace ``pkg_resources`` namespace with PEP 420 native namespace.
  [maurits]


1.0 (2025-10-29)
----------------

* Add support for Python 3.8 - 3.14.
  [maurits]

* Drop support for Python 3.7: it is almost two years out of support and cannot easily be tested.
  [maurits]


1.0b1 (2024-01-31)
------------------

* Fix serialization of a tree to bytes
  `PR <https://github.com/repoze/repoze.xmliter/pull/18/>`_.
  [maurits]

* Removed unused ``future`` dependency.
  Fixes `issue 10 <https://github.com/repoze/repoze.xmliter/issues/10>`_.
  [maurits]

* Drop support for Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6.
  [tseaver, mborch]

* Add support for Python 3.7, 3.8, 3.9, 3.10, and 3.11.
  [tseaver, mborch]


0.6.1 (2022-01-14)
------------------

* Fixed tests with lxml 4.7.1 or higher.
  Fixes `issue 8 <https://github.com/repoze/repoze.xmliter/issues/8>`_.
  [maurits]

0.6 - 2014-09-21
----------------

* Python 3 compatibility
  [Lennart Regebro]

0.5 - 2012-01-25
----------------

* Add __len__ to serializer to help WSGI servers.
  [Laurence]

* Serializer should iter the entire string in one go.
  [Laurence]

0.4 - 2011-06-16
----------------

* Ensure trailing space is removed when replacing doctype with empty string.
  [Laurence]

0.3 - 2011-06-03
----------------

* Add doctype option to replace doctype on serialization.
  [Laurence]

0.2 - 2010-09-11
----------------

* Use document encoding by default. (This fixes test failure on Ubuntu 10.04.)
  [Laurence]

* Defer to xsl:output settings when serializing an XSLResultTree.
  [Laurence]

* Turn off pretty printing by default for HTML to avoid affecting rendering on
  the browser.
  [Laurence]

0.1 - 2010-04-21
----------------

* Initial release
