Skip to content

Commit

Permalink
Merge pull request #193 from deanblackborough/v2.12.0
Browse files Browse the repository at this point in the history
v2.11.5
  • Loading branch information
deanblackborough authored Jun 23, 2020
2 parents 960a19b + 3e676de commit 517b709
Show file tree
Hide file tree
Showing 47 changed files with 1,147 additions and 872 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ SESSION_DRIVER=database
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
REDIS_CACHE_DB=0

MAIL_DRIVER=mailgun
MAIL_HOST=smtp.mailtrap.io
Expand Down
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@

The complete changelog for the Costs to Expect REST API, our changelog follows the format defined at https://keepachangelog.com/en/1.0.0/

## [v2.13.4] - 2020-06-19
## [v2.11.5] - 2020-06-24
### Added
- We have added a documentation page; the documentation page links to the API documentation and includes a couple of examples.

### Changed
- We have updated the example ENV file.
- We have renamed a couple of our helper conversion/validation classes and moved them to a new namespace.
- We have made a minor content tweak on the landing page; the documentation button is in another section.
- We have updated and relocated our validation classes; the validation classes are now part of the `App\Request\Validate` namespace.
- We have reworked our summary controllers; we have removed some code duplication and added additional error checking.

### Fixed
- Incorrectly assuming the result will be an array with at least one value.
- We have fixed an error in the changelog; we jump a couple of minor versions.

## [v2.11.4] - 2020-06-19
### Changed
- We have switched to Redis for our cache.

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use App\Utilities\Pagination as UtilityPagination;
use App\Models\Category;
use App\Models\Transformers\Category as CategoryTransformer;
use App\Validators\Fields\Category as CategoryValidator;
use App\Request\Validate\Category as CategoryValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ItemCategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use App\Models\ItemCategory;
use App\Models\Transformers\ItemCategory as ItemCategoryTransformer;
use App\Response\Header\Headers;
use App\Validators\Fields\ItemCategory as ItemCategoryValidator;
use App\Request\Validate\ItemCategory as ItemCategoryValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ItemPartialTransferController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Request\Parameter;
use App\Request\Route;
use App\Utilities\Pagination as UtilityPagination;
use App\Validators\Fields\ItemPartialTransfer as ItemPartialTransferValidator;
use App\Request\Validate\ItemPartialTransfer as ItemPartialTransferValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ItemSubcategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use App\Models\ItemSubcategory;
use App\Models\Subcategory;
use App\Models\Transformers\ItemSubcategory as ItemSubcategoryTransformer;
use App\Validators\Fields\ItemSubcategory as ItemSubcategoryValidator;
use App\Request\Validate\ItemSubcategory as ItemSubcategoryValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ItemTransferController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Request\Parameter;
use App\Request\Route;
use App\Utilities\Pagination as UtilityPagination;
use App\Validators\Fields\ItemTransfer as ItemTransferValidator;
use App\Request\Validate\ItemTransfer as ItemTransferValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/RequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use App\Models\Transformers\RequestErrorLog as RequestErrorLogTransformer;
use App\Models\Transformers\RequestLog as RequestLogTransformer;
use App\Utilities\Pagination as UtilityPagination;
use App\Validators\Fields\RequestErrorLog as RequestErrorLogValidator;
use App\Request\Validate\RequestErrorLog as RequestErrorLogValidator;
use Exception;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\Config;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ResourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use App\Utilities\Pagination as UtilityPagination;
use App\Models\Resource;
use App\Models\Transformers\Resource as ResourceTransformer;
use App\Validators\Fields\Resource as ResourceValidator;
use App\Request\Validate\Resource as ResourceValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ResourceTypeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use App\Utilities\Pagination as UtilityPagination;
use App\Models\ResourceType;
use App\Models\Transformers\ResourceType as ResourceTypeTransformer;
use App\Validators\Fields\ResourceType as ResourceTypeValidator;
use App\Request\Validate\ResourceType as ResourceTypeValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/SubcategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use App\Utilities\Pagination as UtilityPagination;
use App\Models\Subcategory;
use App\Models\Transformers\Subcategory as SubcategoryTransformer;
use App\Validators\Fields\Subcategory as SubcategoryValidator;
use App\Request\Validate\Subcategory as SubcategoryValidator;
use Exception;
use Illuminate\Database\QueryException;
use Illuminate\Http\JsonResponse;
Expand Down
Loading

0 comments on commit 517b709

Please sign in to comment.