Releases: MarcinOrlowski/laravel-api-response-builder
Releases · MarcinOrlowski/laravel-api-response-builder
v4.1.1
- Fixed
versionincomposer.jsonfile - [RB-70] Added support for Laravel 5.5's auto-discovery feature
v4.1.0
- Added support for Laravel 5.5's auto-discovery feature
v4.0.2
- Enforced HTTP code for error messages fits 400-499 range
validateResponseStructure()deprecated in favor ofassertValidResponse()- Moved Orchestra's
getPackageProviders()out ofTestingHelperstrait
v4.0.1
- TestingHelpers trait's
validateResponseStructure()method is now public - [RB-64] Fixed Exception Handler generated HTTP code being out of allowed range in some cases
- [RB-65] Exception Handler Helper now deals with messages using non-UTF8 or broken encoding
- Exception Handler's trace data is now properly placed into
traceleaf
v4.0.0
- BACKWARD INCOMPATIBILE CHANGES
- [RB-59] Added option to remap response JSON keys to user provided values
- [RB-54] Debug data no longer pollutes
dataleaf. Instead, it addsdebugdictionary 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
FormRequestsand returns all messages inResponseBuilder::KEY_MESSAGES - Uncaught
HttpResponse::HTTP_UNAUTHORIZEDexception is now handled same wayauthentication_exceptionis - [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 ApiCodesdocs for details ApiCodeBaseclass is now namedBaseApiCodes- [RB-35] ExceptionHandlerHelper is now covered by tests
v3.2.1
- [RB-49] Fixed
artisan vendor:publishnot publishing config file correctly
v3.2.0
- [RB-42] Default value of
encoding_optionsincludeJSON_UNESCAPED_UNICODEto prevent unicode escaping - [RB-41] Updated documentation
v3.1.0
- [RB-38] Added
encoding_optionsto control data-to-json conversion. - [RB-38] Added optional encoding options args to all methods accepting
dataargument - [RB-34] Added option to control ExceptionHandeler behavior on debug builds
- ExceptionHandler's debug is now added as
debugnode to make it more clear where it comes from
v3.0.3
- No changes. v3.0.2 was incorrectly released
v3.0.2
- [RB-31] Fixed incorrect exception message thrown in case of incomplete
classesconfig mapping (@dragonfire1119)