Skip to content

Releases: mikebronner/laravel-governor

0.5.1

21 Nov 03:43
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release

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

31 Aug 18:39
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Updated

  • to work with Laravel 5.5.

0.4.5

30 Jul 19:38
Compare
Choose a tag to compare
0.4.5 Pre-release
Pre-release

Fixed

  • create ability check to not require a second parameter.

0.4.4: Added missing use statement for Collection, fixed reference to Permis…

12 Jun 20:20
Compare
Choose a tag to compare

Fixed

  • missing use statement for Collection.
  • type in use statement for Permission.

0.4.3

12 Jun 20:16
Compare
Choose a tag to compare
0.4.3 Pre-release
Pre-release

Fixes

  • missing use statement for Permission class in Governable trait.

0.4.2

12 Jun 20:11
Compare
Choose a tag to compare
0.4.2 Pre-release
Pre-release

Added

  • permissions attribute to Governable trait, which returns a Collection of all permissions associated with the model.

0.4.1

04 Jun 23:41
Compare
Choose a tag to compare
0.4.1 Pre-release
Pre-release

Removed

  • erroneous composer.json entry for Laravel 5.1 compatibility.

Upgrade to Laravel 5.4

04 Jun 22:42
Compare
Choose a tag to compare
Pre-release

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

25 Jan 02:08
Compare
Choose a tag to compare
Pre-release

Added

  • $incrementing = false; to classes using name as primary key.
  • use statements in migrations.

Changed

  • added routes to web route group.
  • creation of $user using helper methods app() and config().

0.2.1

02 Dec 18:07
Compare
Choose a tag to compare
0.2.1 Pre-release
Pre-release

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.