Releases: carltongibson/django-filter
23.1
22.1
Version 22.1
21.1
Version 2.4.0
-
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 returnNone
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.
Version 2.3.0
Version 2.2
Version 2.1.0
-
Fixed a regression in
FilterView
introduced in 2.0. An emptyQuerySet
was
incorrectly used whenever theFilterSet
was unbound (i.e. when there were
noGET
parameters). The correct, pre-2.0 behaviour is now restored.A workaround was to set
strict=False
on theFilterSet
. This is no
longer necessary, so you may restorestrict
behaviour as desired. -
Added
IsoDateTimeFromToRangeFilter
. Allows From-To filtering using
ISO-8601 formatted dates.
Version 2.0
2.0 introduced a number of small changes and tidy-ups.
Please see the migration guide:
https://django-filter.readthedocs.io/en/master/guide/migration.html#migrating-to-2-0
- Added testing for Python 3.7 (#944)
- Improve exception message for invalid filter result (#943)
- Test QueryDict against CSV filters (#937)
- Add
renderer
argument torender()
method ofBooleanWidget
(#923) - Fix lookups for reverse relationships (#915)
- Refactor backend filterset instantiation (#865)
- Improve view-related attribute name consistency (#867)
- Fix distinct call for range filters (#855)
- Fix empty value check for CSV range (#854)
- Rework DateRangeFilter (#852)
- Added testing for Django 2.1
- Rework 'lookup types' handling into LookupChoiceFilter (#851)
- Add linting and docs builds to CI (#850)
- Use DRF BooleanFilter for NullBooleanField (#844)
- Added Brazilian locale (#841)
- List Django as a dependency in setup.py (#846)
- Keep coverage reports files off version control. (#924)
- Update migration docs (#866)
- Added be, cs and uk translations. Updated de and ru (#861)
- Slovak translation (#886)
- Added Django 2.0 support. (#836)
- Fix warnings build (#829)
- Add greek translation (#827)
- Replaced super(ClassName, self) with super() (#821)
- Fixed doc URL in utils.deprecate(). (#820)
- Added danish translation to django-filter (#809)
- Rework validation, add queryset filter method (#788)
- Fix Schema warnings (#803)
- Update {Range,LookupType}Widgets to use suffixes (#770)
- Method signature improvements (#800)
- Remove more deprecations (#801)
- Drop python 2, Django<1.11 support (#797)
- Remove 'Meta.together' option (#791)
- [2.x] Remove some deprecations (#795)
Version 1.1
- Add Deprecations for 2.0 (#792)
- Improve IsoDateTimeField test clarity (#790)
- Fix form attr references in tests (#789)
- Simplify tox config, drop python 3.3 & django 1.8 (#787)
- Make get_filter_name a classmethod, allowing it to be overriden for each FilterClass (#775)
- Support active timezone (#750)
- Docs Typo: django_filters -> filters in docs (#773)
- Add Polish translations for some messages (#771)
- Remove support for Django 1.9 (EOL) (#752)
- Use required attribute from field when getting schema fields (#766)
- Prevent circular ImportError hiding for rest_framework sub-package (#741)
- Deprecate 'extra' field attrs on Filter (#734)
- Add SuffixedMultiWidget (#681)
- Fix null filtering for *Choice filters (#680)
- Use isort on imports (#761)
- Use urlencode from django.utils.http (#760)
- Remove OrderingFilter.help_text (#757)
- Update DRF test dependency to 3.6 (#747)
Version 1.0.4
Quick fix for verbose_field_name issue (#722)