Skip to content

Releases: alajusticia/laravel-expirable

v1.5

16 Sep 22:39
Compare
Choose a tag to compare

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

04 Mar 15:34
e8c6ec0
Compare
Choose a tag to compare

v1.3.1

03 Apr 15:26
Compare
Choose a tag to compare
  • Update dependencies for tests

v1.3

03 Apr 11:53
Compare
Choose a tag to compare
  • Support for Laravel 7
  • Update README

v1.2

16 Feb 23:43
Compare
Choose a tag to compare
  • Add tests
  • Update documentation

v1.1.1

04 Feb 10:34
Compare
Choose a tag to compare
Register new command in service provider

v1.1

02 Feb 23:33
Compare
Choose a tag to compare
  • Adds php artisan expirable:purge command to delete expired records from the database
  • Updates README file

v1.0.1

02 Feb 12:34
Compare
Choose a tag to compare
Update namespace

v1.0

19 Oct 17:53
Compare
Choose a tag to compare
Initial commit