Releases: sfelix-martins/json-exception-handler
Releases · sfelix-martins/json-exception-handler
v2.3.0
v1.0.0
Added
- Added JsonAPI responses
v0.5.1
Fixed
- Renamed
getMessage()method onNotFoundHttpHandlertogetNotFoundMessage(). The method was not called.getMessage()onJsonHandlerwas being called.
v0.5.0
Added
- Added support to
NotFoundHttpException
Fixed
- Fixed call to validation methods. Call dynamically base on exception name.
- Fixed to get code and message from generated exception on
trhow newbefore default config. - Fixed methods to less code duplicated
v0.4.0
Added
- Added provider on
composer.jsonto laravel 5.5 compatibility
Fixed
- Fixed code style
v0.3.0
Added
- Added treatment to
Illuminate\Auth\Access\AuthorizationException - Added config file to set exceptions
codesandvalidation_fieldscodes
Fixed
- Fixed errors on README and instructions to use package
- Fixed not necessary field
httpCodeon response
v0.2.0
Added
- Added trait to handle
ModelNotFoundException - Added class to create response
Fixed
- Fixed methods call to make easy use the package
v0.1
Added
- Added
defaultResponse()method with default json response - Added
jsonResponse()to mount and return response - Added
validationExceptionformating response fromValidationExceptiongenerated by\Illuminate\Foundation\Validation\ValidationRequeststrait used on default Controller and generated byIlluminate\Validation\Validator