Skip to content

Commit 71353a4

Browse files
committed
build(deps): update exceptions and encoder-neomerx packages
1 parent fa8b6b5 commit 71353a4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
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"

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