v4.0.0
·
1124 commits
to master
since this release
- BACKWARD INCOMPATIBILE CHANGES
- [RB-59] Added option to remap response JSON keys to user provided values
- [RB-54] Debug data no longer pollutes
data
leaf. Instead, it addsdebug
dictionary to root data structure. - [RB-37] Added support for Laravel 5.3+
unauthenticated()
in Exception Handler. See new config keys defails - [RB-47] Exception Handler now supports
FormRequests
and returns all messages inResponseBuilder::KEY_MESSAGES
- Uncaught
HttpResponse::HTTP_UNAUTHORIZED
exception is now handled same wayauthentication_exception
is - [RB-56] Added configurable key for debug trace added to returned JSON response (if enabled)
- Added traits to help testing your config and ApiCodes with ease. See
Unit Testing your ApiCodes
docs for details ApiCodeBase
class is now namedBaseApiCodes
- [RB-35] ExceptionHandlerHelper is now covered by tests