From f1448051193fe3ce79577e7f7f170fcc036050b1 Mon Sep 17 00:00:00 2001 From: dfunckt Date: Mon, 10 May 2021 10:48:35 +0300 Subject: [PATCH 1/3] Update README --- README.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 078ea5d..ab84b76 100644 --- a/README.rst +++ b/README.rst @@ -47,6 +47,7 @@ Table of Contents ================= - `Requirements`_ +- `Upgrading from 2.x`_ - `Upgrading from 1.x`_ - `How to install`_ @@ -83,8 +84,9 @@ Table of Contents Requirements ============ -``rules`` requires Python 3.6 or newer. It can optionally integrate with -Django, in which case requires Django 2.2 or newer. +``rules`` requires Python 3.6 or newer. The last version to support Python 2.7 +is ``rules`` 2.2. It can optionally integrate with Django, in which case +requires Django 2.2 or newer. *Note*: At any given moment in time, ``rules`` will maintain support for all currently supported Django versions, while dropping support for those versions @@ -94,6 +96,14 @@ section on Django Project website for the current state and timeline. .. _Supported Versions: https://www.djangoproject.com/download/#supported-versions +Upgrading from 2.x +================== + +The are no significant changes between ``rules`` 2.x and 3.x except dropping +support for Python 2, so before upgrading to 3.x you just need to make sure +you're running a supported Python 3 version. + + Upgrading from 1.x ================== From 1738f296af6ff7181820848dc8bdae573f2b1528 Mon Sep 17 00:00:00 2001 From: dfunckt Date: Mon, 10 May 2021 10:55:01 +0300 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df91481..e63fea6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,14 @@ Changelog ========= +## v3.0.0 - 2021/05/10 + +- Dropped support for Python 2 +- Dropped support for Django versions before 2.2 + ## v2.2.0 - 2020/01/17 -- Added compatibility with Django v3.0 +- Added support for Django v3.0 ## v2.1.0 - 2019/08/11 @@ -21,8 +26,8 @@ Changelog ## v2.0.0 - 2018/07/22 -- Removed support for Python 2.6 and 3.3 -- Removed support for Django versions before 1.11 +- Dropped support for Python 2.6 and 3.3 +- Dropped support for Django versions before 1.11 - Removed ``SkipPredicate`` exception and ``skip`` method of ``Predicate`` - Removed ``replace_rule`` and related APIs - Added ``set_rule`` and related APIs to safely replace a rule without having From 88df27a48c40e70c959ee8b754c05b7a3824dc1f Mon Sep 17 00:00:00 2001 From: dfunckt Date: Mon, 10 May 2021 10:56:08 +0300 Subject: [PATCH 3/3] Update project version --- rules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/__init__.py b/rules/__init__.py index d69fe9f..b75be65 100644 --- a/rules/__init__.py +++ b/rules/__init__.py @@ -21,6 +21,6 @@ test_rule, ) -VERSION = (2, 2, 0, "final", 1) +VERSION = (3, 0, 0, "final", 1) default_app_config = "rules.apps.RulesConfig"