Releases: rsinger86/django-lifecycle
Releases · rsinger86/django-lifecycle
1.0.0
1.0.0 (May 2022)
- Drops Python 3.6 support
- Adds
priority
hook kwarg to control the order in which hooked methods fire. Thanks @EnriqueSoria!
- Internal cleanup/refactoring. Thanks @EnriqueSoria!
0.9.6
- Adds missing
packaging
to install_requires
. Thanks @mikedep333!
0.9.5
- Makes the
has_changed
, changes_to
conditions depend on whether the field in question was included in the SQL update/insert statement by checking
the update_fields
argument passed to save.
0.9.4
- Adds optional @hook on_commit argument for executing hooks when the database transaction is committed. Thanks @amcclosky!
0.9.3
- Corrects package info to note that Django 3.2 is supported.
0.9.2
- Run hooked methods inside a transaction, just as signals does. Thanks @amirmotlagh!
0.9.0
- Prevents calling a hooked method twice with the same state. Thanks @garyd203!
0.8.1
Added missing return to delete() method override. Thanks @oaosman84!
0.8.0
- Significant performance improvements. Thanks @dralley!
0.7.7
- Fixes issue with GenericForeignKey. Thanks @bmbouter!