Skip to content

Commit

Permalink
chore: Prepare release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EnriqueSoria committed Feb 29, 2024
1 parent 2ba92ce commit 4cc4c0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
5 changes: 1 addition & 4 deletions django_lifecycle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.1.2"
__version__ = "1.2.0"
__author__ = "Robert Singer"
__author_email__ = "[email protected]"

Expand All @@ -7,7 +7,4 @@ class NotSet(object):
pass


from .decorators import hook
from .hooks import *
from .mixins import LifecycleModelMixin
from .models import LifecycleModel

0 comments on commit 4cc4c0b

Please sign in to comment.