Releases: michaeldyrynda/laravel-cascade-soft-deletes
1.5.0
Test for explicit support of Laravel 5.7
1.4.0
Add Laravel 5.6 support
1.3.0
Add Laravel 5.5 support
1.2.1
Remove composer.lock
file from package repository
1.2.0
Add Laravel 5.4 compatibility
1.1.0
Add Laravel 5.3 compatibility
1.0.5
Provides better support for hasOne
relationships, and relationship methods that return null
.
1.0.4
Thanks to @schnittstabil, adds support for cascading deletes of model grandchildren per #8, #9.
Add support for force deleting
Per #7, when using forceDelete
in combination with foreign key constraints, the forceDelete
would fail ont he parent record due to child records still existing as the cascade would only ever use delete
, updating the child records' deleted_at
column leaving them in place.
Allow the trait to be inherited
If you happen to want all of your models to implement SoftDeletes
, you can now also add the CascadeSoftDeletes
to your base model and the functionality will be correctly inherited through your child models.