Skip to content

2.3.0

Choose a tag to compare

@alisaifee alisaifee released this 22 Apr 02:41
· 395 commits to master since this release
2.3.0

Features

  • Expose option to register a callback for rate limit breaches
    of default limits via the ~flask_limiter.Limiter.on_breach
    constructor parameter
  • Replace use of flask.g with request context for keeping track of
    extension state (327)
  • Rework implementation of ~flask_limiter.Limiter.exempt to accomodate
    nested blueprints. (326)

Chores

  • Add python 3.11 to CI
  • Extract management and filtering of limits to LimitManager
  • Improve correctness of resolving inherited limits & extensions
    when working with Blueprints (especially nested ones)