Skip to content

Commit 7fa1561

Browse files
Merge pull request #51 from MarcinOrlowski/dev
Release v3.2.1
2 parents 0e58d7f + 24b3455 commit 7fa1561

File tree

5 files changed

+23
-21
lines changed

5 files changed

+23
-21
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ See [compatibility docs](docs/compatibility.md) for details about backward compa
44

55
## CHANGE LOG ##
66

7+
* v3.2.1 (2017-04-06)
8+
* [RB-49] Fixed `artisan vendor:publish` not publishing config file correctly
9+
710
* v3.2.0 (2017-03-02)
811
* [RB-42] Default value of `encoding_options` include `JSON_UNESCAPED_UNICODE` to prevent unicode escaping
912
* [RB-41] Updated documentation

README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ nice, normalized and easy to consume REST API responses.
88
[![Codacy Grade Badge](https://api.codacy.com/project/badge/Grade/44f427e872e2480597bde0242417a2a7)](https://www.codacy.com/app/MarcinOrlowski/laravel-api-response-builder?utm_source=github.com&utm_medium=referral&utm_content=MarcinOrlowski/laravel-api-response-builder&utm_campaign=Badge_Grade)
99
[![Monthly Downloads](https://poser.pugx.org/marcin-orlowski/laravel-api-response-builder/d/monthly)](https://packagist.org/packages/marcin-orlowski/laravel-api-response-builder)
1010
[![License](https://poser.pugx.org/marcin-orlowski/laravel-api-response-builder/license)](https://packagist.org/packages/marcin-orlowski/laravel-api-response-builder)
11+
[![Dependency Status](https://dependencyci.com/github/MarcinOrlowski/laravel-api-response-builder/badge)](https://dependencyci.com/github/MarcinOrlowski/laravel-api-response-builder)
1112

1213
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/5c5f4dc1-41d5-49f9-b4ba-6268aa3fea00/big.png)](https://insight.sensiolabs.com/projects/5c5f4dc1-41d5-49f9-b4ba-6268aa3fea00)
1314

@@ -17,7 +18,7 @@ nice, normalized and easy to consume REST API responses.
1718
## Table of contents ##
1819

1920
**Upgrading from previous version? Ensure you read [compatibility docs](docs/compatibility.md) prior altering your `composer.json`!**
20-
21+
2122
* [Features](#features)
2223
* [Documentation](docs/docs.md)
2324
* [Bugs reports and pull requests](#contributing)
@@ -28,35 +29,34 @@ nice, normalized and easy to consume REST API responses.
2829

2930
## Donations ##
3031

31-
`ResponseBuilder` is free software (see [License](#license)) and you can use it fully free of charge in any of your projects, open source or
32-
commercial, however if you feel it prevent you from reinventing the wheel, helped having your projects done or simply saved you time and money
32+
`ResponseBuilder` is free software and you can use it fully free of charge in any of your projects, open source or commercial,
33+
however if you feel it prevent you from reinventing the wheel, helped having your projects done or simply saved you time and money
3334
then then feel free to donate to the project. Send some Bitcoins (BTC) to `1LbfbmZ1KfSNNTGAEHtP63h7FPDEPTa3Yo`.
3435

3536
![BTC](http://i.imgur.com/mUe8olT.png)
3637

37-
Thanks for all the fish!
38-
3938
----
4039

4140
## Features ##
4241

43-
* Supports Laravel 5.1 and newer
44-
* Easy to use
45-
* Configurable (with ready-to-use defaults)
46-
* Localization support
47-
* Automated object conversion with custom mapping
48-
* Code ranges to support cascaded APIs
49-
* Built-in exception handler to ensure your API stays consumable even in case of unexpected
50-
* No extra dependencies and low requirements
51-
* Stable, production ready.
42+
* Easy to use,
43+
* [Stable and production ready](https://travis-ci.org/MarcinOrlowski/laravel-api-response-builder),
44+
* Laravel 5.1, 5.2, 5.3 and 5.4 compatible,
45+
* Works on PHP 5.5, 5.6, 7.0, 7.1 and [HHVM](http://hhvm.com/),
46+
* Configurable (with ready-to-use defaults),
47+
* Localization support,
48+
* Automatic object conversion with custom mapping,
49+
* API chaining/cascading support,
50+
* Provides [exception handler helper](docs/exceptions.md) to ensure your API stays consumable even in case of unexpected,
51+
* No extra dependencies.
5252

5353
----
5454

5555
## Contributing ##
5656

5757
Please report any issue spotted using [GitHub's project tracker](https://github.com/MarcinOrlowski/laravel-api-response-builder/issues).
58-
59-
If you'd like to contribute to the this project, please [open new ticket](https://github.com/MarcinOrlowski/laravel-api-response-builder/issues)
58+
59+
If you'd like to contribute to the this project, please [open new ticket](https://github.com/MarcinOrlowski/laravel-api-response-builder/issues)
6060
**before doing any work**. This will help us save your
6161
time in case I'd not be able to accept such changes. But if all is good and clear then follow common routine:
6262

@@ -65,8 +65,6 @@ time in case I'd not be able to accept such changes. But if all is good and clea
6565
* do your changes
6666
* send pull request
6767

68-
Thanks in advance!
69-
7068
----
7169

7270
## License ##

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "marcin-orlowski/laravel-api-response-builder",
33
"description": "Helps building nice, normalized and easy to consume REST API responses.",
44
"homepage": "https://github.com/MarcinOrlowski/laravel-api-response-builder",
5-
"version": "3.2.0",
5+
"version": "3.2.1",
66
"keywords": [
77
"laravel",
88
"json",

docs/compatibility.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
99,9% of use cases) then you are all fine and no change is needed. But if you were setting own
1111
`http_code` or `lang_args` when calling `success()` then you need to update your code.
1212
* `:api_code` is now the code value placeholder in all the strings. `:error_code` is no longer supported
13-
* ApiCodeBase's `getErrorCodeConstants()` is now `getApiCogideConstants()`
13+
* `ErrorCodes` class is now `ApiCodeBase`
14+
* ApiCodeBase's `getErrorCodeConstants()` is now `getApiCodeConstants()`
1415
* ApiCodeBase's `getMapping()` is now `getCodeMessageKey()`
1516
* ApiCodeBase's `getBaseMapping()` is now `getReservedCodeMessageKey()`
1617

src/ResponseBuilderServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function boot()
4040
{
4141
$this->loadTranslationsFrom(__DIR__ . '/lang', 'response-builder');
4242

43-
$source = dirname(__DIR__ . '/../config/response_builder.php');
43+
$source = __DIR__ . '/../config/response_builder.php';
4444
$this->publishes([
4545
$source => config_path('response_builder.php'),
4646
]);

0 commit comments

Comments
 (0)