Skip to content

Comments

Bump spatie/laravel-permission from 6.24.0 to 7.1.0 in /Auth#4

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/Auth/spatie/laravel-permission-7.1.0
Closed

Bump spatie/laravel-permission from 6.24.0 to 7.1.0 in /Auth#4
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/Auth/spatie/laravel-permission-7.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Bumps spatie/laravel-permission from 6.24.0 to 7.1.0.

Release notes

Sourced from spatie/laravel-permission's releases.

7.0.0

Modernize codebase for v7

The aim for v7 is to modernize the codebase while keeping the upgrade path easy. Modern PHP/Laravel features, Pest tests, but no big architectural changes. A future v8 could then tackle larger changes and streamline the package more fundamentally.

Version requirements

  • Requires PHP ^8.4 and Laravel ^12.0
  • Test suite uses Pest ^3.0

Service provider

  • Converted to PackageServiceProvider from spatie/laravel-package-tools
  • Removed Lumen support

Class renames

  • Event classes now have an Event suffix (PermissionAttachedPermissionAttachedEvent, etc.)
  • Command classes now have a Command suffix (CacheResetCacheResetCommand, etc.)

Type safety

  • Added return types and parameter types throughout traits, middleware, exceptions, contracts, and commands

Code modernization

  • is_a($this, X::class)$this instanceof X
  • get_class($obj)$obj::class
  • strpos($x, $y) !== falsestr_contains($x, $y)
  • Constructor promotion in WildcardPermission
  • Proper use imports for global classes

Cleanup

  • Removed deprecated clearClassPermissions() method
  • Removed __construct from Wildcard contract
  • Modernized migration stubs

Testing

  • Converted entire test suite from PHPUnit to Pest (#2912)

Full Changelog: spatie/laravel-permission@6.24.1...7.0.0

6.24.1

What's Changed

Full Changelog: spatie/laravel-permission@6.24.0...6.24.1

Changelog

Sourced from spatie/laravel-permission's changelog.

7.1.0 - 2026-02-14

What's Changed

New Contributors

Full Changelog: spatie/laravel-permission@7.0.0...7.1.0

7.0.0 - 2026-02-11

Modernize codebase for v7

The aim for v7 is to modernize the codebase while keeping the upgrade path easy. Modern PHP/Laravel features, Pest tests, but no big architectural changes. A future v8 could then tackle larger changes and streamline the package more fundamentally.

Version requirements

  • Requires PHP ^8.4 and Laravel ^12.0
  • Test suite uses Pest ^3.0

Service provider

  • Converted to PackageServiceProvider from spatie/laravel-package-tools
  • Removed Lumen support

Class renames

  • Event classes now have an Event suffix (PermissionAttachedPermissionAttachedEvent, etc.)
  • Command classes now have a Command suffix (CacheResetCacheResetCommand, etc.)

Type safety

  • Added return types and parameter types throughout traits, middleware, exceptions, contracts, and commands

Code modernization

  • is_a($this, X::class)$this instanceof X
  • get_class($obj)$obj::class
  • strpos($x, $y) !== falsestr_contains($x, $y)
  • Constructor promotion in WildcardPermission
  • Proper use imports for global classes

Cleanup

  • Removed deprecated clearClassPermissions() method
  • Removed __construct from Wildcard contract
  • Modernized migration stubs

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [spatie/laravel-permission](https://github.com/spatie/laravel-permission) from 6.24.0 to 7.1.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.24.0...7.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Feb 16, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 23, 2026

Superseded by #7.

@dependabot dependabot bot closed this Feb 23, 2026
@dependabot dependabot bot deleted the dependabot/composer/Auth/spatie/laravel-permission-7.1.0 branch February 23, 2026 00:20
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.

0 participants