Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Releases: jpadilla/django-rest-framework-jwt

v1.11.0

23 Jun 23:57
Compare
Choose a tag to compare

Changelog

Added

  • Test on Django 1.11 #325 by @orf
  • Allow jtw_payload_handler to work with User models that don't have an Email field #268 by @shanx

Changes

  • Bump up PyJWT to 1.5.2 636539e
  • Don't require the 'token' key to override jwt_response_payload_handler #323 by @brianrower

Docs

v1.10

22 Mar 13:57
Compare
Choose a tag to compare

Changelog

Added

Changes

  • Replace login with log in when used as a verb #295 by @rriehle

Docs

v1.9.0

01 Dec 03:43
Compare
Choose a tag to compare

Changelog

Added

  • Added support for Python 3.5 #286
  • Added support for DRF 3.5 #271
  • Added support for Django 1.10 #256

v1.8

03 Apr 19:20
Compare
Choose a tag to compare

This release drops official support for Django REST Framework version 2.x as well as end of life versions of Django.

Support versions are now Django 1.8 and 1.9 with Django REST Framework 3.x.

We also add support for custom user models with Django 1.8's UUIDField as primary key.

v1.7.1

18 Aug 00:42
Compare
Choose a tag to compare

Changelog

Fixed

  • Fixed compatibility with DRF 3.2 #147

v1.7.0

17 Aug 12:42
Compare
Choose a tag to compare

Changelog

Changed

  • Upgrade PyJWT to v1.4.0. 9a43d63
  • Rely on get_by_natural_key instead of fetching by user's id. a3b4d44
  • Include optional orig_iat in jwt_payload_handler. eb20889
  • Remove throttle override in JSONWebTokenAPIView. #138

Fixed

  • Use correct input type for password form field. Fixes #133
  • Use USERNAME_FIELD in utils.jwt_payload_handler. Fixes #128

Added

  • Add support for DRF 3.2
  • Add JWT_PAYLOAD_GET_USERNAME_HANDLER setting. a3b4d44
  • Add username to jwt_payload_handler. a3b4d44
  • Add deprecation warning to jwt_payload_handler. a3b4d44
  • Add deprecation warning to jwt_get_user_id_from_payload_handler. a3b4d44

v1.6.0

12 Jun 21:39
Compare
Choose a tag to compare

Changelog

Changed

  • Speed up tests. #108
  • Bump up PyJWT version to v1.3.0. 54048f7
  • Drop support for Python 3.2. dfb3208
  • Added the ability to use custom renderers. #121

Fixed

  • Verify now does not refresh token. #109
  • Fixed testing DRF 2 with Django 1.8. #118
  • Run tests only against latest DRF versions. #122

Added

  • Add request to serializers' context. #119

tgif

v1.5.0

28 Apr 16:42
Compare
Choose a tag to compare

Changelog

Fixed

  • Catch InvalidTokenError and raise exception #100
  • Fixed verify_expiration no longer supported by PyJWT #103
  • Add Python 3.2 to tox tests #95
  • Propagate request arg in all the doc strings #90

v1.4.0

19 Mar 12:42
Compare
Choose a tag to compare

We've upgraded PyJWT to require v1.0.0 which fixes reported vulnerabilities.

v1.3.0

07 Mar 17:19
Compare
Choose a tag to compare

Thanks to all that contributed to make this release happen.