Releases: alajusticia/laravel-expirable
Laravel 11 support
- Add support for Laravel 11
v2.2
This version adds support for soft deletion in the expirable:purge
command, by @zmorris in #5
-
Add
mode
key toexpirable.php
configuration file to specify the type of delete used by theexpirable:purge
command, value defaulting tohard
. -
Add
--mode=hard/soft
option toexpirable:purge
command, taking themode
key inexpirable.php
configuration file if not specified, otherwise defaulting tohard
for backward compatibility.
v1.8
This version adds support for soft deletion in the expirable:purge
command, by @zmorris in #5
-
Add
mode
key toexpirable.php
configuration file to specify the type of delete used by theexpirable:purge
command, value defaulting tohard
. -
Add
--mode=hard/soft
option toexpirable:purge
command, taking themode
key inexpirable.php
configuration file if not specified, otherwise defaulting tohard
for backward compatibility.
v2.1
This version adds features to the purge command:
- Add ability to pass which models to delete in argument of the command
- Add
since
option to delete only the models that have expired for at least a given period of time
v1.7
This version adds features to the purge command:
- Add ability to pass which models to delete in argument of the command
- Add
since
option to delete only the models that have expired for at least a given period of time
Laravel 10 support
- Add support for Laravel 10.
- Expirable trait: Remove deprecated
$dates
property and add expirable attribute to$casts
property. - Tests: Update XML configuration schema for PHPUnit.
- Tests: Use class based factories.
v1.6.1
Update README file
Laravel 9 support
v1.6 Fix vulnerable dependencies (require illuminate/database >= 8.40.0)
v1.5.2
Use class_uses_recursive Laravel helper
v1.5.1
Fix trait detection in purge command