Releases: alajusticia/laravel-expirable
Releases Β· alajusticia/laravel-expirable
v1.5
Big changes (no breaking changes) avoiding conflicts/compatibility problems with other packages:
- Use of query builder macros instead of a custom Eloquent query builder
- Using trait's specific bootExpirable() method instead of overriding the parent's boot() method
New features:
- The expiration date attribute is now automatically added to the list of attributes that should be mutated to dates
- Added extendLifetimeBy() method
- Added shortenLifetimeBy() method
- Added resetExpiration() method
- Added getExpirationDate() method
- Migrations: Added reverse blueprint macro dropExpirable()
- Added tests for the new methods
Fixes:
- Added missing dependencies in the composer.json file
v1.4: Merge pull request #1 from sync667/patch-1
- Support for PHP 8
v1.3.1
- Update dependencies for tests
v1.3
- Support for Laravel 7
- Update README
v1.2
- Add tests
- Update documentation
v1.1.1
Register new command in service provider
v1.1
- Adds
php artisan expirable:purge
command to delete expired records from the database - Updates README file
v1.0.1
Update namespace
v1.0
Initial commit