Skip to content

Commit c9daa68

Browse files
committed
Version 20.9.0.
1 parent c045bbe commit c9daa68

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGES.rst

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
Version 20.9.0 (2020-9-27)
2+
--------------------------
3+
4+
* SECURITY: Added a ``MaxValueValidator`` to the form field for
5+
``NumberFilter``. This prevents a potential DoS attack if numbers with very
6+
large exponents were subsequently converted to integers.
7+
8+
The default limit value for the validator is ``1e50``.
9+
10+
The new ``NumberFilter.get_max_validator()`` allows customising the used
11+
validator, and may return ``None`` to disable the validation entirely.
12+
13+
* Added testing against Django 3.1 and Python 3.9.
14+
15+
In addition tests against Django main development branch are now required to
16+
pass.
17+
18+
* Adopted `CalVer <https://calver.org/>`_ versioning.
19+
120
Version 2.3.0 (2020-6-5)
221
------------------------
322

django_filters/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from . import rest_framework
1111
del pkgutil
1212

13-
__version__ = '2.3.0'
13+
__version__ = '20.9.0'
1414

1515

1616
def parse_version(version):

0 commit comments

Comments
 (0)