Recent Releases of rules

rules - v3.5.0

Highlights

  • Add support for Django 5.1

What's Changed

  • fix Django Documentation path by @dpgraham4401 in https://github.com/dfunckt/django-rules/pull/192
  • Support for Django 5.1 by @kimihito in https://github.com/dfunckt/django-rules/pull/193

New Contributors

  • @dpgraham4401 made their first contribution in https://github.com/dfunckt/django-rules/pull/192
  • @kimihito made their first contribution in https://github.com/dfunckt/django-rules/pull/193

Full Changelog: https://github.com/dfunckt/django-rules/compare/v3.4.0...v3.5.0

- Python
Published by dfunckt over 1 year ago

rules - v3.4.0

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

  • Update README.rst by @Real-Gecko in https://github.com/dfunckt/django-rules/pull/172
  • Update pre-commit black and isort version by @hashlash in https://github.com/dfunckt/django-rules/pull/174
  • Upgrade GitHub Actions to v3 by @cclauss in https://github.com/dfunckt/django-rules/pull/167
  • Add support for Django 4.2, 5.0 and Python 3.11, 3.12 by @georgek in https://github.com/dfunckt/django-rules/pull/179
  • fix: install py.typed file so mypy will use included type defs by @federicobond in https://github.com/dfunckt/django-rules/pull/181
  • Update pre-commit hooks by @federicobond in https://github.com/dfunckt/django-rules/pull/182
  • Improve CI job titles by @federicobond in https://github.com/dfunckt/django-rules/pull/183
  • Run mypy as a pre-commit hook by @federicobond in https://github.com/dfunckt/django-rules/pull/184
  • Release 3.4.0 by @federicobond in https://github.com/dfunckt/django-rules/pull/188

New Contributors

  • @Real-Gecko made their first contribution in https://github.com/dfunckt/django-rules/pull/172
  • @hashlash made their first contribution in https://github.com/dfunckt/django-rules/pull/174
  • @cclauss made their first contribution in https://github.com/dfunckt/django-rules/pull/167
  • @georgek made their first contribution in https://github.com/dfunckt/django-rules/pull/179
  • @federicobond made their first contribution in https://github.com/dfunckt/django-rules/pull/181

Full Changelog: https://github.com/dfunckt/django-rules/compare/v3.3.0...v3.4.0

- Python
Published by federicobond almost 2 years ago

rules - v3.3.0

  • Introduce type annotations for common APIs

- Python
Published by dfunckt almost 4 years ago

rules - v3.2.1

  • Fixed incorrect Django versions mentioned in CHANGELOG

- Python
Published by dfunckt almost 4 years ago

rules - v3.2.0

  • Added support for Python 3.10
  • Dropped support for Python 3.6 (EOL)
  • Dropped support for Django 3.0 and 3.1 (EOL)

- Python
Published by dfunckt almost 4 years ago

rules - v3.1.0

  • Added support for Django 4.0

- Python
Published by dfunckt about 4 years ago

rules - v3.0.0

  • 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.

- Python
Published by dfunckt almost 5 years ago

rules - v2.2.0

  • Added compatibility with Django v3.0

- Python
Published by dfunckt almost 6 years ago

rules - v2.1.0

  • 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.

- Python
Published by dfunckt over 6 years ago

rules -

  • Fixed issue with using rules in CreateView CBV

- Python
Published by dfunckt about 7 years ago

rules -

  • 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.

- Python
Published by dfunckt over 7 years ago

rules -

  • Fixed masking AttributeErrors raised from CBV get_object
  • Fixed compatibility with inspect in newer Python 3 versions
  • Added ability to replace rules and permissions

- Python
Published by dfunckt over 7 years ago

rules - v1.3.0

  • Added support for Django 2.0
  • Added support for Django 1.11 and Python 3.6
  • Dropped support for PyPy and PyPy3

- Python
Published by dfunckt about 8 years ago

rules - v1.2.1

  • Reverted "Fixed undesired caching in isgroupmember factory"

- Python
Published by dfunckt almost 9 years ago

rules -

  • Added logging to predicates
  • Added support for Django 1.10
  • Fixed undesired caching in isgroupmember factory

- Python
Published by dfunckt about 9 years ago

rules -

  • Improved handling of skipped predicates

- Python
Published by dfunckt about 10 years ago

rules -

  • 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

- Python
Published by dfunckt about 10 years ago

rules -

  • Initial stable public release
  • Dropped support for Python 3.2
  • Added Django test suite
  • Added function-based view decorator
  • Added class-based view mixin

- Python
Published by dfunckt about 10 years ago

rules -

  • 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

- Python
Published by dfunckt about 10 years ago

rules -

  • Added compatibility with PyPy and PyPy 3
  • Added always_true() and always_false() predicates
  • Added integration with Tox
  • Bug fixes

- Python
Published by dfunckt about 10 years ago

rules -

  • Added compatibility with Python 3.4
  • Improved admin integration

- Python
Published by dfunckt about 10 years ago

rules -

Initial public release

- Python
Published by dfunckt about 10 years ago