Skip to content

Releases: dfunckt/django-rules

v3.4.0

18 May 10:32
64e5bf3
Compare
Choose a tag to compare

Highlights

  • Add support for Django 4.2 and 5.0
  • Add support for Python 3.11 and 3.12
  • Drop support for EOL Python 3.7
  • Drop support for EOL Django 2.2 and 4.0
  • Fix bug: type annotations were not used because py.typed was not always
    installed.

What's Changed

New Contributors

Full Changelog: v3.3.0...v3.4.0

v3.3.0

23 Mar 08:53
62f1754
Compare
Choose a tag to compare
  • Introduce type annotations for common APIs

v3.2.1

02 Mar 09:41
52ece8e
Compare
Choose a tag to compare
  • Fixed incorrect Django versions mentioned in CHANGELOG

v3.2.0

02 Mar 08:45
1a29ed5
Compare
Choose a tag to compare
  • Added support for Python 3.10
  • Dropped support for Python 3.6 (EOL)
  • Dropped support for Django 3.0 and 3.1 (EOL)

v3.1.0

22 Dec 17:47
2b79375
Compare
Choose a tag to compare
  • Added support for Django 4.0

v3.0.0

10 May 08:59
bc427ed
Compare
Choose a tag to compare
  • Dropped support for Python 2
  • Dropped support for Django versions before 2.2

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.

v2.2.0

30 Apr 17:45
Compare
Choose a tag to compare
  • Added compatibility with Django v3.0

v2.1.0

11 Aug 13:17
Compare
Choose a tag to compare
  • Added ability to automatically check for permissions in Django Rest Framework viewsets.
  • Added ability to automatically check for permissions in Django class-based views.
  • Added ability to automatically register permissions for models.
  • Added shim for "six" in anticipation for Django 3.0 dropping support for Python 2 and removing "six" from its codebase.

v2.0.1

07 Dec 19:11
Compare
Choose a tag to compare
  • Fixed issue with using rules in CreateView CBV

v2.0.0

22 Jul 13:59
Compare
Choose a tag to compare
  • 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.