-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from MarcinOrlowski/rb-17-allow-api-codes-with…
…-success-methods-too [RB-17] allow api codes with success methods. Closes #17
- Loading branch information
Showing
22 changed files
with
547 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# API Response Builder for Laravel 5 # | ||
|
||
`ResponseBuilder` follows [Semantic Versioning](http://semver.org/). | ||
|
||
You need to worry about backward compatibility if you are upgrading from previous major version of the package. | ||
|
||
### v3 ### | ||
|
||
* `success()` now accepts (optional) `api_code` too, therefore signature of this method as well as and argument | ||
order changed. This makes it **partially** incompatible with what have been in v2, however in majority of uses | ||
this change should pose no threat at all. If you were just calling `success()` or `success($data)` (which is | ||
99,9% of use cases) then you are all fine and no change is needed. But if you were setting own | ||
`http_code` or `lang_args` when calling `success()` then you need to update your code. | ||
|
||
### v2 ### | ||
|
||
* First public release. | ||
|
||
### v1 ### | ||
|
||
* Initial (internal) release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.