Dynamic-rest

Latest version: v2.3.0

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 12

1.9.1

* Fix bug in FastQuery that caused some data to bleed across fields in edge cases

1.9.0

* support for sorting on nested fields (thanks to Incanus3 and joshvillbrandt)
* removed Python 3.3 support
* added setting for globally overriding DynamicListSerializer
* added support for serializer post-processors
* improved PATCH performance by eliminating unnecessary queries

1.8.0

* Support for Django 2.0 and DRF 3.7 (thanks to dpaluch-rp)
* Minor fixes

1.7.2

Fix FastQuery prefetch filtering bug (affected single object retrieval with sideloads and link queries on endpoints with FastQuery enabled).

1.7.1

Bump package version for public release.

1.7.0

Adds an alpha-stage prototype: FastQuery

FastQuery enables the use of `.values` querysets, to bypass the overhead involved with marshalling Django models. This is implemented via a queryset-compatible API, to attempt to make the distinction between model-based querysets and dictionary-based querysets invisible to the serialization layer.

This version also brings some improvements around caching of `Field`s.

These changes are undocumented and untested, and should be treated as unstable. They can only be used by opting into them: for `FastQuery`, this means using the `FastDynamicFilterBackend`; for fields caching, this means setting the `ENABLE_FIELDS_CACHE` setting to `True` and setting a class variable (`ENABLE_FIELDS_CACHE` as well) on individual serializers.

Page 3 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.