Skip to content

Commit 2278379

Browse files
author
Alistair Kearney
committed
Updated with unreleased changes
1 parent fea2401 commit 2278379

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [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)
718

819
## [0.2.0] - 2016-05-03
920
#### Added
@@ -38,5 +49,5 @@ None
3849
- Added Symphony PDO as requirement
3950

4051
[Unreleased]: https://github.com/pointybeard/api_framework/compare/v0.2.0...integration
41-
[0.1.2]: https://github.com/pointybeard/api_framework/compare/v0.1.1...v0.2.0
52+
[0.2.0]: https://github.com/pointybeard/api_framework/compare/v0.1.1...v0.2.0
4253
[0.1.1]: https://github.com/pointybeard/api_framework/compare/v0.1.0...v0.1.1

0 commit comments

Comments
 (0)