packagist spatie/laravel-permission 2.30.0

latest releases: dev-main, 6.10.1, 6.10.0...
5 years ago
  • Change cache time to DateInterval instead of integer(minutes)

This is in preparation for compatibility with Laravel 5.8's cache TTL change to seconds instead of minutes.

NOTE: If you leave your existing config/permission.php file alone, then with Laravel 5.8 the 60 * 24 will change from being treated as 24 hours to just 24 minutes. Depending on your app, this may or may not make a significant difference. Updating your config file to a specific DateInterval will add specificity and insulate you from the TTL change in Laravel 5.8.

Refs:
https://laravel-news.com/cache-ttl-change-coming-to-laravel-5-8
laravel/framework@fd6eb89

Don't miss a new laravel-permission release

NewReleases is sending notifications on new releases.