Skip to content

Releases: sfelix-martins/json-exception-handler

v2.3.0

15 Jul 00:03
182914b
Compare
Choose a tag to compare

Changelog

Updated

  • Update for the change in the Laravel Handler

v1.0.0

16 Sep 23:28
Compare
Choose a tag to compare

Added

  • Added JsonAPI responses

v0.5.1

08 Sep 00:17
Compare
Choose a tag to compare

Fixed

  • Renamed getMessage() method on NotFoundHttpHandler to getNotFoundMessage(). The method was not called. getMessage() on JsonHandler was being called.

v0.5.0

04 Sep 02:07
Compare
Choose a tag to compare

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

02 Sep 22:13
Compare
Choose a tag to compare

Added

  • Added provider on composer.json to laravel 5.5 compatibility

Fixed

  • Fixed code style

v0.3.0

30 Aug 02:51
Compare
Choose a tag to compare

Added

  • Added treatment to Illuminate\Auth\Access\AuthorizationException
  • Added config file to set exceptions codes and validation_fields codes

Fixed

  • Fixed errors on README and instructions to use package
  • Fixed not necessary field httpCode on response

v0.2.0

29 Aug 02:30
Compare
Choose a tag to compare

Added

  • Added trait to handle ModelNotFoundException
  • Added class to create response

Fixed

  • Fixed methods call to make easy use the package

v0.1

27 Aug 21:14
Compare
Choose a tag to compare

Added

  • Added defaultResponse() method with default json response
  • Added jsonResponse() to mount and return response
  • Added validationException formating response from ValidationException generated by \Illuminate\Foundation\Validation\ValidationRequests trait used on default Controller and generated by Illuminate\Validation\Validator