NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1124 most downloaded on PyPI
Rate limiting for flask applications
Last release 9 months ago
06 Dec 2025
Release timing varies
gaps range from 1 weeks to 6 months
Nearly every release is documented
notes for 57 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
13 years old
113 releases · first in 2014
Ensure headers provided explictely by setting _header_mapping take precedence over configuration values.
_header_mapping
take precedence over configuration values.Release Date: 2020-05-21
Bug Fix
Ensure headers provided explictely by setting _header_mapping take precedence over configuration values.
Add new deduct_when argument that accepts a function to decorated limits to conditionally perform depletion of a rate limit (Pull Request 248)
deduct_when argument that accepts a function to decorated limits
to conditionally perform depletion of a rate limit (Pull Request 248)default_limits_deduct_when argument to Limiter constructor to
conditionally perform depletion of default rate limitsdefault_limits_exempt_when argument that accepts a function to
allow skipping the default limits in the before_request phaseafter_request phase.One column per quarter.
Syntax error in version 1.2.0 when application limits are provided through configuration file (Issue 241)
Release Date: 2020-02-26
Bug fix
Syntax error in version 1.2.0 when application limits are provided through configuration file (Issue 241)
Add configuration parameter RATELIMIT_DEFAULTS_PER_METHOD to control whether defaults are applied per method.
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)
Bug fix
Ensure defaults are enforced when decorated limits are skipped (Issue 238)
Respect existing Retry-After header values (Pull Request 143)
Release Date: 2019-10-02
Provide Rate limit information with Exception (Pull Request 202)
Respect existing Retry-After header values (Pull Request 143)
Documentation improvements
Duplicate rate limits applied via application limits (Issue 108 _)
Release Date: 2017-12-08
Bug fix
Duplicate rate limits applied via application limits (Issue 108)
Improved documentation for handling ip addresses for applications behind proxiues (Issue 41 _)
Nothing published for this version
Release Date: 2017-08-18 * Upgrade versioneer
Release Date: 2017-08-18
Upgrade versioneer
Release Date: 2017-07-26 * Add support for key prefixes
Release Date: 2017-07-26
Add support for key prefixes
Implemented application wide shared limits
Release Date: 2017-05-01
Implemented application wide shared limits
Allow reset of limiter storage if available
Release Date: 2016-03-14
Allow reset of limiter storage if available
Deprecation warning for default key_func get_ipaddr
Release Date: 2016-03-04
Deprecation warning for default key_func get_ipaddr
Support for Retry-After header
Re-expose enabled property on Limiter instance.
Release Date: 2015-11-21
Re-expose enabled property on Limiter instance.
In-memory fallback option for unresponsive storage
Release Date: 2015-11-13
In-memory fallback option for unresponsive storage
Rate limit exemption option per limit
Bug fix for reported issues of missing (limits) dependency upon installation.
Release Date: 2015-10-05
Bug fix for reported issues of missing (limits) dependency upon installation.
Release Date: 2015-10-03 * Documentation tweaks.
Release Date: 2015-10-03
Documentation tweaks.
Nothing published for this version
Release Date: 2015-09-17 * Remove outdated files from egg
Release Date: 2015-09-17
Remove outdated files from egg
Fixed compatibility with latest version of Flask-Restful
Release Date: 2015-08-06
Fixed compatibility with latest version of Flask-Restful
Release Date: 2015-06-07 * No functional change
Release Date: 2015-06-07
No functional change
Bug fix for case sensitive methods whitelist for limits decorator
Release Date: 2015-04-02
Bug fix for case sensitive methods whitelist for limits decorator
Hotfix for dynamic limits with blueprints
Release Date: 2015-03-20
Hotfix for dynamic limits with blueprints
Undocumented feature to pass storage options to underlying storage backend.
Nothing published for this version
methods keyword argument for limits decorator to specify specific http methods to apply the rate limit to.
Release Date: 2015-03-02
methods keyword argument for limits decorator to specify specific http methods to apply the rate limit to.
Release Date: 2015-02-16 * Custom error messages _.
Release Date: 2015-02-16
Use Werkzeug TooManyRequests as the exception raised when available.
Release Date: 2015-02-03
Use Werkzeug TooManyRequests as the exception raised when available.
Fix for version comparison when monkey patching Werkzeug (Issue 24 _)
Release Date: 2015-01-30
Bug Fix
(Issue 24)
Nothing published for this version
Refactor core storage & ratelimiting strategy out into the limits _ package.
Release Date: 2015-01-09
Refactor core storage & ratelimiting strategy out into the limits package.
Remove duplicate hits when stacked rate limits are in use and a rate limit is hit.
Refactoring of RedisStorage for extensibility (Issue 18 _)
Fix for responses slower than rate limiting window. (Issue 17 _.)
Release Date: 2014-10-21
Bug fix
Fix for responses slower than rate limiting window. (Issue 17.)
Bug fix: in memory storage thread safety
Release Date: 2014-10-01
Bug fix: in memory storage thread safety
Support for manually triggering rate limit check
Release Date: 2014-08-31
Support for manually triggering rate limit check
Release Date: 2014-08-26 * Header name overrides
Release Date: 2014-08-26
Header name overrides
Release Date: 2014-07-13 * Rate limiting for blueprints _
Release Date: 2014-07-13
per http method rate limit separation (Recipe _)
Release Date: 2014-07-11
per http method rate limit separation (Recipe)
documentation improvements
Release Date: 2014-06-24 * Shared limits between routes _
Release Date: 2014-06-24
Release Date: 2014-06-13 * Request Filters _
Release Date: 2014-06-13
Werkzeug < 0.9 Compatibility (Issue 6 _.)
Release Date: 2014-06-13
Bug fix
Werkzeug < 0.9 Compatibility (Issue 6.)
Hotfix : use HTTPException instead of abort to play well with other extensions.
Release Date: 2014-06-12
Hotfix : use HTTPException instead of abort to play well with other extensions.
Allow configuration overrides via extension constructor
Release Date: 2014-06-12
Allow configuration overrides via extension constructor
Improved implementation of moving-window X-RateLimit-Reset value.
Release Date: 2014-06-04
Improved implementation of moving-window X-RateLimit-Reset value.
Release Date: 2014-05-28 * Rate limiting headers _
Release Date: 2014-05-28
Memory leak when using Limiter.storage.MemoryStorage (Issue 4 _.)
Release Date: 2014-05-26
Bug fix
Memory leak when using Limiter.storage.MemoryStorage (Issue 4.)
Improved test coverage
Strict version requirement on six
Release Date: 2014-02-20
Strict version requirement on six
documentation tweaks
improved logging support for multiple handlers
Release Date: 2014-02-19
improved logging support for multiple handlers
allow callables to be passed to Limiter.limit decorator to dynamically load rate limit strings.
add a global kill switch in flask config for all rate limits.
Bug fixes
default key function for rate limit domain wasn't accounting for X-Forwarded-For header.
add new decorator to exempt routes from limiting.
Release Date: 2014-02-18
add new decorator to exempt routes from limiting.
Bug fixes
versioneer.py wasn't included in manifest.
configuration string for strategy was out of sync with docs.
python 2.6 support via counter backport
Release Date: 2014-02-15
python 2.6 support via counter backport
source docs.
Implemented configurable strategies for rate limiting.
Release Date: 2014-02-15
Implemented configurable strategies for rate limiting.
Bug fixes
better locking for in-memory storage
multi threading support for memcached storage
fix initializing the extension without an app
Release Date: 2014-02-14
Bug fixes
fix initializing the extension without an app
don't rate limit static files
Release Date: 2014-02-13 * first release.
Release Date: 2014-02-13
first release.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →