packagist spatie/laravel-permission 8.4.1

latest release: 8.5.0
4 hours ago

Fixed

  • Fix querying 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.
  • Add regression coverage for direct queries, existence checks, eager loading, counts, and relationship existence filters with populated permissions and custom UUID models. Disabled teams stay empty without affecting ordinary permissions or roles.

No breaking changes. PHP and Laravel requirements, enabled-team behavior, and route-group authorization middleware behavior are unchanged.

Full Changelog: 8.4.0...8.4.1

Don't miss a new laravel-permission release

NewReleases is sending notifications on new releases.