Skip to content

build: Bump spatie/laravel-permission from 6.25.0 to 8.3.0 - #5072

Merged
kristiankunc merged 1 commit into
mainfrom
dependabot/composer/spatie/laravel-permission-8.3.0
Aug 19, 2026
Merged

kristiankunc merged 1 commit into
mainfrom
dependabot/composer/spatie/laravel-permission-8.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Bumps spatie/laravel-permission from 6.25.0 to 8.3.0.

Release notes

Sourced from spatie/laravel-permission's releases.

8.3.0

What's Changed

ALSO CHECK THE RELEASE NOTES FOR 8.2.0

Full Changelog: spatie/laravel-permission@8.2.0...8.3.0

8.2.0

What's Changed

Watch out for in your own test suite:

  • If you use custom pivot model deleting/deleted hooks to react to role/permission removal under teams, those hooks were already unreliable in this scenario and remain out of scope — switch to listening for RoleDetachedEvent / PermissionDetachedEvent instead.
  • revokePermissionTo() can now throw GuardDoesNotMatch in rare cases where it previously wouldn't have, as a side effect of routing through the same guard-check used by givePermissionTo(). 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: spatie/laravel-permission@8.1.0...8.2.0

8.1.0

What's Changed

Fixes malformed pipe strings that start with ' or " and do not end with the same quote. Normal documented usage is unchanged:

hasAnyRole('writer|admin')       // same
hasAnyRole("'writer|admin'")     // same
hasAnyRole('"writer|admin"')     // same
hasAnyRole("'writer|admin")      // changed: mismatched apostrophe is removed
hasAnyRole("'writer|admin\"")    // changed: mismatched quote is removed

also

New Contributors

Full Changelog: spatie/laravel-permission@8.0.0...8.1.0

8.0.0

What's Changed

Full Changelog: spatie/laravel-permission@7.4.2...8.0.0

... (truncated)

Changelog

Sourced from spatie/laravel-permission's changelog.

8.3.0 - 2026-07-03

What's Changed

ALSO CHECK THE RELEASE NOTES FOR 8.2.0

Full Changelog: spatie/laravel-permission@8.2.0...8.3.0

8.2.0 - 2026-07-03

What's Changed

Watch out for in your own test suite:

  • If you use custom pivot model deleting/deleted hooks to react to role/permission removal under teams, those hooks were already unreliable in this scenario and remain out of scope — switch to listening for RoleDetachedEvent / PermissionDetachedEvent instead.
  • revokePermissionTo() can now throw GuardDoesNotMatch in rare cases where it previously wouldn't have, as a side effect of routing through the same guard-check used by givePermissionTo(). 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: spatie/laravel-permission@8.1.0...8.2.0

8.1.0 - 2026-06-27

What's Changed

Fixes malformed pipe strings that start with ' or " and do not end with the same quote. Normal documented usage is unchanged:

hasAnyRole('writer|admin')       // same
hasAnyRole("'writer|admin'")     // same
hasAnyRole('"writer|admin"')     // same
hasAnyRole("'writer|admin")      // changed: mismatched apostrophe is removed
hasAnyRole("'writer|admin\"")    // changed: mismatched quote is removed

also

New Contributors

... (truncated)

Commits
  • 60e8ed5 Merge pull request #2966 from spatie/octane-tests
  • 1a04d7e ## Add wiring-level test coverage for the Octane reset listener
  • 396c747 Merge pull request #2965 from spatie/tenant-initialize-cache-issue-2964
  • e80d7b0 Fix initializeCache() not clearing in-memory perms collection on tenant/cache...
  • 9d4eb1e Update CHANGELOG
  • e97b036 Merge pull request #2961 from spatie/fix-2867-teams-custom-pivot
  • 9a43872 Apply same team detach sync to permissions
  • 5084699 Fix team delete/sync when using custom pivot class
  • 08cc164 PhpStan ignore in HasPermissions trait
  • 9acc273 Merge pull request #2963 from chengkangzai/fix/sync-permissions-detached-event
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
spatie/laravel-permission [>= 6.7.a, < 6.8]

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/spatie/laravel-permission-8.3.0 branch from df19be8 to 0af722e Compare August 3, 2026 19:05
@kristiankunc

Copy link
Copy Markdown
Contributor

May require some manual works since it's 2 majors, will check later

@kristiankunc
kristiankunc self-requested a review August 4, 2026 18:53
@dependabot
dependabot Bot force-pushed the dependabot/composer/spatie/laravel-permission-8.3.0 branch from 0af722e to 4e5de7a Compare August 10, 2026 20:03
@kristiankunc

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [spatie/laravel-permission](https://github.com/spatie/laravel-permission) from 6.25.0 to 8.3.0.
- [Release notes](https://github.com/spatie/laravel-permission/releases)
- [Changelog](https://github.com/spatie/laravel-permission/blob/main/CHANGELOG.md)
- [Commits](spatie/laravel-permission@6.25.0...8.3.0)

---
updated-dependencies:
- dependency-name: spatie/laravel-permission
  dependency-version: 8.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/spatie/laravel-permission-8.3.0 branch from 4e5de7a to 40a1a78 Compare August 19, 2026 11:49
@kristiankunc
kristiankunc merged commit 2144205 into main Aug 19, 2026
4 checks passed
@kristiankunc
kristiankunc deleted the dependabot/composer/spatie/laravel-permission-8.3.0 branch August 19, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant