Skip to content

Releases: philipn/django-rest-framework-filters

v0.8.0

14 Mar 04:01
Compare
Choose a tag to compare

This release is tied to a major update of django-filter (more details in #66), which fixes how lookup expressions are resolved. 'in', 'range', and 'isnull' lookups no longer require special handling by django-rest-framework-filters. This has the following effects:

  • Deprecates ArrayDecimalField/InSetNumberFilter
  • Deprecates ArrayCharField/InSetCharFilter
  • Deprecates FilterSet.fix_filter_field
  • Deprecates ALL_LOOKUPS in favor of 'all' constant.
  • AllLookupsFilter now generates only valid lookup expressions.
  • #2 'range' lookup types do not work
  • #15 Date lookup types do not work (year, day, ...)
  • #16 'in' lookup types do not work
  • #64 Fix browsable API filter form
  • #69 Fix compatibility with base django-filter FilterSets
  • #70 Refactor related filter handling, fixing some edge cases
  • Deprecated 'cache' argument to FilterSet
  • #73 Warn use of order_by

v0.7.0

27 Jan 22:03
Compare
Choose a tag to compare
  • #61 Change django-filter requirement to 0.12.0
  • Adds support for Django 1.9
  • #47 Changes implementation of MethodFilterss
  • Drops support for Django 1.7
  • #49 Fix ALL_LOOKUPS shortcut to obey filter overrides (in, isnull)
  • #46 Fix boolean filter behavior (#25) and isnull override (#6)
  • #60 Fix filtering on nonexistent related field

v0.6.0

27 Jan 22:04
Compare
Choose a tag to compare
  • #43 Adds a filter exclusion/negation syntax. eg, ?some_filter!=some_value
  • #44 Sets the minimum django-filter version required

v0.5.0

27 Jan 22:05
Compare
Choose a tag to compare
  • #38 Rework of related filtering, improving performance (#8) and some minor correctness issues
  • #35 Add ALL_LOOKUPS shortcut for dict-style filter definitions
  • #31 Fix timezone-aware datetime handling
  • #36 Fix '__in' filter to work with strings
  • #33 Fix RelatedFilter handling to not override existing isnull filters
  • #35 Fix python 3.5 compatibility issue.
  • Drops support for Django 1.6 and below

v0.4.0

27 Jan 22:05
Compare
Choose a tag to compare
  • Adds support for Django 1.8, DRF 3.2
  • Drops support for Python 2.6, DRF 2.x
  • #23 Adds __in filtering for numeric field types. eg, ?id__in=1,2,3