Releases: spatie/laravel-permission
Releases · spatie/laravel-permission
6.14.0
What's Changed
- LDAP model lookup from Auth Provider by @crossplatformconsulting in #2750
Internals
New Contributors
- @crossplatformconsulting made their first contribution in #2750
Full Changelog: 6.13.0...6.14.0
6.13.0
What's Changed
- LazyLoading: Explicitly call
loadMissing('permissions')
when the relation is needed, and test withModel::preventLazyLoading()
by @erikn69 in #2776 - [Docs] Add instructions to reinitialize cache for multi-tenancy key settings when updating multiple tenants in a single request cycle, by @sudkumar in #2804
New Contributors
Full Changelog: 6.12.0...6.13.0
6.12.0
6.11.0
What's Changed
- Add configurable team resolver for permission team id (helpful for Jetstream, etc) by @adrenallen in #2790
Internals
- Replace php-cs-fixer with Laravel Pint by @bobbrodie in #2780
Documentation Updates
- [Docs] Include namespace in example in uuid.md by @ken-tam in #2764
- [Docs] Include Laravel 11 example in exceptions.md by @frankliniwobi in #2768
- [Docs] Fix typo in code example in passport.md by @m3skalina in #2782
- [Docs] Correct username in new-app.md by @trippodi in #2785
- [Docs] Add composer specificity by @imanghafoori1 in #2772
- [Docs] Update installation-laravel.md to fix providers.php location. by @curiousteam in #2796
New Contributors
- @ken-tam made their first contribution in #2764
- @frankliniwobi made their first contribution in #2768
- @bobbrodie made their first contribution in #2780
- @m3skalina made their first contribution in #2782
- @trippodi made their first contribution in #2785
- @imanghafoori1 made their first contribution in #2772
- @curiousteam made their first contribution in #2796
- @adrenallen made their first contribution in #2790
Full Changelog: 6.10.1...6.11.0
6.10.1
6.10.0
What's Changed
- Fix
GuardDoesNotMatch should accept collection
by @erikn69 in #2748 - Improve performance for hydrated collections by @inserve-paul in #2749
- Only show error if
cache key exists
andforgetCachedPermissions
fails by @erikn69 in #2707 - Remove v5 cache fallback alias by @drbyte in #2754
Docs
- [Docs example] Check for 'all' or 'any' permissions before specific permissions by @ceilidhboy in #2694
- [Docs] Fix typo in uuid.md by @levizoesch in #2705
- [Docs] Upgrade Guide - Add PR links to upgrade guide by @mraheelkhan in #2716
- [Docs] use more modern syntax for nullable return type by @galangaidilakbar in #2719
- [Docs] camelCase variable naming in example by @KamilWojtalak in #2723
- [Docs] Update using-policies.md by @marcleonhard in #2741
- [Docs] Example of pushing custom middleware before SubstituteBindings middleware by @WyattCast44 in #2740
Other
- PHP 8.4 tests by @erikn69 in #2747
- Include
Larastan
indev
by @drbyte in #2755 - Fix comment typo by @machacekmartin in #2753
New Contributors
- @ceilidhboy made their first contribution in #2694
- @levizoesch made their first contribution in #2705
- @galangaidilakbar made their first contribution in #2719
- @KamilWojtalak made their first contribution in #2723
- @marcleonhard made their first contribution in #2741
- @WyattCast44 made their first contribution in #2740
- @inserve-paul made their first contribution in #2749
- @machacekmartin made their first contribution in #2753
Full Changelog: 6.9.0...6.10.0
6.9.0
What's Changed
- Use
->withPivot()
for teamed relationships (allowsgetPivotColumns()
) by @juliangums in #2679 - Update docblock on
$role->hasPermissionTo()
to includeBackedEnum
by @drbyte co-authored by @SanderMuller - [Docs] Clarify that
$guard_name
can be an array by @angelej in #2659 - Fix misc typos in changelog by @szepeviktor in #2686
New Contributors
- @angelej made their first contribution in #2659
- @SanderMuller made their first contribution in #2676
- @szepeviktor made their first contribution in #2686
Full Changelog: 6.8.0...6.9.0
6.8.0
6.7.0
6.6.0
What's Changed
- Roles: Support for casting role names to enums by @gajosadrian in #2616
- Fix permission:show UUID error #2581 by @drbyte in #2582
- Cover WildcardPermission instance verification based on its own guard (Allow hasAllPermissions and hasAnyPermission to run on custom guard for WildcardPermission) by @AlexandreBellas in #2608
- Register Laravel "About" details by @drbyte in #2584
New Contributors
- @gajosadrian made their first contribution in #2616
- @AlexandreBellas made their first contribution in #2608
Full Changelog: 6.5.0...6.6.0