Skip to content

Releases: rsinger86/django-lifecycle

1.0.0

29 May 00:00
Compare
Choose a tag to compare

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

15 Feb 03:08
Compare
Choose a tag to compare
  • Adds missing packaging to install_requires. Thanks @mikedep333!

0.9.5

13 Feb 21:32
Compare
Choose a tag to compare
  • 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

13 Feb 21:25
Compare
Choose a tag to compare
  • Adds optional @hook on_commit argument for executing hooks when the database transaction is committed. Thanks @amcclosky!

0.9.3

31 Oct 20:24
Compare
Choose a tag to compare
  • Corrects package info to note that Django 3.2 is supported.

0.9.2

23 Oct 18:09
Compare
Choose a tag to compare
  • Run hooked methods inside a transaction, just as signals does. Thanks @amirmotlagh!

0.9.0

15 Feb 02:44
Compare
Choose a tag to compare
  • Prevents calling a hooked method twice with the same state. Thanks @garyd203!

0.8.1

25 Jan 04:49
Compare
Choose a tag to compare

Added missing return to delete() method override. Thanks @oaosman84!

0.8.0

11 Oct 20:04
d2b50e1
Compare
Choose a tag to compare
  • Significant performance improvements. Thanks @dralley!

0.7.7

06 Aug 01:53
Compare
Choose a tag to compare
  • Fixes issue with GenericForeignKey. Thanks @bmbouter!