Django Rest Framework Jwt Versions Save

JSON Web Token Authentication support for Django REST Framework

1.11.0

6 years ago

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 636539eb9452c415bbd53094186ee45d56473422
  • Don't require the 'token' key to override jwt_response_payload_handler #323 by @brianrower

Docs

  • Fix typo in jwt_get_secret_key doc #343 by @blueyed

1.10.0

7 years ago

Changelog

Added

  • Update of django, drf, python version handling in tox.ini #262 by @angvp
  • Allow using a cookie as a transport for the token #275 by @moises-silva | Docs
  • Allow secret to be kept on user model #310 by @jacoor | Docs

Changes

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

Docs

  • Minor typo and formatting correction index.md #293 by @matthewhegarty
  • Minor fix: formatting for phrase brand-new #301 by @sumittada

1.9.0

7 years ago

Changelog

Added

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

1.8.0

7 years ago

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.

1.7.1

8 years ago

Changelog

Fixed

  • Fixed compatibility with DRF 3.2 #147

1.7.0

8 years ago

Changelog

Changed

  • Upgrade PyJWT to v1.4.0. 9a43d6303acfdd0724468cbb95a72bde03f38bff
  • Rely on get_by_natural_key instead of fetching by user's id. a3b4d44d2fc34d7752793ccbade2684707bf41da
  • Include optional orig_iat in jwt_payload_handler. eb208893a223686efbf52ef81c37b915cc2edc00
  • 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. a3b4d44d2fc34d7752793ccbade2684707bf41da
  • Add username to jwt_payload_handler. a3b4d44d2fc34d7752793ccbade2684707bf41da
  • Add deprecation warning to jwt_payload_handler. a3b4d44d2fc34d7752793ccbade2684707bf41da
  • Add deprecation warning to jwt_get_user_id_from_payload_handler. a3b4d44d2fc34d7752793ccbade2684707bf41da

1.6.0

8 years ago

Changelog

Changed

  • Speed up tests. #108
  • Bump up PyJWT version to v1.3.0. 54048f751ec00d73abf110a231fca8f2340156ef
  • Drop support for Python 3.2. dfb320885e53b8ce988d3f2c6d4535488354b5d6
  • 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

1.5.0

8 years ago

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

1.4.0

9 years ago

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

1.3.0

9 years ago
  • Update en_US PO file by @migonzalvar. #83
  • Allow subclassing JSONWebTokenAuthentication by @cancan101. #80
  • Allow setting audience and issuer by @cancan101. #77
  • Added a JWT verification view by @Jwpe. #75
  • Support HyperlinkedModelSerializer by @semente. #73
  • Added JWT TestCase Class and Client by @davideme. #72

Thanks to all that contributed to make this release happen.