Skip to content

Releases: alisaifee/flask-limiter

3.4.0

22 Aug 22:07
3.4.0
Compare
Choose a tag to compare

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

03 May 23:50
3.3.1
Compare
Choose a tag to compare

Chores

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

3.3.0

27 Feb 02:12
3.3.0
Compare
Choose a tag to compare

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

16 Feb 00:34
3.2.0
Compare
Choose a tag to compare

Feature

  • Allow configuring request identity

Chores

  • Improve linting with ruff
  • Update development dependencies

v3.2.0

v3.2.0

3.1.0

29 Dec 19:58
3.1.0
Compare
Choose a tag to compare

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.0b2

28 Dec 20:48
3.0.0b2
Compare
Choose a tag to compare

Breaking changes

  • Remove deprecated config variable RATELIMIT_STORAGE_URL
  • Remove legacy backward compatibility path for flask < 2
  • Enforce key_func as a required argument

Chores

  • Simplify registration of decorated function & blueprint limits

3.0.0

28 Dec 21:35
3.0.0
Compare
Choose a tag to compare

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

3.0.0b1

27 Dec 00:47
3.0.0b1
Compare
Choose a tag to compare

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

Features

  • Allow scoping regular limit decorators / context managers

2.9.2

26 Dec 22:06
2.9.2
Compare
Choose a tag to compare

Feature

  • Extend customization by http method to shared_limit decorator

2.9.1

26 Dec 18:27
2.9.1
Compare
Choose a tag to compare

Chores

  • Update documentation quick start
  • Refresh documentation for class based views