Flask-gatekeeper

Latest version: v1.0.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.0

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

0.3.3

- add support for custom return functions in the Gatekeeper constructor
-
auto-generated sphinx documentation to GitHub Pages
-
tests for python 3.10

**Full Changelog**: https://github.com/k0rventen/flask-gatekeeper/compare/v0.3.2...v0.3.3

0.3.2

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

0.3.1

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

0.3.0

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.

0.2.1

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.