Skip to content

Releases: MarcinOrlowski/laravel-api-response-builder

v4.1.6

20 Jul 20:29
85aeca2
Compare
Choose a tag to compare
  • Documentation updated

v4.1.5

20 Jul 20:28
Compare
Choose a tag to compare
  • Fixed version in composer.json file

v4.1.4

20 Jul 20:28
494d867
Compare
Choose a tag to compare
  • Updated tests to run on PHP 5.6 too
  • Corrected docs

v4.1.3

22 Oct 22:07
Compare
Choose a tag to compare
  • Corrected docs

v4.1.2

10 Sep 16:53
Compare
Choose a tag to compare
  • Corrected docs
  • Fixed version in composer.json file
  • [RB-70] Added support for Laravel 5.5's auto-discovery feature

v4.1.1

10 Sep 16:53
Compare
Choose a tag to compare
  • Fixed version in composer.json file
  • [RB-70] Added support for Laravel 5.5's auto-discovery feature

v4.1.0

09 Sep 22:26
Compare
Choose a tag to compare
  • Added support for Laravel 5.5's auto-discovery feature

v4.0.2

13 Apr 14:03
Compare
Choose a tag to compare
  • Enforced HTTP code for error messages fits 400-499 range
  • validateResponseStructure() deprecated in favor of assertValidResponse()
  • Moved Orchestra's getPackageProviders() out of TestingHelpers trait

v4.0.1

10 Apr 18:54
Compare
Choose a tag to compare
  • 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 trace leaf

v4.0.0

10 Apr 09:52
Compare
Choose a tag to compare
  • 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 adds debug 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 in ResponseBuilder::KEY_MESSAGES
  • Uncaught HttpResponse::HTTP_UNAUTHORIZED exception is now handled same way authentication_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 named BaseApiCodes
  • [RB-35] ExceptionHandlerHelper is now covered by tests