Flask Limiter Versions Save

Rate Limiting extension for Flask

3.6.0

3 weeks ago

Bug fix

  • Ensure exempt routes are exempt from meta limits as well

3.5.1

3 months ago

Chores

  • Update development dependencies
  • Use ruff for all linting
  • Update CI compatibility matrix

3.5.0

8 months ago

Feature

  • Add meta_limits to allow for creating upper limits for requesting clients to breach application rate limits.

Bug fix

  • Ensure on breach callbacks can be configured using flask config

3.4.1

8 months ago

Bug fix

  • Ensure _version.py has stable content when generated using git archive from a tag regardless of when it is run.

3.4.0

8 months ago

Feature

  • Add extended configuration for application limits
    • application_limits_exempt_when
    • application_limits_deduct_when
    • application_limits_per_method

Bug fix

  • Ensure blueprint static routes are exempt

3.3.1

1 year ago

Chores

  • Improve default limits documentation
  • Update documentation dependencies
  • Fix typing compatibility errors in headers

3.3.0

1 year ago

Bug Fix

  • Ensure per route limits are preferred (over application limits) when populating rate limiting headers in the case where no rate limit has been breached in the request.

v3.3.0

v3.3.0

3.2.0

1 year ago

Feature

  • Allow configuring request identity

Chores

  • Improve linting with ruff
  • Update development dependencies

v3.2.0

v3.2.0

3.1.0

1 year ago

Feature

  • Skip logging an error if a decorated limit uses a callable to return the "current" rate limit and returns an empty string. Treat this is a signal that the rate limit should be skipped for this request.

3.0.0

1 year ago

Breaking changes

  • Change order of extension constructor arguments to only require key_func as the first positional argument and all other arguments as keyword arguments.
  • Separate positional/keyword arguments in limit/shared_limit decorators
  • Remove deprecated config variable RATELIMIT_STORAGE_URL
  • Remove legacy backward compatibility path for flask < 2

Features

  • Allow scoping regular limit decorators / context managers