From 3e215a174030e43e7ab8c2a79c395eb0eeddc667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20H=C3=A4kli?= Date: Sat, 27 Apr 2019 18:59:17 +0300 Subject: [PATCH] Version 5.0a1 --- CHANGES.rst | 28 ++++++++++++++-------------- axes/__init__.py | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 1cd9e34b..60e5984b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,11 +1,14 @@ Changes ======= -5.0.0 (WIP) ------------ +5.0a1 (2019-04-27) +------------------ -- Improve management commands and separate commands for resetting - all access attempts, attempts by IP, and attempts by username. +- Deprecate Python 2.7, 3.4 and 3.5 support. + [aleksihakli] + +- Remove automatic decoration and monkey-patching of Django views and forms. + Decorators are available for login function and method decoration as before. [aleksihakli] - Use backend, middleware, and signal handlers for tracking @@ -14,18 +17,12 @@ Changes - Add ``AxesDatabaseHandler``, ``AxesCacheHandler``, and ``AxesDummyHandler`` handler backends for processing user login and logout events and failures. + Handlers are configurable with the ``AXES_HANDLER`` setting. [aleksihakli, jorlugaqui, joshua-s] -- Remove automatic decoration and monkey-patching of Django views and forms. - Leave decorators available for application users who wish to - decorate their own login or other views as before. - [aleksihakli] - -- Clean up code, documentation, tests, and coverage. - [aleksihakli] - -- Drop support for Python 2.7, 3.4 and 3.5. - Require minimum version of Python 3.6+ from now on. +- Improve management commands and separate commands for resetting + all access attempts, attempts by IP, and attempts by username. + New command names are ``axes_reset``, ``axes_reset_ip`` and ``axes_reset_username``. [aleksihakli] - Add support for string import for ``AXES_USERNAME_CALLABLE`` @@ -39,6 +36,9 @@ Changes Django ``authenticate`` method in authentication backends. [aleksihakli] +- Improve documentation layouting and contents. Add public API reference section. + [aleksihakli] + 4.5.4 (2019-01-15) ------------------ diff --git a/axes/__init__.py b/axes/__init__.py index bbc0edac..faadf830 100644 --- a/axes/__init__.py +++ b/axes/__init__.py @@ -1,4 +1,4 @@ -__version__ = '4.5.4' +__version__ = '5.0a1' default_app_config = 'axes.apps.AppConfig'