Skip to content

Releases: florimondmanca/djangorestframework-api-key

Version 3.0.0

19 Oct 04:14
15ffd45
Compare
Choose a tag to compare

3.0.0 - 2023-09-30

Changed

  • Use faster SHA512-based key hasher instead of password hashers. Reduces server load by making API key validation orders of magnitude faster (10x to 30x according to estimations, network latency aside). Hashed key will be transparently upgraded the first time .is_valid() is called. (Pull #244, Pull #251)

Removed

  • Dropped support for Python 3.7, which has reached EOL. (Pull #247)
  • Drop redundant .has_object_permission() implementation on BaseHasAPIKey when using DRF 3.14.0 or above. (Pull #240)

Added

  • Add official support for Python 3.11. (Pull #247)

Version 2.3.0

19 Jan 18:44
Compare
Choose a tag to compare

2.3.0 - 2023-01-19

Removed

  • Drop support for Python 3.6, which has reached EOL. (Pull #210)

Fixed

  • Fix migration 0004 when run against a non default database. (Pull #215)

Version 2.2.0

11 Mar 15:14
bc29248
Compare
Choose a tag to compare

2.2.0 - 2022-03-11

Added

  • Added support for Django config detection for different versions (PR #187)

Changed

  • Add official support for Django 3.2 and Python 3.9 and 3.10 (PR #189)
  • Bumped hashed_key field's max_length from 100 to 150 to address length issue with argon2-cffi (PR #193)

Version 2.1.0

24 Sep 09:44
b4e470b
Compare
Choose a tag to compare

2.1.0 - 2021-09-24

Added

  • Add support for custom API keyword. (Pull #175)