diff --git a/CHANGELOG.md b/CHANGELOG.md index 517ac9b..021d38b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +# 1.2.0 (February 2024) + + - Hook condition can be now built using some predefined conditions and/or with custom ones. + - Fix `has_changed` and `changed_to` when working with mutable data (i.e.: `dict`s). Thanks @AlaaNour94 + # 1.1.2 (November 2023) - Fix: Hooks were failing if some watched field (those in `when=""` or `when_any=[...]`) was a `GenericForeignKey` diff --git a/django_lifecycle/__init__.py b/django_lifecycle/__init__.py index 4c8b152..3b08cca 100644 --- a/django_lifecycle/__init__.py +++ b/django_lifecycle/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.1.2" +__version__ = "1.2.0" __author__ = "Robert Singer" __author_email__ = "robertgsinger@gmail.com" @@ -7,7 +7,4 @@ class NotSet(object): pass -from .decorators import hook from .hooks import * -from .mixins import LifecycleModelMixin -from .models import LifecycleModel