Releases: rsinger86/drf-flex-fields
Releases · rsinger86/drf-flex-fields
0.9.0
0.8.9
- Adds OpenAPI support to experimental filter backend. Thanks @LukasBerka!
0.8.8
0.8.5
0.8.1
0.8.0
- Adds support for
expand
,omit
andfields
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
- 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
0.6.1
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
toMeta
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.