Flask-limiter

Latest version: v3.7.0

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

Scan your dependencies

Page 9 of 16

1.3

----
Release Date: 2020-05-20

* Features

* Add new ``deduct_when`` argument that accepts a function to decorated limits
to conditionally perform depletion of a rate limit (`Pull Request 248 <https://github.com/alisaifee/flask-limiter/pull/248>`_)
* Add new ``default_limits_deduct_when`` argument to Limiter constructor to
conditionally perform depletion of default rate limits
* Add ``default_limits_exempt_when`` argument that accepts a function to
allow skipping the default limits in the ``before_request`` phase

* Bug Fix

* Fix handling of storage failures during ``after_request`` phase.

* Code Quality

* Use github-actions instead of travis for CI
* Use pytest instaad of nosetests
* Add docker configuration for test dependencies
* Increase code coverage to 100%
* Ensure pyflake8 compliance

1.2.1

------
Release Date: 2020-02-26

* Bug fix

* Syntax error in version 1.2.0 when application limits are provided through
configuration file (`Issue 241 <https://github.com/alisaifee/flask-limiter/issues/241>`_)

1.2.0

------
Release Date: 2020-02-25

* Add `override_defaults` argument to decorated limits to allow combinined defaults with decorated limits.
* Add configuration parameter RATELIMIT_DEFAULTS_PER_METHOD to control whether defaults are applied per method.
* Add support for in memory fallback without override (`Pull Request 236 <https://github.com/alisaifee/flask-limiter/pull/236>`_)
* Bug fix

* Ensure defaults are enforced when decorated limits are skipped (`Issue 238 <https://github.com/alisaifee/flask-limiter/issues/238>`_)

1.1.0

------
Release Date: 2019-10-02

* Provide Rate limit information with Exception (`Pull Request 202 <https://github.com/alisaifee/flask-limiter/pull/202>`_)
* Respect existing Retry-After header values (`Pull Request 143 <https://github.com/alisaifee/flask-limiter/pull/143>`_)
* Documentation improvements

1.0.1

------
Release Date: 2017-12-08

* Bug fix

* Duplicate rate limits applied via application limits (`Issue 108 <https://github.com/alisaifee/flask-limiter/issues/108>`_)

1.0.0

------
Release Date: 2017-11-06

* Improved documentation for handling ip addresses for applications behind proxiues (`Issue 41 <https://github.com/alisaifee/flask-limiter/issues/41>`_)
* Execute rate limits for decorated routes in decorator instead of `before_request` (`Issue 67 <https://github.com/alisaifee/flask-limiter/issues/67>`_)
* Bug Fix

* Python 3.5 Errors (`Issue 82 <https://github.com/alisaifee/flask-limiter/issues/82>`_)
* RATELIMIT_KEY_PREFIX configuration constant not used (`Issue 88 <https://github.com/alisaifee/flask-limiter/issues/88>`_)
* Can't use dynamic limit in `default_limits` (`Issue 94 <https://github.com/alisaifee/flask-limiter/issues/94>`_)
* Retry-After header always zero when using key prefix (`Issue 99 <https://github.com/alisaifee/flask-limiter/issues/99>`_)

Page 9 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.