Skip to content

Releases: carltongibson/django-filter

23.1

23 Apr 17:35
Compare
Choose a tag to compare

22.1

26 Jul 12:48
22.1
Compare
Choose a tag to compare
Version 22.1

21.1

26 Sep 09:44
Compare
Choose a tag to compare

Version 2.4.0

27 Sep 09:11
Compare
Choose a tag to compare
  • 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.

Version 2.3.0

05 Jun 14:49
2.3.0
Compare
Choose a tag to compare

Version 2.2

16 Jul 18:27
Compare
Choose a tag to compare

Highlights:

  • Added DjangoFilterBackend.get_schema_operation_parameters() for DRF 3.10+
    OpenAPI schema generation. (#1086)
  • Added lookup_expr to MultipleChoiceFilter (#1054)
  • Dropped support for EOL Python 3.4

Version 2.1.0

20 Jan 20:02
Compare
Choose a tag to compare
  • Fixed a regression in FilterView introduced in 2.0. An empty QuerySet was
    incorrectly used whenever the FilterSet was unbound (i.e. when there were
    no GET parameters). The correct, pre-2.0 behaviour is now restored.

    A workaround was to set strict=False on the FilterSet. This is no
    longer necessary, so you may restore strict behaviour as desired.

  • Added IsoDateTimeFromToRangeFilter. Allows From-To filtering using
    ISO-8601 formatted dates.

Version 2.0

13 Jul 10:15
Compare
Choose a tag to compare

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 to render() method of BooleanWidget (#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

19 Oct 09:30
Compare
Choose a tag to compare
  • 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.1 Milestone

Version 1.0.4

19 May 06:58
Compare
Choose a tag to compare

Quick fix for verbose_field_name issue (#722)