Releases: pointybeard/api_framework
Releases · pointybeard/api_framework
0.2.1
Added
- Added
JSON_UNESCAPED_SLASHES
to avoid unnecessary escaping of slashes in output. (#8) - Added new abstract extension
AbstractApiException
which is used byControllerNotFoundException
andMethodNotAllowedException
. Allows setting of HTTP response code to avoid every exception thrown appearing as a '500 Internal Server Error'
Changed
- Updated core controller event based on changes to
ControllerNotFoundException
andMethodNotAllowedException
- Updated
ControllerNotFoundException
andMethodNotAllowedException
to extend the newAbstractApiException
class - Updated
ExceptionHandler
to check for overloaded http response code. Calls the methodgetHttpStatusCode()
if it is available
Fixes
- Removed the use clause for Symphony as it is redundant and causes a PHP warning
- Using API Framework exception and error handlers instead of Symphony built in. (#9)
0.2.0
Added
- Transformer and Transformation classes.
- Added APIFrameworkJSONRendererAppendTransformations delegate
- Added phpunit to composer require-dev
- Added unit tests for Transformation code
- Controller names are based on full page path (#5)
- Using PSR-4 folder structure for controllers. Controllers must have a namespace. (#7)
Fixed
- Checking that controller actually exists before trying to include it (#6)
Removed
- Symphony PDO is not longer a Composer requirement as it is not used
0.1.1
Added
- Added CONTRIBUTING.md and CHANGELOG.md
Changed
- Improvements to the example controller code in README.md
- Code cleanup
- Improved README.md
Fixed
- Extension driver had include class name which meant could not install
Initial Release
Initial release of API Framework for Symphony CMS