Skip to content

Releases: tpg/deadbolt

v1.1.3

16 Jul 14:06
Compare
Choose a tag to compare
  • The User::permissions() method has been deprecated in favour of the equality useful User::all() method in version 2.

v1.1.2

29 May 18:46
Compare
Choose a tag to compare

Small dependency update to the laravel/framework requirement because of a security issue.

v1.1.1

25 Feb 20:43
Compare
Choose a tag to compare

Did some cleaning up. There's some big changes coming in version 2 which I'll hopefully start on in the not to distant future.

The first big change to note is the removal of "groups". I've added deprecation tags and updated the README. Groups make Deadbolt overly complicated and they've always felt like a less than stellar feature. Proper roles would provide a lot more functionality. It would be a far better idea to create roles around permissions provided by Deadbolt instead of using groups.

v1.1.0

04 Dec 21:24
Compare
Choose a tag to compare

Support for Laravel 8 and PHP 8.

v1.0.1

12 Sep 19:02
Compare
Choose a tag to compare

Laravel 8 support.
Small update to DriverInterface::groups method that accepts to a single boolean.

v1.0.0

20 Aug 21:37
Compare
Choose a tag to compare

I haven't made any changes to Deadbolt since v0.3.1 and it's being used in a fair number of places. So I figured it was a good time for a 1.0 release. There are some things I might like to change, but I'm happy with the API as it is now. So v1.0. It's the same as 0.3.1, but just a new version number.

v0.3.1

09 Mar 10:14
892c23b
Compare
Choose a tag to compare

Added strict type declaration.

v0.3.0

09 Mar 06:21
Compare
Choose a tag to compare

A bunch of changes and additions.

THIS RELEASE CONTAINS BREAKING CHANGES. Please see CHANGELOG.md.

  • Permissions in the default deadbolt.php config file can now have descriptions.
  • Drivers must now return an array of permissions as keys with permission descriptions, or null if there isn't one.
  • Changed the ArrayDriver to return the new permissions array format.
  • Can now work on multiple users at a time. There is a Deadbolt::users() method that take a collection or array of user objects and returns an instance of UserCollection.
  • The UserCollection class has a bunch of additional methods for working with the collection.
  • Renamed roles to groups. The principle is the same, but they're not roles, so we've renamed them.

v0.2.7

06 Mar 21:58
Compare
Choose a tag to compare

Added a new sync method.
A simple convenience method which does the same thing as revokeAll()->give().

v0.2.6

04 Mar 11:37
Compare
Choose a tag to compare

Renamed the Deadbolt\Deadbolt class too Deadbolt\DeadboltService.
Just because it was causing some confusion in IDEs with the Deadbolt facade class.