Metadata-Version: 2.1
Name: lxml
-Version: 4.5.2
+Version: 4.6.0
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: https://lxml.de/
Author: lxml dev team
After an official release of a new stable series, bug fixes may become
available at
- https://github.com/lxml/lxml/tree/lxml-4.5 .
- Running ``easy_install lxml==4.5bugfix`` will install
+ https://github.com/lxml/lxml/tree/lxml-4.6 .
+ Running ``easy_install lxml==4.6bugfix`` will install
the unreleased branch state from
- https://github.com/lxml/lxml/tarball/lxml-4.5#egg=lxml-4.5bugfix
+ https://github.com/lxml/lxml/tarball/lxml-4.6#egg=lxml-4.6bugfix
as soon as a maintenance branch has been established. Note that this
requires Cython to be installed at an appropriate version for the build.
- 4.5.2 (2020-07-09)
+ 4.6.0 (2020-10-17)
==================
- Bugs fixed
- ----------
+ Features added
+ --------------
+
+ * GH#310: ``lxml.html.InputGetter`` supports ``__len__()`` to count the number of input fields.
+ Patch by Aidan Woolley.
- * ``Cleaner()`` now validates that only known configuration options can be set.
+ * ``lxml.html.InputGetter`` has a new ``.items()`` method to ease processing all input fields.
- * LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless of the
- corresponding configuration option, if ``remove_unknown_tags`` was set.
+ * ``lxml.html.InputGetter.keys()`` now returns the field names in document order.
- * LP#1880251: Instead of globally overwriting the document loader in libxml2, lxml now
- sets it per parser run, which improves the interoperability with other users of libxml2
- such as libxmlsec.
+ * GH-309: The API documentation is now generated using ``sphinx-apidoc``.
+ Patch by Chris Mayo.
+
+ Bugs fixed
+ ----------
- * LP#1881960: Fix build in CPython 3.10 by using Cython 0.29.21.
+ * LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes
+ when a default namespace was defined.
- * The setup options "--with-xml2-config" and "--with-xslt-config" were accidentally renamed
- to "--xml2-config" and "--xslt-config" in 4.5.1 and are now available again.
+ * ``TreeBuilder.close()`` raised ``AssertionError`` in some error cases where it
+ should have raised ``XMLSyntaxError``. It now raises a combined exception to
+ keep up backwards compatibility, while switching to ``XMLSyntaxError`` as an
+ interface.