Update dependency spatie/laravel-permission to v8 #27
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/spatie-laravel-permission-8.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^6→^8Release Notes
spatie/laravel-permission (spatie/laravel-permission)
v8.5.0Compare Source
Added
canAny()andcanAll()route macros for individual routes and route groups, by @ziadoz in #2981.canAny()requires any listed permission;canAll()requires each listed array entry. Both accept strings, backed enums, and mixed arrays.can().Documentation
canAll([])adds no authorization checks. Apply authentication separately when needed.No breaking changes. PHP and Laravel requirements are unchanged. Native Laravel
can()and group middleware replacement semantics remain unchanged. Includes the released 8.4.1 disabled-teams relation fix.Full Changelog: https://github.com/spatie/laravel-permission/compare/8.4.1...8.5.0
v8.4.1Compare Source
Added
canAny()andcanAll()route macros for individual routes and route groups, by @ziadoz in #2981.canAny()requires any listed permission;canAll()requires each listed array entry. Both accept strings, backed enums, and mixed arrays.can().Documentation
canAll([])adds no authorization checks. Apply authentication separately when needed.No breaking changes. PHP and Laravel requirements are unchanged. Native Laravel
can()and group middleware replacement semantics remain unchanged. Includes the released 8.4.1 disabled-teams relation fix.Full Changelog: https://github.com/spatie/laravel-permission/compare/8.4.1...8.5.0
v8.4.0Compare Source
Fixed
teams()when teams are disabled and the database was migrated without team columns. The empty relation now uses the configured permission relation instead of joining a nonexistent team foreign key, by @AleksandrSpicyn in #2982.No breaking changes. PHP and Laravel requirements, enabled-team behavior, and route-group authorization middleware behavior are unchanged.
Full Changelog: https://github.com/spatie/laravel-permission/compare/8.4.0...8.4.1
v8.3.2Compare Source
Added
role,permissionandroleOrPermissionroute macros on route groups, including router-first and prefixed group declarations, by @ziadoz in #2980.Documentation and verification
middleware()before authorization macros, or use nested groups to add middleware without replacing authorization checks. Individual routes continue to append middleware.No breaking changes. PHP and Laravel requirements are unchanged.
Full Changelog: https://github.com/spatie/laravel-permission/compare/8.3.2...8.4.0
v8.3.1Compare Source
Performance
Verification
No breaking changes. Public APIs, persistent cache format, and PHP/Laravel support are unchanged.
Full Changelog: https://github.com/spatie/laravel-permission/compare/8.3.1...8.3.2
v8.3.0Compare Source
Fixes
hasRole()andhasAllRoles()receive a role model, including model-array checks. Fixes #2977 via #2978.pint.jsonfrom distribution archives (#2972).Maintenance
No breaking changes. PHP and Laravel support are unchanged.
Full Changelog: https://github.com/spatie/laravel-permission/compare/8.3.0...8.3.1
v8.2.0Compare Source
What's Changed
initializeCache()not clearing in-memory perms collection on tenant/cache switch by @drbyte in #2965ALSO CHECK THE RELEASE NOTES FOR 8.2.0
Full Changelog: https://github.com/spatie/laravel-permission/compare/8.2.0...8.3.0
v8.1.0Compare Source
What's Changed
->using(CustomPivot::class)) onroles()/permissions()with teams enabled. (Issue #2867) by @drbyte in #2961Watch out for in your own test suite:
deleting/deletedhooks to react to role/permission removal under teams, those hooks were already unreliable in this scenario and remain out of scope — switch to listening forRoleDetachedEvent/PermissionDetachedEventinstead.revokePermissionTo()can now throwGuardDoesNotMatchin rare cases where it previously wouldn't have, as a side effect of routing through the same guard-check used bygivePermissionTo(). This should not affect normal usage (permissions being revoked are already guard-matched), but if your tests exercise unusual multi-guard setups, re-run them against this release.Full Changelog: https://github.com/spatie/laravel-permission/compare/8.1.0...8.2.0
v8.0.0Compare Source
v7.4.2Compare Source
What's Changed
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.4.1...7.4.2
v7.4.1Compare Source
What's Changed
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.4.1...7.4.2
v7.4.0Compare Source
What's Changed
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.4.0...7.4.1
v7.3.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.3.0...7.4.0
v7.2.4Compare Source
What's Changed
Downgraded PHP requirement to 8.3.
New Contributors
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.2.4...7.3.0
v7.2.3Compare Source
What's Changed
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.2.3...7.2.4
v7.2.2Compare Source
What's Changed
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.2.1...7.2.2
v7.2.1Compare Source
What's Changed
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.2.1...7.2.2
v7.2.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.1.0...7.2.0
v7.1.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.1.0...7.2.0
v7.0.0Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/spatie/laravel-permission/compare/7.0.0...7.1.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
aeb9e6aa8c8b199dbc1d8b199dbc1d03d54dd5f303d54dd5f3f31a829a4cf31a829a4c6438320f8e6438320f8e97d7e8d0da97d7e8d0da296269e2c5296269e2c51334a4056e1334a4056e20dfd93eb220dfd93eb2c58d01176ec58d01176ee8e824464ee8e824464ebb46ee898cbb46ee898cb1904f8511b1904f851147bb9027d947bb9027d9f08ff1d36bf08ff1d36b2c892ad3f92c892ad3f9135688be1a135688be1a80fb99ffa780fb99ffa718ea4dc29f18ea4dc29ff46be2c888f46be2c88867eb83721b67eb83721bfe5323ee30fe5323ee30c49f1941dac49f1941dae68d00a875e68d00a87513d2b39caa13d2b39caa4700d29358⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: composer.lock
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.