diff --git a/CHANGELOG.md b/CHANGELOG.md index 13f331d..01038b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ Changelog ========= +## v2.0.0 - 2018/07/22 + +- Removed support for Python 2.6 and 3.3 +- Removed 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 + to ensure one already exists +- Added compatibility with Django v2.1 +- Re-introduced support for PyPy and PyPy 3 +- Changed Python and Django supported versions policy to exclude end-of-life + versions. Support for EOL'd versions will be dropped in minor version + updates of ``rules`` from now on. + ## v1.4.0 - 2018/07/21 - Fixed masking AttributeErrors raised from CBV get_object diff --git a/rules/__init__.py b/rules/__init__.py index e70df2e..cf0f149 100644 --- a/rules/__init__.py +++ b/rules/__init__.py @@ -4,6 +4,6 @@ always_allow, always_deny, is_authenticated, is_superuser, is_staff, is_active, is_group_member) -VERSION = (1, 4, 0, 'final', 1) +VERSION = (2, 0, 0, 'final', 1) default_app_config = 'rules.apps.RulesConfig'