0.7.0 - 2022-12-08
- Upgraded to django-ratelimit version 4. If you are using this, and your version is older, you will have to upgrade it.
- Client addresses are now obtained from a configurable source.
See the documentation of the
BLACKLIST_ADDRESS_SOURCE
setting. Thanks to @jimmybutton.
If you are not using django-ratelimit
, you don't have to do anything.
Otherwise, follow their instructions
to upgrade to version 4.
0.6.1 - 2021-04-20
- Correction to the previous changelog entry.
0.6.0 - 2021-04-20
- Converted the middleware to a class.
In your MIDDLEWARE
in settings.py
,
change blacklist.middleware.blacklist_middleware
to blacklist.middleware.BlacklistMiddleware
.
0.5.1 - 2021-03-05
- Added a blank line for consistency. No other changes in this release.
0.5.0 - 2021-03-02
- Added logging toggle setting. Thanks to @sweldon.
- Allow custom user models. Thanks to @richardARPANET.
0.4.1 - 2020-05-10
- Limited the length of comments in rules.
- Bulk deletion of rules from the database.
0.4.0 - 2020-05-10
- Reload rules periodically.
- Major scalability improvements.
0.3.0 - 2019-12-14
- Setting to enable the automatic blacklisting of rate-limited clients (on by default).
0.2.2 - 2019-12-01
- Don't try to blacklist ratelimited clients if
BLACKLIST_ENABLE
is off.
0.2.1 - 2019-12-01
- Corrected the package version.
- Corrected the release date of version 0.2.0 in the changelog.
0.2.0 - 2019-12-01
- Render a custom error template, if configured.
- Setting to enable the blocking of blacklisted clients (on by default).
0.1.2 - 2019-06-22
- Install the
trim_blacklist
command with the package. - Corrected the link to version 0.1.1 in the changelog.
0.1.1 - 2019-06-13
- Included the version of the package in the code.
- Corrected the link to version 0.1.0 in the changelog.
0.1.0 - 2019-06-13
- Initial version.