Skip to content

Releases: jazzband/django-rest-knox

3.3.1 + skipped releases (3.2.0, 3.2.1, 3.3.0)

28 Sep 11:35
143094a
Compare
Choose a tag to compare

We skipped to release 3.2.0, 3.2.1 and 3.3.0 as we had problems publishing them to pypi.

3.3.1 has:

  • Django 2.1 and Python 3.7 compability
  • Signal "token_expired" gets emitted when old tokens are deleted

Refer to changelog for more info about the skipped releases.

Bugfix release

19 Aug 15:19
d844080
Compare
Choose a tag to compare

Fix for #111: knox should not fail if setting defaults are not overwritten

Allow extension of token expiry

31 Jul 07:24
5ace943
Compare
Choose a tag to compare

Introduce new setting AUTO_REFRESH for controlling if token expiry time should be extended automatically on requests within the current expiry period.

Minor release

13 Jul 09:21
1c8f710
Compare
Choose a tag to compare
  • extended docs for using only token auth
  • better compability of ModelAdmin for setups with big user tables

Bugfix release

09 Apr 19:22
41a1726
Compare
Choose a tag to compare

Fix compability with django-rest-swagger (bad inheritance)

Bugfix release

26 Feb 14:41
07d8605
Compare
Choose a tag to compare

Avoid 500 error response for invalid-length token requests

Restore compability with Python 2.7 < 2.7.7

28 Jan 18:38
45be9d1
Compare
Choose a tag to compare

the hmac.compare_digest method is not available before Python 2.7.7
this restores a simple a==b if it is not available

Security fix

25 Jan 19:27
1cacfda
Compare
Choose a tag to compare

use hmac.compare_digest instead of == for comparing hashes for more security as reported by @fengsi

Compability with Django 2.0

18 Dec 14:27
e3eec82
Compare
Choose a tag to compare
  • drop Django 1.8 support as djangorestframework did so too in v.3.7.0
  • build rest-knox on Django 1.11 and 2.0

Drop using OpenSSL in favor of urandom for token generation

21 Sep 15:18
Compare
Choose a tag to compare