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
55
66## Unreleased
77
8+ ### Added
9+
10+ - Exceptions converted to JSON: API errors when debug mode is on now include all previous exceptions.
11+
812### Changed
913
1014- Registering routes no longer results in the server instance being thread-cached. This more accurately reflects
1115 production environments, where routes would be cached so there would be no thread-cached JSON: API server when handling
1216 a HTTP request. This means tests (and development environments where routes are not cached) more accurately behave in
1317 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.
1421
1522## [ 3.1.0] - 2023-07-20
1623
Original file line number Diff line number Diff line change 2727 "ext-json" : " *" ,
2828 "laravel-json-api/core" : " ^3.3" ,
2929 "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 " ,
3232 "laravel-json-api/spec" : " ^2.0" ,
3333 "laravel-json-api/validation" : " ^3.0" ,
3434 "laravel/framework" : " ^10.0"
You can’t perform that action at this time.
0 commit comments