Skip to content

Releases: spatie/laravel-permission

6.21.0

23 Jul 16:13
6a118e8
Compare
Choose a tag to compare

What's Changed

  • Allow removing multiple roles with the removeRole method by @TobMoeller in #2859
  • [Docs] Correct middleware order for documentation example in teams-permissions.md by @dualklip in #2863

New Contributors

Full Changelog: 6.20.0...6.21.0

6.20.0

14 Jun 01:21
31c0567
Compare
Choose a tag to compare

What's Changed

  • Add translations support for exception messages by @nAa6666 in #2852

New Contributors

Full Changelog: 6.19.0...6.20.0

6.19.0

31 May 23:39
0cd412d
Compare
Choose a tag to compare

What's Changed

  • Revert "Remove collectPermissions that is not being assigned" by @erikn69 in #2851
  • Fix guard_name not used to set default attribute in Role and Permission model by @Ken-vdE in #2837

Full Changelog: 6.18.0...6.19.0

6.18.0

14 May 03:34
3c05f04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.17.0...6.18.0

6.17.0

09 Apr 22:02
02ada8f
Compare
Choose a tag to compare

What's Changed

  • Route macro functions: add backed enum support by @Yi-pixel in #2823

New Contributors

Full Changelog: 6.16.0...6.17.0

6.16.0

28 Feb 21:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.15.0...6.16.0

6.15.0

17 Feb 19:20
86074fc
Compare
Choose a tag to compare

What's Changed

  • Added 4 events for adding and removing roles or permissions by @sven-wegner in #2742
  • Fixed bug of loading user roles of different teams to current team by @mohamedds-12 in #2803

New Contributors

Full Changelog: 6.14.0...6.15.0

6.14.0

13 Feb 20:01
Compare
Choose a tag to compare

What's Changed

Internals

  • Add PHPUnit annotations, for future compatibility with PHPUnit 12 by @drbyte in #2806

New Contributors

Full Changelog: 6.13.0...6.14.0

6.13.0

05 Feb 15:45
bb3ad22
Compare
Choose a tag to compare

What's Changed

  • LazyLoading: Explicitly call loadMissing('permissions') when the relation is needed, and test with Model::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

31 Jan 01:10
420ea2a
Compare
Choose a tag to compare

What's Changed

  • Support Laravel 12

Full Changelog: 6.11.0...6.12.0