All Notable changes to laravel-permission-mongodb
will be documented in this file.
- Support of PHP 8.0
- Update Relations between models
- Support of Laravel 9.x
- Added some return toward PHP 8 transitioning to require return types
- Use of DatabaseMigration and Seeder in tests
- Fix some tests (api guard is no more in auth.php by default)
- Support of Laravel 8.x
- Support of Laravel 7.x
- Defer registering permissions on the Gate instance until it's resolved
- Support of Laravel 6.x
- Fix test coverage
- Add migration files
- Update PermissionRegistrar to use Authorizable
- Improve readme description of how defaults work with multiple guards
- Replacing static Permission::class and Role::class with dynamic value
- Improve speed of findByName
- Fix wrong BelongsTo relationship
- Config cleanup
- Fixes for Lumen 5.6 compatibility
- Fix classes resolution to config values
- Fix permissions via roles
- Fixed detection of Lumen
- Add scrutinizer code intelligence
- Loose typing definitions for BelongsToMany
- Exclude yml files from export
- Move permission functionality from HasRoles Trait to HasPermissions Trait
- Allow assign/sync/remove Roles from Permission model
- Allow missing guard driver param (Spark compatibility)
- Support getting guard_name from extended model
- Add required permissions and roles in exception object
- Add the option to hide and show permissions in exceptions
- Officially support
laravel 5.6
- Improve Lumen support
- add findOrCreate to Permissions
- add findOrCreate to Roles
- use sync([]) instead of detach()
- fix soft deleting in laravel 5.2 and 5.3
- Added multiple Revoke Permissions
- Added multiple Remove Roles
- Remove SensioLabsInsight badge
- Added Lumen support
- Handle Http Exceptions as Unauthorized Exception
- Officially Support
laravel 5.5
- Give Permissions to roles in Command Line
- Fixed a bug where
Role
s andPermission
s got detached when soft deleting a model
- Add the support of
laravel 5.2
- Add the support of
laravel 5.3
- Add the support of
laravel 5.5
- Remove the support of
laravel 5.5
tilljenssegers/laravel-mongodb
supports it
- Add convertToRoleModels and convertToPermissionModels
- Register Blade extensions
- Added permission scope to HasRoles trait
- Update dependencies
- Register Blade extensions in boot instead of register
- Recreate Exceptions
- Fix most PHP Code Sniffer errors
- Fix some PHP Mess Detector errors
- Let middleware use caching
- Allow logging while exceptions
- Add getRoleNames() method to return a collection of assigned roles
- Add getPermissionNames() method to return a collection of all assigned permissions
- Adding support of
Laravel 5.5
- Remove the role and permission relation when delete user
- Code quality enhancements
- Everything, initial release