Skip to content

Releases: spatie/laravel-permission

5.3.0

29 Oct 13:03
1c9304a
Compare
Choose a tag to compare

What's Changed

  • [Docs] Update blade-directives.md by @rizkhal in #1903
  • Option for custom logic for checking permissions by @ulhaq in #1891

New Contributors

Full Changelog: 5.2.0...5.3.0

5.2.0

28 Oct 07:55
2843185
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.1.1...5.2.0

4.4.3

28 Oct 07:55
779797a
Compare
Choose a tag to compare

What's Changed

  • [V4] Fix hints, support int on scopePermission() by @erikn69 in #1863

Full Changelog: 4.4.1...4.4.3

4.4.2

28 Oct 07:37
779797a
Compare
Choose a tag to compare

What's Changed

  • [V4] Fix hints, support int on scopePermission() by @erikn69 in #1863

Full Changelog: 4.4.1...4.4.2

5.1.1

01 Sep 20:03
58d5eb6
Compare
Choose a tag to compare
  • Avoid Roles over-hydration #1834

4.4.1

01 Sep 17:41
3c9d7ae
Compare
Choose a tag to compare
  • Avoid Roles over-hydration #1834

5.1.0

31 Aug 20:23
c2dee58
Compare
Choose a tag to compare
  • No longer flushes cache when changing role/permission assignments to users because user cache is in-memory. #1832
    (It now only flushes when changing permissions-assigned-to-roles, or roles-assigned-to-permissions.)
    NOTE: You should test your app to be sure that you don't accidentally have deep dependencies on cache resets happening automatically in these cases.
    ALSO NOTE: If you have added custom code which depended on these flush operations, you may need to add your own cache-reset calls.

5.0.0

31 Aug 18:14
579cc11
Compare
Choose a tag to compare
  • Change default-guard-lookup to prefer current user's guard
    This has been requested for a long time, but has potential breaking-changes. See BC note in #1817

  • Added Teams/Groups feature (see docs, or PR #1804)

  • Customized pivots instead of role_id,permission_id #1823

4.4.0

28 Aug 23:25
7257756
Compare
Choose a tag to compare
  • Avoid BC break (removed interface change) on cache change added in 4.3.0 #1826
  • Made cache even smaller #1826
  • Avoid re-sync on non-persisted objects when firing Eloquent::saved #1819

4.3.0

17 Aug 18:38
78eaa5e
Compare
Choose a tag to compare
  • Speed up permissions cache lookups, and make cache smaller #1799