What's Changed
Features
- Added "Opaque Token" auth backend, #1051
- Added
VerifyTokenSyncControllerandVerifyTokenAsyncController
reusable controllers to verify JWT access tokens, #1129 - Added test helpers in
dmr.testfor asserting that endpoints are
throttled:assert_throttling/assert_async_throttling,
reduced_throttling, andassert_throttled,
together with theHeaderValueandThrottlingLinetypes
used in their signatures, #1167
Bugfixes
- Streaming with
streaming_ping_secondsno longer leaves the pending
ping timer task behind on every produced event, #1046 - Fixed
500error on request bodies containing invalidutf-8bytes
insidemsgspec's json and msgpack parsers,
now400is correctly returned, #1135 - Properly warn users that use our
pytestplugin,
but do not havepytest_djangoinstalled, #1167 - CSRF is now ensured before any other actions in Django-Session auth, #1180,
- Fixed that
jwtextra was required inthrottlingcode, #1178 - Fixed many places that were missing
__slots__, #1185
Misc
- Enabled stricter
__slots__checks in CI, #1183 - Improved
pytestplugin docs - Added
nanodjangoand µDjango examples
to the micro-framework docs page, #1049
New Contributors
- @Dresdn made their first contribution in #1051
- @stefanofusai made their first contribution in #1138
- @gas12241 made their first contribution in #1137
- @vyhuholl made their first contribution in #1154
- @mschoettle made their first contribution in #1176
- @SaDR4M made their first contribution in #1179
- @kstypik made their first contribution in #1178
- @arimu1 made their first contribution in #1182
- @ahmadalguydi made their first contribution in #1185
Full Changelog: 0.11.0...0.12.0