Skip to content

Commit db53f2f

Browse files
committed
build!: update changelog, bump branch alias and prep for major release
1 parent e8d4e19 commit db53f2f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
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",
@@ -53,7 +53,7 @@
5353
},
5454
"extra": {
5555
"branch-alias": {
56-
"dev-develop": "4.x-dev"
56+
"dev-develop": "5.x-dev"
5757
},
5858
"laravel": {
5959
"aliases": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy