Skip to content

Releases: alisaifee/flask-limiter

2.0.1

22 Apr 02:41
2.0.1
Compare
Choose a tag to compare

Deprecations

  • Remove deprecated get_ipaddr method
  • Remove use of six
  • Remove backward compatibility hacks for RateLimit exceptions

2.0.0

22 Apr 02:41
2.0.0
Compare
Choose a tag to compare

Drop support for python < 3.7 & Flask < 2.0

1.5

22 Apr 02:41
1.5
Compare
Choose a tag to compare
1.5

Final Release for python < 3.7

Features

  • Prepend key_prefix to extension variables attached to g
  • Expose g.view_limits

1.4

22 Apr 02:40
1.4
Compare
Choose a tag to compare
1.4

Bug Fix

  • Always set headers for conditional limits
  • Skip init_app sequence when the rate limiter is disabled

1.3.1

22 Apr 02:40
1.3.1
Compare
Choose a tag to compare

Bug Fix

  • Ensure headers provided explictely by setting _header_mapping
    take precedence over configuration values.

1.3

22 Apr 02:40
1.3
Compare
Choose a tag to compare
1.3

Features

  • Add new deduct_when argument that accepts a function to decorated limits
    to conditionally perform depletion of a rate limit (Pull Request 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

22 Apr 02:40
1.2.1
Compare
Choose a tag to compare
  • Syntax error in version 1.2.0 when application limits are provided through
    configuration file (Issue 241)

1.2.0

22 Apr 02:39
1.2.0
Compare
Choose a tag to compare

Features

  • 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)

1.1.0

22 Apr 02:39
1.1.0
Compare
Choose a tag to compare
  • Respect existing Retry-After header values (Pull Request 143)
  • Documentation improvements