HomeFreeBSD

www/py-djangorestframework: Update to 3.9.2

Description

www/py-djangorestframework: Update to 3.9.2

Changes since 3.9.0:

  • Routers: invalidate _urls cache on register()
  • Deferred schema renderer creation to avoid requiring pyyaml.
  • Added 'request_forms' block to base.html
  • Fixed SchemaView to reset renderer on exception.
  • Update Django Guardian dependency.
  • Ensured support for Django 2.2
  • Made templates compatible with session-based CSRF.
  • Adjusted field validators to accept non-list iterables.
  • Added SearchFilter.get_search_fields() hook.
  • Fix DeprecationWarning when accessing collections.abc classes via collections.
  • Allowed Q objects in limit_choices_to introspection.
  • Added lazy evaluation to composed permissions.
  • Add negation ~ operator to permissions composition.
  • Avoided calling distinct on annotated fields in SearchFilter.
  • Introduced RemovedInDRF…Warning classes to simplify deprecations.
  • Resolve XSS issue in browsable API.
  • Upgrade Bootstrap to 3.4.0 to resolve XSS issue.
  • Resolve issues with composable permissions.
  • Respect limit_choices_to on foreign keys.

https://www.django-rest-framework.org/community/release-notes/#39x-series

Approved by: mentors (implicit)

Details

Provenance
kaiAuthored on
Parents
rP500033: security/vault: update to 1.1.2
Branches
Unknown
Tags
Unknown