Releases: openedx/edx-drf-extensions
Releases · openedx/edx-drf-extensions
Added support for latest version of pyjwt[crypto]==2.1.0
BREAKING CHANGES:
- generate_jwt_token: Now returns string (instead of bytes), and no longer requires decoding. This was to keep consistent with change to jwt.encode in pyjwt upgrade (see below).
- BREAKING CHANGE: Upgraded dependency pyjwt[crypto] to 2.1.0, which introduces its own breaking changes that may affect consumers of this library. Pay careful attention to the 2.0.0 breaking changes documented in
https://pyjwt.readthedocs.io/en/stable/changelog.html#v2-0-0.
Added support for Django 3.1 and 3.2
Added support for the following Django versions:
- 3.1
- 3.2
Add monitoring for jwt auth failures
6.4.0: Add a new `request_is_staff_or_superuser` attribute.
Add a new request_is_staff_or_superuser
attribute.
Drop Python 3.5 Support
- Drop support for Python 3.5
Rename "custom metric" to "custom attribute"
6.1.2
Fix middleware authentication of POST requests by adding default parsers back into the Request
Latest drf-jwt is throwing error in case of any other Authorization Header
- See CHANGELOG.rst for changes.
- Latest drf-jwt is throwing error in case of any other Authorization Header except
jwt
. Fixing that issue in JwtAuthentication class.
Unpin drf-jwt
Pick up new drf-jwt functionality to blacklist jwt tokens.
See CHANGELOG.rst
- See CHANGELOG.rst for changes
- No longer add changes to Github Releases. Follow these instructions for publishing a release.
- For more information about why we are using CHANGELOG.rst over Github Releases, see the Changelog ADR.