Skip to content

Commit 4cc4c0b

Browse files
committed
chore: Prepare release 1.2.0
1 parent 2ba92ce commit 4cc4c0b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
# 1.2.0 (February 2024)
4+
5+
- Hook condition can be now built using some predefined conditions and/or with custom ones.
6+
- Fix `has_changed` and `changed_to` when working with mutable data (i.e.: `dict`s). Thanks @AlaaNour94
7+
38
# 1.1.2 (November 2023)
49

510
- Fix: Hooks were failing if some watched field (those in `when=""` or `when_any=[...]`) was a `GenericForeignKey`

django_lifecycle/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.1.2"
1+
__version__ = "1.2.0"
22
__author__ = "Robert Singer"
33
__author_email__ = "[email protected]"
44

@@ -7,7 +7,4 @@ class NotSet(object):
77
pass
88

99

10-
from .decorators import hook
1110
from .hooks import *
12-
from .mixins import LifecycleModelMixin
13-
from .models import LifecycleModel

0 commit comments

Comments
 (0)