- Enh #18: Added
SoftDeleteBehavior::$useRestoreAttributeValuesAsDefaults
allowing set default soft-delete attribute values on record insertion (leandrogehlen, klimov-paul)
- Enh: Created
SoftDeleteQueryBehavior
allowing records filtering using "soft delete" criteria (klimov-paul)
- Bug: Fixed
safeDelete()
method does not catch\Throwable
(klimov-paul) - Enh #13: Methods
softDelete()
andrestore()
now supports optimistic locking (klimov-paul) - Enh #15: Methods
softDelete()
andrestore()
now supports transactional operations (tunecino, klimov-paul)
- Bug #4: Fixed model attributes changes at 'beforeSoftDelete' and 'beforeRestore' events are not applied (klimov-paul)
- Initial release.