Releases: spatie/laravel-permission
Releases · spatie/laravel-permission
4.4.1
5.1.0
- No longer flushes cache when changing role/permission assignments to users because user cache is in-memory. #1832
(It now only flushes when changing permissions-assigned-to-roles, or roles-assigned-to-permissions.)
NOTE: You should test your app to be sure that you don't accidentally have deep dependencies on cache resets happening automatically in these cases.
ALSO NOTE: If you have added custom code which depended on these flush operations, you may need to add your own cache-reset calls.
5.0.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.1
4.0.0 (Requires Laravel 6.0+ and PHP 7.2.5+)
4.0.0 - 2021-01-27
- Drop support on Laravel 5.8 #1615
- Fix bug when adding roles to a model that doesn't yet exist #1663
- Enforce unique constraints on database level #1261
- Changed PermissionRegistrar::initializeCache() public to allow reinitializing cache in custom situations. #1521
- Use Eloquent\Collection instead of Support\Collection for consistency, collection merging, etc #1630
This package now requires PHP 7.2.5 and Laravel 6.0 or higher.
If you are on a PHP version below 7.2.5 or a Laravel version below 6.0 you can use an older version of this package.