Skip to content

Releases: nicklaw5/larapi

3.0.1

03 Feb 19:39
Compare
Choose a tag to compare

Replaced deprecated container share method with bind, for Laravel 5.4 compatibility.

3.0

26 Dec 08:29
Compare
Choose a tag to compare
3.0
  • Simplified response methods
  • Responses no longer return header status' (statusCode, stutusText) in the body of the response. They simply return a success boolean.
  • Added noContent() and unprocessableEntity() response methods.

2.1

22 Jun 23:23
Compare
Choose a tag to compare
2.1

Error responses can now return an array of errors as well as a string.

For example:

{
  "code": 400,
  "status": "Bad Request",
  "message": "error",
  "response": {
    "errorCode": 400,
    "errorMessage": [
      "'name' is required, but was not provided.",
      "'shop_category_id' is required, but was not provided."
    ]
  }
}

2.0

04 Jan 23:38
Compare
Choose a tag to compare
2.0

breaking changes introduced in this version

1.2

10 Nov 20:59
Compare
Choose a tag to compare
1.2
  • Created ability to add custom response header
  • Updated README.md

1.1.1

07 Nov 01:00
Compare
Choose a tag to compare

fixed a typo added readme.md

1.1

06 Nov 23:18
Compare
Choose a tag to compare
1.1

Release 1.0