Releases: mikebronner/laravel-governor
Releases · mikebronner/laravel-governor
0.5.1
Updated
- README with more detailed instructions on initial setup on an empty database.
Fixed
- CreatedListener to detect edge-cases where database may not be migrated fully.
0.5.0
Updated
- to work with Laravel 5.5.
0.4.5
Fixed
create
ability check to not require a second parameter.
0.4.4: Added missing use statement for Collection, fixed reference to Permis…
Pre-release
Fixed
- missing use statement for Collection.
- type in use statement for Permission.
0.4.3
Fixes
- missing use statement for Permission class in Governable trait.
0.4.2
Added
permissions
attribute to Governable trait, which returns a Collection of all permissions associated with the model.
0.4.1
Removed
- erroneous composer.json entry for Laravel 5.1 compatibility.
Upgrade to Laravel 5.4
This plugin is unfortunately no longer backwards compatible, and trying to add backwards compatibility proved to be difficult to maintain and very time-consuming. So for now, we will try to maintain backward compatibility where possible as we move forward with newer Laravel releases, but won't guarantee it.
Added
- Laravel 5.4 compatibility.
- automatic policy detection, making Entity seeding unnecessary.
- automatic adding of
created_by
column in tables, regardless of models. - PHPCI integration.
- initial set of tests, with more to come.
- config file documentation.
Fixed
- role editing form.
Changed
- views to use the projects master layout file and be easier to publish.
- config settings to be more appropriate.
- controllers and models with PHP7 stuff and general clean up.
- routes to use dedicated folder.
- traits to use dedicated folder.
- policies to be much more concise, no methods needed.
- config variables to be more consistent.
- updated README documentation.
Laravel 5.2 Compatible
Added
$incrementing = false;
to classes usingname
as primary key.- use statements in migrations.
Changed
- added routes to
web
route group. - creation of
$user
using helper methodsapp()
andconfig()
.
0.2.1
Fixed
- reference to User model primary key to not use
$user->id
, but instead$user->getKey()
.
Changed
- installation instructions to make sure a User exists in the system.