Skip to content

Commit

Permalink
Relase 0.8.0rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran committed Sep 26, 2023
1 parent fc47fc2 commit 8be6210
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 16 deletions.
19 changes: 16 additions & 3 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
Changelog
=========

defusedxml 0.8.0.dev1
---------------------
defusedxml 0.8.0rc1
-------------------

*Release date: 26-Sep-2023*

- Drop support for Python 2.7, 3.4, and 3.5.
- Test on 3.10, 3.11, and 3.12.
- Add ``defusedxml.ElementTree.fromstringlist()``
- Update *vulnerabilities and features* table in README.
- **Pending removal** The ``defusedxml.lxml`` module has been unmaintained and
deprecated since 2019. The module will be removed in the next version.
- **Pending removal** The ``defusedxml.cElementTree`` will be removed in the
next version. Please use ``defusedxml.ElementTree`` instead.


defusedxml 0.7.1
----------------

*Release date: 08-Mar-2021*

- Fix regression ``defusedxml.ElementTree.ParseError`` (#63)
The ``ParseError`` exception is now the same class object as
``xml.etree.ElementTree.ParseError`` again.
- Update *vulnerabilities and features* table in README.


defusedxml 0.7.0
Expand Down
29 changes: 21 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ getDefaultParser(), check_docinfo()

The [defusedexpat package](https://github.com/tiran/defusedexpat)
([defusedexpat on PyPI](https://pypi.python.org/pypi/defusedexpat)) is
no longer supported. The [expat parser](https://libexpat.github.io/)
2.4.0 and newer have [billion laughs
no longer supported. [expat parser](https://libexpat.github.io/) 2.4.0
and newer come with [billion laughs
protection](https://libexpat.github.io/doc/api/latest/#billion-laughs)
against XML bombs.

Expand All @@ -375,9 +375,10 @@ against XML bombs.
Update to Python 3.6.8, 3.7.1, or newer. The SAX and DOM parser do not
load external entities from files or network resources.

Update to expat to 2.4.0 or newer. It has [builtin
protection](expat%20billion%20laughs%20protection) with sensible default
values to mitigate billion laughs and quadratic blowup.
Update to expat to 2.4.0 or newer. It has [billion laughs
protection](https://libexpat.github.io/doc/api/latest/#billion-laughs)
with sensible default limits to mitigate billion laughs and quadratic
blowup.

Offical binaries from python.org use libexpat 2.4.0 since 3.7.12,
3.8.12, 3.9.7, and 3.10.0 (August 2021). Third party vendors may use
Expand Down Expand Up @@ -675,15 +676,27 @@ during working hours as part of semantics's open source initiative.
Injection](https://www.owasp.org/index.php/Testing_for_XML_Injection_(OWASP-DV-008))
# Changelog

## defusedxml 0.8.0.dev1
## defusedxml 0.8.0rc1

*Release date: 26-Sep-2023*

- Drop support for Python 2.7, 3.4, and 3.5.
- Officially support Python 3.10, 3.11, 3.12. (0.7 works fine, too.)
- Test on 3.10, 3.11, and 3.12.
- Add `defusedxml.ElementTree.fromstringlist()`
- Update *vulnerabilities and features* table in README.
- **Pending removal** The `defusedxml.lxml` module has been
unmaintained and deprecated since 2019. The module will be removed
in the next version.
- **Pending removal** The `defusedxml.cElementTree` will be removed in
the next version. Please use `defusedxml.ElementTree` instead.

## defusedxml 0.7.1

*Release date: 08-Mar-2021*

- Fix regression `defusedxml.ElementTree.ParseError` (#63) The
`ParseError` exception is now the same class object as
`xml.etree.ElementTree.ParseError` again.
- Update *vulnerabilities and features* table in README.

## defusedxml 0.7.0

Expand Down
7 changes: 3 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ defusedexpat
============

The `defusedexpat package`_ (`defusedexpat on PyPI`_) is no longer supported.
The `expat parser`_ 2.4.0 and newer have `billion laughs protection`_
`expat parser`_ 2.4.0 and newer come with `billion laughs protection`_
against XML bombs.


Expand All @@ -426,9 +426,8 @@ How to avoid XML vulnerabilities
Update to Python 3.6.8, 3.7.1, or newer. The SAX and DOM parser do not
load external entities from files or network resources.

Update to expat to 2.4.0 or newer. It has
`builtin protection <expat billion laughs protection>`_ with sensible
default values to mitigate billion laughs and quadratic blowup.
Update to expat to 2.4.0 or newer. It has `billion laughs protection`_ with
sensible default limits to mitigate billion laughs and quadratic blowup.

Offical binaries from python.org use libexpat 2.4.0 since 3.7.12, 3.8.12,
3.9.7, and 3.10.0 (August 2021). Third party vendors may use older or
Expand Down
2 changes: 1 addition & 1 deletion defusedxml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def defuse_stdlib():
return defused


__version__ = "0.8.0.dev1"
__version__ = "0.8.0rc1"

__all__ = [
"DefusedXmlException",
Expand Down

0 comments on commit 8be6210

Please sign in to comment.