File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,19 @@ All notable changes to this project will be documented in this file. This projec
5
5
6
6
## Unreleased
7
7
8
+ ### Added
9
+
10
+ - Exceptions converted to JSON: API errors when debug mode is on now include all previous exceptions.
11
+
8
12
### Changed
9
13
10
14
- Registering routes no longer results in the server instance being thread-cached. This more accurately reflects
11
15
production environments, where routes would be cached so there would be no thread-cached JSON: API server when handling
12
16
a HTTP request. This means tests (and development environments where routes are not cached) more accurately behave in
13
17
the same way as production environments.
18
+ - Exceptions thrown during the encoding process are no longer caught and re-thrown as previous exceptions. This is due
19
+ to the number of questions we receive from developers who do not check previous exceptions, despite exception messages
20
+ stating that there is a previous exception to look at.
14
21
15
22
## [ 3.1.0] - 2023-07-20
16
23
Original file line number Diff line number Diff line change 27
27
"ext-json" : " *" ,
28
28
"laravel-json-api/core" : " ^3.3" ,
29
29
"laravel-json-api/eloquent" : " ^3.1" ,
30
- "laravel-json-api/encoder-neomerx" : " ^3.0 " ,
31
- "laravel-json-api/exceptions" : " ^2.0 " ,
30
+ "laravel-json-api/encoder-neomerx" : " ^3.1 " ,
31
+ "laravel-json-api/exceptions" : " ^2.1 " ,
32
32
"laravel-json-api/spec" : " ^2.0" ,
33
33
"laravel-json-api/validation" : " ^3.0" ,
34
34
"laravel/framework" : " ^10.0"
You can’t perform that action at this time.
0 commit comments