File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file. This project adheres to
4
4
[ Semantic Versioning] ( http://semver.org/ ) and [ this changelog format] ( http://keepachangelog.com/ ) .
5
5
6
+ ## Unreleased
7
+
8
+ ### Added
9
+
10
+ - The ` JsonApiException ` class now has a ` context() ` method. Laravel's exception handler uses this to add log context if
11
+ the exception is being logged. This means logging of JSON: API exceptions will now include the HTTP status code and the
12
+ JSON: API errors.
13
+
6
14
## [ 2.3.0] - 2022-04-11
7
15
8
16
### Added
Original file line number Diff line number Diff line change 25
25
"require" : {
26
26
"php" : " ^7.4|^8.0" ,
27
27
"ext-json" : " *" ,
28
- "laravel-json-api/core" : " ^2.2 " ,
28
+ "laravel-json-api/core" : " ^2.3 " ,
29
29
"laravel-json-api/eloquent" : " ^2.1.1" ,
30
30
"laravel-json-api/encoder-neomerx" : " ^2.0" ,
31
31
"laravel-json-api/exceptions" : " ^1.1" ,
You can’t perform that action at this time.
0 commit comments