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 onNotFoundHttpHandler
togetNotFoundMessage()
. The method was not called.getMessage()
onJsonHandler
was 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 new
before default config. - Fixed methods to less code duplicated
v0.4.0
Added
- Added provider on
composer.json
to 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
codes
andvalidation_fields
codes
Fixed
- Fixed errors on README and instructions to use package
- Fixed not necessary field
httpCode
on 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
validationException
formating response fromValidationException
generated by\Illuminate\Foundation\Validation\ValidationRequests
trait used on default Controller and generated byIlluminate\Validation\Validator