You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,18 @@ All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
5
## [Unreleased]
6
-
None
6
+
#### Added
7
+
- Added `JSON_UNESCAPED_SLASHES` to avoid unnecessary escaping of slashes in output. (#8)
8
+
- Added new abstract extension `AbstractApiException` which is used by `ControllerNotFoundException` and `MethodNotAllowedException`. Allows setting of HTTP response code to avoid every exception thrown appearing as a '500 Internal Server Error'
9
+
10
+
#### Changed
11
+
- Updated core controller event based on changes to `ControllerNotFoundException` and `MethodNotAllowedException`
12
+
- Updated `ControllerNotFoundException` and `MethodNotAllowedException` to extend the new `AbstractApiException` class
13
+
- Updated `ExceptionHandler` to check for overloaded http response code. Calls the method `getHttpStatusCode()` if it is available
14
+
15
+
#### Fixes
16
+
- Removed the use clause for Symphony as it is redundant and causes a PHP warning
17
+
- Using API Framework exception and error handlers instead of Symphony built in. (#9)
0 commit comments