22
33All notable changes to ` laravel-authorization ` will be documented in this file
44
5+ ## V4.1.0 - 2026-07-11
6+
7+ ### Added
8+
9+ - Added configurable integration with Laravel's authorization Gate.
10+ - Added support for Laravel's native Gate APIs, including ` can ` middleware,
11+ when Gate integration is enabled.
12+ - Documented the default package integration and the alternative Laravel-native
13+ authorization model.
14+
15+ ### Changed
16+
17+ - Enabled the ` after ` Gate strategy by default, allowing Sentinel to act as a
18+ fallback after Laravel's own Gates and Policies.
19+ - Added ` before ` and ` null ` configuration options for applications that need
20+ Sentinel to take precedence or want to disable Gate integration.
21+ - Expanded the Gate integration test coverage for ` allows ` , ` check ` , ` any ` , and
22+ ` none ` , including their iterable authorization semantics.
23+
24+ ### Fixed
25+
26+ - Corrected the migration publishing path so the package publishes its
27+ migration file with Laravel's expected migration name.
28+
529## V4.0.0 - 2026-07-10
630
731### Changed
32+
833- Rebuilt the package for Laravel 12 and PHP 8.4 around the current PHP Sentinel authorization model.
9- - Replaced the previous package internals with Eloquent-backed role, permission, role-permission, subject-role, and subject-permission repositories.
34+ - Replaced the previous package internals with Eloquent-backed role, permission, role-permission, subject-role, and subject-permission
35+ repositories.
1036- Made application user models authorizable through the ` Authorizable ` contract and ` Authorizations ` trait.
1137- Reworked configuration, migrations, middleware aliases, default models, and service provider bindings for the new package architecture.
1238
1339### Added
40+
1441- Support for roles, direct permission grants, explicit permission denials, and inherited permissions from roles.
1542- Laravel-native authorization caching with tag-aware invalidation and a bounded fallback for cache stores without tags.
1643- ` authorization:cache:invalidate ` Artisan command for global authorization-cache invalidation.
1744- Role and permission catalog management through PHP Sentinel registries.
1845
1946### Breaking
47+
2048- This is a complete rewrite and is not backward compatible with earlier releases.
2149- Applications must migrate to the new database schema, configuration structure, authorizable model contract, and PHP Sentinel-based APIs.
2250
2351## V2.0.0 - 2022-07-11
52+
2453### Added
54+
2555- Support for Laravel 9
2656- Support for php 8.1
2757
2858## V1.1.0 - 2018-04-21
59+
2960### Added
61+
3062- Add facade ` Authenticated ` to facilitate the use of the checks of roles and permissions
3163- Enable automatic middleware configuration
3264
3365## V1.0.0 - 2018-04-15
3466
3567### Added
68+
3669- Now it is allowed to deny a permission through the methods ` deny ` and ` denyMultiple `
3770- The event ` Denied ` was added
3871
3972### Changed
73+
4074- The ` GrantableOwner ` was renamed to simply ` Owner `
4175- The ` denied ` column was added to the ` user_permissions ` table
4276
4377## V0.2.1 - 2018-04-08
4478
4579### Fixed
80+
4681- The ` AuthorizationException ` exception now extends from Throwable
4782
4883## V0.2.0 - 2018-04-02
4984
5085### Changed
86+
5187- The struct for authorizations was renamed from ` Struct ` to ` Authorization `
5288
5389## V0.1.1 - 2018-03-30
5490
5591### Added
92+
5693* Added Blade directives
5794 - ` @authenticatedCan `
5895 - ` @authenticatedCannot `
@@ -63,9 +100,11 @@ All notable changes to `laravel-authorization` will be documented in this file
63100## V0.1.0 - 2018-03-29
64101
65102### Added
103+
66104- Cache driver
67105
68106### Changed
107+
69108- Default driver is now cache
70109
71110## V0.0.1 - 2018-03-25
0 commit comments