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
55
66## Unreleased
77
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+
818## [ 4.1.1] - 2024-11-30
919
1020### Fixed
Original file line number Diff line number Diff line change 2525 "require" : {
2626 "php" : " ^8.2" ,
2727 "ext-json" : " *" ,
28- "laravel-json-api/core" : " ^4.3.2|^ 5.0.1" ,
28+ "laravel-json-api/core" : " ^5.0.1" ,
2929 "laravel-json-api/eloquent" : " ^4.4" ,
3030 "laravel-json-api/encoder-neomerx" : " ^4.1" ,
3131 "laravel-json-api/exceptions" : " ^3.1" ,
5353 },
5454 "extra" : {
5555 "branch-alias" : {
56- "dev-develop" : " 4 .x-dev"
56+ "dev-develop" : " 5 .x-dev"
5757 },
5858 "laravel" : {
5959 "aliases" : {
You can’t perform that action at this time.
0 commit comments