Skip to content

Releases: k0rventen/flask-gatekeeper

v1.0.0: Major breaking changes !

16 May 18:02
Compare
Choose a tag to compare

This release breaks compatibility with pre-1.0.0.

  • args to Gatekeeper() are different both in names and types.
  • the custom return funcs have been deleted
  • specific HTTP methods can be ignored through excluded_methods

Other notable changes:

  • the test suite is simplified and covers more use cases
  • the inline doc is improved and more of it is shown on the rendered docs
  • test matrix for python 3.7 to 3.10

v0.3.3, custom return funcs & better docs

24 Oct 11:40
Compare
Choose a tag to compare
  • add support for custom return functions in the Gatekeeper constructor
  • 
auto-generated sphinx documentation to GitHub Pages
  • 
tests for python 3.10

Full Changelog: v0.3.2...v0.3.3

v0.3.2, housekeeping and fix

29 Sep 16:02
Compare
Choose a tag to compare

mainly housekeeping and fixing a mistake where reporting an ip would increase it's requests count by one.

v0.3.1! supports flask 2!

18 May 07:10
Compare
Choose a tag to compare

This small release adds support for flask 2, and requires at least python 3.7.

v0.3.0! increased timing precision

04 May 21:10
Compare
Choose a tag to compare

this moves all timestamps to float instead of ints, avoiding some same-second weir behaviour.
This also fixes a mixup in arguments, where the ban duration & ban window were inverted. A GateKeeper instance now reads properly the ban_rule list.

small fix

04 May 10:05
Compare
Choose a tag to compare

This minor update fixes a behavior when the ip_header was set but no appropriate header was supplied by a request.

v0.2 ! Supports bypass & route specific gatekeepers

02 May 16:51
f65de56
Compare
Choose a tag to compare

You can now decorate a route with bypass to ignore this route from rate-limiting.

When using the specific() decorator, you can set standalone=True, so that the global rate limit rule does not apply to it.

Unit tests have also been added.

first published version

01 May 21:06
e5e365f
Compare
Choose a tag to compare
0.1

pypi ci push