File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. This projec
5
5
6
6
## Unreleased
7
7
8
+ ### Changed
9
+
10
+ - [ #298 ] ( https://github.com/laravel-json-api/laravel/pull/298 )
11
+ and [ #70 ] ( https://github.com/laravel-json-api/laravel/issues/70 ) The authorizer implementation now allows methods to
12
+ return either ` bool ` or an Illuminate Auth ` Response ` .
13
+ - ** BREAKING** The return type for the ` authorizeResource() ` method on both resource and query request classes has
14
+ changed to ` bool|Response ` (where response is the Illuminate Auth response). If you are manually calling this method
15
+ and relying on the return value being a boolean, this change is breaking. However, the vast majority of applications
16
+ should be able to upgrade without any changes.
17
+
8
18
## [ 4.1.1] - 2024-11-30
9
19
10
20
### Fixed
Original file line number Diff line number Diff line change 25
25
"require" : {
26
26
"php" : " ^8.2" ,
27
27
"ext-json" : " *" ,
28
- "laravel-json-api/core" : " ^4.3.2|^ 5.0.1" ,
28
+ "laravel-json-api/core" : " ^5.0.1" ,
29
29
"laravel-json-api/eloquent" : " ^4.4" ,
30
30
"laravel-json-api/encoder-neomerx" : " ^4.1" ,
31
31
"laravel-json-api/exceptions" : " ^3.1" ,
53
53
},
54
54
"extra" : {
55
55
"branch-alias" : {
56
- "dev-develop" : " 4 .x-dev"
56
+ "dev-develop" : " 5 .x-dev"
57
57
},
58
58
"laravel" : {
59
59
"aliases" : {
You can’t perform that action at this time.
0 commit comments