|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## v6.1.0 - 2021-04-18 |
| 3 | +## v9.0.0 - 2022-05-06 |
4 | 4 |
|
5 |
| -- Note: several breaking changes were added on this release. |
6 |
| -- Drop isRole and canMagic methods. |
7 |
| -- Fix grant, revoke, sync methods to match Laravel's attach, detach, sync method signature. |
8 |
| -- Refactor all interactions with permission to its own trait. |
9 |
| -- Added a lot of TESTS... |
10 |
| -- Fix refreshing of cache and updating policies registration. |
11 |
| -- Update resource pattern from `action.slug` to `slug-action`. Ex. `posts.create` will now become `create-posts`. |
12 |
| -- Allow comma separated role middleware. |
13 |
| -- Remove `@hasRole` redundant directive. Use `@role`. |
14 |
| - |
15 |
| -## v6.0.0 - 2021-04-17 |
16 |
| - |
17 |
| -- Allow users to directly have permissions. #38 |
18 |
| -- Drop support for Laravel 7 |
19 |
| -- Update coding style to PHP 7++ |
20 |
| -- Fix #7 |
21 |
| - |
22 |
| -## v5.1.0 - 2020-09-09 |
23 |
| - |
24 |
| -- Add support for Laravel 8. |
25 |
| - |
26 |
| -## v5.0.0 - 2020-04-02 |
27 |
| - |
28 |
| -- [BC] Use viewAny permission for index method. |
29 |
| -- Update attach, detach and sync permission functions to match the framework api. |
30 |
| -- [BC] Cast role & permission system field to bool. |
31 |
| -- Fix slug when resource is two words or more. |
32 |
| - |
33 |
| -## v4.3.0 - 2020-03-07 |
34 |
| - |
35 |
| -- Allow Laravel 7. |
36 |
| - |
37 |
| -## v4.2.0 - 2020-02-14 |
38 |
| - |
39 |
| -- Add scope havingRolesBySlugs. |
40 |
| -- Add roles property and method annotations. |
41 |
| - |
42 |
| -## v4.1.3 - 2019-09-28 |
43 |
| - |
44 |
| -- Fix FatalErrorException when overriding customPermissionMap property. |
45 |
| - |
46 |
| -## v4.1.2 - 2019-09-28 |
47 |
| - |
48 |
| -- Revert to "Implement strict comparison on permission slug." |
49 |
| -- Fix for intermittent cache issues. |
50 |
| - |
51 |
| -## v4.1.1 - 2019-09-05 |
52 |
| -- Refactor model events to RefreshCache trait. |
53 |
| -- Fix role comparison not working due to logged in user cached roles. |
54 |
| - |
55 |
| -## v4.1.0 - 2019-09-04 |
56 |
| -- Add support laravel 6.0. [#31](https://github.com/yajra/laravel-acl/pull/24) |
57 |
| - |
58 |
| -## v4.0.2 - 2019-08-31 |
59 |
| -- Implement strict comparison on permission slug. |
60 |
| -- Fix issue with cache where old permission roles are still being used for comparison. |
61 |
| - |
62 |
| -## v4.0.1 - 2019-08-22 |
63 |
| -- Resolve cache key from config. |
64 |
| - |
65 |
| -## v4.0.0 - 2019-08-22 |
66 |
| -- Use bigIncrements to match laravel 5.8 migrations. |
67 |
| -- Resolve models from config file. |
68 |
| -- Set min support to Laravel 5.8. |
69 |
| -- Fix merging of config. |
70 |
| -- Add option to configure cache. |
71 |
| - |
72 |
| -## v3.6.1 - 2019-01-08 |
73 |
| -- Fix eloquent collection. |
74 |
| - |
75 |
| -## v3.6.0 - 2018-01-03 |
76 |
| -- Add unit tests. [#24](https://github.com/yajra/laravel-acl/pull/24) |
77 |
| -- Bump to php 7.0. |
78 |
| -- Bump to phpunit 6.0. |
79 |
| - |
80 |
| -## v3.5.0 - 2017-11-21 |
81 |
| -- Add @role directive. [#22](https://github.com/yajra/laravel-acl/pull/22) |
82 |
| -- Deprecate @isRole directive in favor of @role directive. |
83 |
| - |
84 |
| -## v3.4.0 - 2017-11-21 |
85 |
| -- Add support for multiple role middleware. [#21](https://github.com/yajra/laravel-acl/pull/21) |
86 |
| -- Fix #20. |
87 |
| - |
88 |
| -## v3.3.1 - 2017-10-10 |
89 |
| -- Compare hasRole using slug. [#16](https://github.com/yajra/laravel-acl/pull/16) |
90 |
| -- Fix #8. |
91 |
| - |
92 |
| -## v3.3.0 - 2017-07-31 |
93 |
| -- Fix 3.0 branch alias. |
94 |
| -- Add support for Laravel 5.5 auto-package discovery. |
95 |
| - |
96 |
| -## v3.2.1 - 2017-07-07 |
97 |
| -- Fix publishing of migrations. |
98 |
| - |
99 |
| -## v3.2.0 - 2017-01-05 |
100 |
| -- Add github templates. |
101 |
| -- Add php_cs. |
102 |
| -- Update gitattributes. |
103 |
| - |
104 |
| -## v3.1.2 - 2017-01-05 |
105 |
| -- Removed the unnecessary variadic operator. |
106 |
| -- PR #6, credits to @orumad. |
107 |
| - |
108 |
| -## v3.1.1 - 2017-01-04 |
109 |
| -- Fix the issue with the case of variadic arguments. |
110 |
| -- PR #5, credits to @orumad. |
111 |
| - |
112 |
| -## v3.1.0 - 2016-12-22 |
113 |
| -- Add revokeRoleBySlug method. |
114 |
| -- PR #3, credits to @jiwom |
115 |
| - |
116 |
| -## v3.0.1 - 2016-12-01 |
117 |
| -- Fix permission resource middleware. |
118 |
| - |
119 |
| -## v3.0.0 - 2016-11-18 |
120 |
| - |
121 |
| -### Added |
122 |
| -- RoleMiddleware |
123 |
| -- PermissionMiddleware |
124 |
| -- CanAtLeastMiddleware |
125 |
| -- Role can ability. |
126 |
| -- @hasRole directive |
127 |
| -- @isRole directive |
128 |
| - |
129 |
| -### Deprecated |
130 |
| -- HasPermission trait getPermissionsSlug renamed to getPermissions. |
131 |
| - |
132 |
| -### Fixed |
133 |
| -- Fix doc blocks. |
134 |
| -- Fix @canAtLeast directive |
135 |
| -- Fix year on license. |
136 |
| - |
137 |
| -### Removed |
138 |
| -- Nothing |
139 |
| - |
140 |
| -### Security |
141 |
| -- Nothing |
| 5 | +- Added support for Laravel 9 |
| 6 | +- Added phpstan static analysis |
0 commit comments