djangorestframework-api-key

🔐 API key permissions for Django REST Framework

MIT License

Downloads
430.5K
Stars
652
Committers
22
djangorestframework-api-key - Version 3.0.0 Latest Release

Published by florimondmanca about 1 year ago

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)
djangorestframework-api-key - Version 2.3.0

Published by florimondmanca almost 2 years ago

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)
djangorestframework-api-key - Version 2.2.0

Published by florimondmanca over 2 years ago

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)
djangorestframework-api-key - Version 2.1.0

Published by florimondmanca about 3 years ago

2.1.0 - 2021-09-24

Added

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