Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Update spatie/laravel-permission requirement from ^2.36|3.* to ^4.2.0 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 7, 2021

Updates the requirements on spatie/laravel-permission to permit the latest version.

Release notes

Sourced from spatie/laravel-permission's releases.

4.2.0

Add hasExactRoles method #1696

Changelog

Sourced from spatie/laravel-permission's changelog.

4.2.0 - 2021-06-04

  • Add hasExactRoles method #1696

4.1.0 - 2021-06-01

  • Refactor to resolve guard only once during middleware
  • Refactor service provider by extracting some methods

4.0.1 - 2021-03-22

  • Added note in migration for field lengths on MySQL 8. (either shorten the columns to 125 or use InnoDB)

4.0.0 - 2021-01-27

  • Drop support on Laravel 5.8 #1615
  • Fix bug when adding roles to a model that doesn't yet exist #1663
  • Enforce unique constraints on database level #1261
  • Changed PermissionRegistrar::initializeCache() public to allow reinitializing cache in custom situations. #1521
  • Use Eloquent\Collection instead of Support\Collection for consistency, collection merging, etc #1630

This package now requires PHP 7.2.5 and Laravel 6.0 or higher. If you are on a PHP version below 7.2.5 or a Laravel version below 6.0 you can use an older version of this package.

3.18.0 - 2020-11-27

  • Allow PHP 8.0

3.17.0 - 2020-09-16

  • Optional $guard parameter may be passed to RoleMiddleware, PermissionMiddleware, and RoleOrPermissionMiddleware. See #1565

3.16.0 - 2020-08-18

  • Added Laravel 8 support

3.15.0 - 2020-08-15

  • Change users relationship type to BelongsToMany

3.14.0 - 2020-08-15

  • Declare table relations earlier to improve guarded/fillable detection accuracy (relates to Aug 2020 Laravel security patch)

3.13.0 - 2020-05-19

  • Provide migration error text to stop caching local config when installing packages.

3.12.0 - 2020-05-14

  • Add missing config setting for display_role_in_exception
  • Ensure artisan permission:show command uses configured models

3.11.0 - 2020-03-03

  • Allow guardName() as a function with priority over $guard_name property #1395

3.10.1 - 2020-03-03

  • Update patch to handle intermittent error in #1370

3.10.0 - 2020-03-02

  • Ugly patch to handle intermittent error: Trying to access array offset on value of type null in #1370

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Updates the requirements on [spatie/laravel-permission](https://github.com/spatie/laravel-permission) to permit the latest version.
- [Release notes](https://github.com/spatie/laravel-permission/releases)
- [Changelog](https://github.com/spatie/laravel-permission/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spatie/laravel-permission/commits/4.2.0)

---
updated-dependencies:
- dependency-name: spatie/laravel-permission
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

0 participants