Skip to content

Commit

Permalink
Version 20.9.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Sep 26, 2020
1 parent c045bbe commit c9daa68
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
Version 20.9.0 (2020-9-27)
--------------------------

* SECURITY: Added a ``MaxValueValidator`` to the form field for
``NumberFilter``. This prevents a potential DoS attack if numbers with very
large exponents were subsequently converted to integers.

The default limit value for the validator is ``1e50``.

The new ``NumberFilter.get_max_validator()`` allows customising the used
validator, and may return ``None`` to disable the validation entirely.

* Added testing against Django 3.1 and Python 3.9.

In addition tests against Django main development branch are now required to
pass.

* Adopted `CalVer <https://calver.org/>`_ versioning.

Version 2.3.0 (2020-6-5)
------------------------

Expand Down
2 changes: 1 addition & 1 deletion django_filters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from . import rest_framework
del pkgutil

__version__ = '2.3.0'
__version__ = '20.9.0'


def parse_version(version):
Expand Down

0 comments on commit c9daa68

Please sign in to comment.