Releases: rsinger86/django-lifecycle
Releases · rsinger86/django-lifecycle
1.2.4
What's Changed
- Update the initial state after calling
refresh_from_db
on the model instance by @partizaans in #158 - Extract model state methods by @EnriqueSoria in #160
- Revert to copying model state instead of deepcopying it by @EnriqueSoria in #161
New Contributors
- @partizaans made their first contribution in #158
Full Changelog: 1.2.3...1.2.4
1.2.3
- Fix imports
1.2.2
- Fix pypi release by explicitly include
conditions
folder
1.2.1
- Fix: Fix import errors
1.2.0
What's Changed
- Fix
has_changed
andchanged_to
when working with mutable data (i.e.:dict
s) by @AlaaNour94 in #151 - Hook condition can be now built using some predefined conditions and/or with custom ones by @EnriqueSoria in #150
New Contributors
- @AlaaNour94 made their first contribution in #151
Full Changelog: 1.1.2...1.2.0
1.1.2
- Fix: Hooks were failing if some watched field (those in
when=""
orwhen_any=[...]
) was aGenericForeignKey
1.1.1
- Fix: Include missing
django_lifecycle_checks
into python package
1.1.0
- Drop support for Django < 2.2.
- Confirm support for Django 5.0. Thanks @adamchainz!
- Remove urlman from required packages. Thanks @DmytroLitvinov!
- Add an optional Django check to avoid errors by not inheriting from
LifecycleModelMixin
(orLifecycleModel
) @EnriqueSoria
1.0.2
- Correct package info to note that Django 4.0, 4.1, and 4.2 are supported. Thanks @simkimsia!
1.0.1
- Initial state gets reset using
transaction.on_commit()
, fixing thehas_changed()
andinitial_value()
methods for on_commit hooks. Thanks @alb3rto269!