Skip to content

Releases: dfunckt/django-rules

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.

v1.4.0

21 Jul 15:10
Compare
Choose a tag to compare
  • Fixed masking AttributeErrors raised from CBV get_object
  • Fixed compatibility with inspect in newer Python 3 versions
  • Added ability to replace rules and permissions

v1.3.0

12 Dec 22:42
Compare
Choose a tag to compare
  • Added support for Django 2.0
  • Added support for Django 1.11 and Python 3.6
  • Dropped support for PyPy and PyPy3

v1.2.1

13 May 12:43
Compare
Choose a tag to compare
  • Reverted "Fixed undesired caching in is_group_member factory"

v1.2.0

11 Feb 16:03
Compare
Choose a tag to compare
  • Added logging to predicates
  • Added support for Django 1.10
  • Fixed undesired caching in is_group_member factory

v1.1.1

07 Dec 09:50
Compare
Choose a tag to compare
  • Improved handling of skipped predicates

v1.1.0

07 Dec 09:49
Compare
Choose a tag to compare
  • Fixed regression that wouldn't short-circuit boolean expressions
  • Added support for Django 1.9 and Python 3.5
  • Added support for skipping predicates simply by returning None
  • Deprecated skipping predicates by raising SkipPredicate

v1.0.0

07 Dec 09:48
Compare
Choose a tag to compare
  • Initial stable public release
  • Dropped support for Python 3.2
  • Added Django test suite
  • Added function-based view decorator
  • Added class-based view mixin

v0.4

07 Dec 09:48
Compare
Choose a tag to compare
v0.4 Pre-release
Pre-release
  • Added support for creating predicates from partial functions
  • Added support for creating predicates from instance methods
  • Added predicate invocation context
  • Added support for automatically passing self to a predicate
  • Added support for discarding a predicate's result

v0.3

07 Dec 09:47
Compare
Choose a tag to compare
v0.3 Pre-release
Pre-release
  • Added compatibility with PyPy and PyPy 3
  • Added always_true() and always_false() predicates
  • Added integration with Tox
  • Bug fixes