Skip to content

Releases: rsinger86/drf-flex-fields

0.9.0

02 May 18:22
Compare
Choose a tag to compare
  • Allows fully qualified import strings for lazy serializer classes.

0.8.9

14 Feb 23:20
Compare
Choose a tag to compare
  • Adds OpenAPI support to experimental filter backend. Thanks @LukasBerka!

0.8.8

23 Nov 03:46
Compare
Choose a tag to compare

0.8.5

23 May 17:53
30cb738
Compare
Choose a tag to compare
  • Adds options to customize parameter names and wildcard values. Closes #10.

0.8.1

16 May 20:53
Compare
Choose a tag to compare
  • Fixes #44, related to the experimental filter backend. Thanks @jsatt!

0.8.0

26 Apr 16:35
7b0d93d
Compare
Choose a tag to compare
  • Adds support for expand, omit and fields query parameters for non-GET requests.
    • The common use case is creating/updating a model instance and returning a serialized response with expanded fields
    • Thanks @kotepillar for raising the issue (#25) and @Crocmagnon for the idea of delaying field modification until to_representation().

0.7.5

09 Feb 18:25
Compare
Choose a tag to compare
  • Simplifies declaration of expandable_fields
    • If using a tuple, the second element - to define the serializer settings - is now optional.
    • Instead of a tuple, you can now just use the serializer class or a string to lazily reference that class.
  • Updates documentation.

0.7.0

08 Feb 21:25
Compare
Choose a tag to compare
  • Adds support for different ways of passing arrays in query strings. Thanks @sentyaev!
  • Fixes attribute error when map is supplied to split levels utility function. Thanks @hemache!

0.6.1

07 Sep 18:14
Compare
Choose a tag to compare

0.6.1 (September 2019)

  • Adds experimental support for automatically SQL query optimization via a FlexFieldsFilterBackend. Thanks ADR-007!
  • Adds CircleCI config file. Thanks mikeIFTS!
  • Moves declaration of expandable_fields to Meta class on serialzer for consistency with DRF (will continue to support declaration as class property)
  • Python 2 is no longer supported. If you need Python 2 support, you can continue to use older versions of this package.

0.5.0

28 Apr 13:50
Compare
Choose a tag to compare
  • Adds "omit" keyword/query parameter support
  • Refactors, cleans up code
  • Improves test coverage