Djangorestframework-api-key

Latest version: v3.0.0

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.0.0

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)

2.3.0

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)

2.2.0

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)

2.1.0

Added

- Add support for custom API `keyword`. (Pull 175)

2.0.0

**NOTE**: this release drops compatibility with certain Python and Django versions, but contains no other breaking changes. See [Upgrade to 2.0](https://florimondmanca.github.io/djangorestframework-api-key/upgrade/2.0/) for detailed migration steps.

Removed

- Dropped support for Django 2.0 and Django 2.1. (Pull 126)
- Dropped support for Python 3.5. (Pull 84)

Added

- Add support for Django 3.0. (Pull 82)
- Add support for Python 3.8. (Pull 81)
- Add `BaseAPIKeyManager.get_from_key()` to allow retrieving API keys from views. (Pull 93)
- Add type annotations, and partial support for `django-stubs` and `djangorestframework-stubs`. (Pull 88, Pull 122)

1.4.1

Added

- Now ships with type annotations ([PEP 561](https://www.python.org/dev/peps/pep-0561/)). (Pull #73)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.