Django-ratelimit

Latest version: v4.1.0

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

Scan your dependencies

Page 1 of 3

4.1

====

Additions:
----------

- Add RATELIMITE_HASH_ALGORITHM setting (282, 285)

Minor changes:
--------------

- Fixed links in docs (277)
- Test on Django 4.2 (284)

4.0

====

Breaking changes:
-----------------

- Renamed the package from ratelimit to django_ratelimit (226)
- Changed the default value of the decorator's block kwarg to True (271)
- Dropped support for Django versions < 3.2 (263)
- Dropped support for Python versions < 3.7 (263, 254, 266)

Additions:
----------

- Add RATELIMIT_IP_META_KEY setting (218)
- Add RATELIMIT_EXCEPTION_CLASS setting (247)
- Add a system check for cache configuration (268)

Minor changes:
--------------

- Factor up _get_ip() logic into a single place (218)
- Exception on empty REMOTE_ADDR is clearer (220)
- Moved CI process to GitHub Actions (219, 225)
- Automated release process (273)

3.0.1

======

Bug fixes
---------

- Fix import path values for rate= argument (206)

3.0

====

Breaking changes:
-----------------

- Drop Python 2 support (167)
- Drop Django < 2.1 support (167, 198)
- ratelimit no longer directly supports class methods, use
method_decorator
- Drop RatelimitMixin in favor of method_decorator
- Moved is_ratelimited to ratelimit.core from ratelimit.utils
- Moved ratelimit.utils.get_usage_count to ratelimit.core.get_usage

Additions:
----------

- Made ratelimit.core.get_usage a documented, public method.
- Add IP address masking (178)
- Add "Recipes" section to documentation

Minor changes:
--------------

- Update RatelimitMiddleware to modern style (168)
- Refactor is_ratelimited and get_usage so is_ratelimited is a thinner
wrapper

2.0.0

======

- A number of docs fixes
- Fail open when cache is unavailable
- Drop support for Django 1.8, 1.9, and 1.10
- Fix Django 2.0 compatibility and update documentation
- Test Django 2.1 support

1.1.0

======

- Test against Django 1.11 and 2.0b
- Fix 85, explicitly set cache expiration slightly longer than cache
window.
- Add Django version classifiers.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.