github wemake-services/django-modern-rest 0.12.0
Version 0.12.0

4 hours ago

What's Changed

Features

  • Added "Opaque Token" auth backend, #1051
  • Added VerifyTokenSyncController and VerifyTokenAsyncController
    reusable controllers to verify JWT access tokens, #1129
  • Added test helpers in dmr.test for asserting that endpoints are
    throttled: assert_throttling / assert_async_throttling,
    reduced_throttling, and assert_throttled,
    together with the HeaderValue and ThrottlingLine types
    used in their signatures, #1167

Bugfixes

  • Streaming with streaming_ping_seconds no longer leaves the pending
    ping timer task behind on every produced event, #1046
  • Fixed 500 error on request bodies containing invalid utf-8 bytes
    inside msgspec's json and msgpack parsers,
    now 400 is correctly returned, #1135
  • Properly warn users that use our pytest plugin,
    but do not have pytest_django installed, #1167
  • CSRF is now ensured before any other actions in Django-Session auth, #1180,
  • Fixed that jwt extra was required in throttling code, #1178
  • Fixed many places that were missing __slots__, #1185

Misc

  • Enabled stricter __slots__ checks in CI, #1183
  • Improved pytest plugin docs
  • Added nanodjango and µDjango examples
    to the micro-framework docs page, #1049

New Contributors

Full Changelog: 0.11.0...0.12.0

Don't miss a new django-modern-rest release

NewReleases is sending notifications on new releases.