File tree Expand file tree Collapse file tree 6 files changed +64
-6
lines changed
Expand file tree Collapse file tree 6 files changed +64
-6
lines changed Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file. This project adheres to
33[ Semantic Versioning] ( http://semver.org/ ) and [ this changelog format] ( http://keepachangelog.com/ ) .
44
5+ ## [ 1.5.0] - 2019-10-14
6+
7+ ### Added
8+ - [ #415 ] ( https://github.com/cloudcreativity/laravel-json-api/issues/415 )
9+ Added a has-one-through JSON API resource relationship for the Eloquent has-one-through
10+ relationship that was added in Laravel 5.8.
11+
12+ ### Fixed
13+ - [ #439 ] ( https://github.com/cloudcreativity/laravel-json-api/issues/439 )
14+ Fixed tests failing in Laravel ` ^6.1 ` . ** Applications using Laravel 6 need to upgrade
15+ the JSON API testing package to ` ^2.0 ` ** as follows:
16+
17+ ``` bash
18+ $ composer require --dev cloudcreativity/json-api-testing:^2.0
19+ ```
20+
521## [ 1.4.0] - 2019-09-04
622
723### Added
Original file line number Diff line number Diff line change 22
33Install using [ Composer] ( http://getcomposer.org ) :
44
5- ``` bash
5+ ``` bash
66$ composer require cloudcreativity/laravel-json-api
7- # see note below for which version of the testing package to use.
8- $ composer require --dev cloudcreativity/json-api-testing:^2.0
7+ $ composer require --dev " cloudcreativity/json-api-testing:^1.2|^2.0"
98```
109
11- > For Laravel 5.5, 5.6 and 5.7, you will need to use ` ^1.2 ` for the ` json-api-testing ` package.
12-
1310This package's service provider and facade will be automatically added using package discovery. You will
1411then need to check your API route prefix and update your Exception handler as follows...
1512
Original file line number Diff line number Diff line change 1919
2020use Carbon \Carbon ;
2121use CloudCreativity \LaravelJsonApi \Utils \Str ;
22- use Illuminate \Database \Eloquent \Model ;
2322use Illuminate \Database \Eloquent \Builder ;
23+ use Illuminate \Database \Eloquent \Model ;
2424use Illuminate \Support \Arr ;
2525use Illuminate \Support \Collection ;
2626
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * Copyright 2019 Cloud Creativity Limited
4+ *
5+ * Licensed under the Apache License, Version 2.0 (the "License");
6+ * you may not use this file except in compliance with the License.
7+ * You may obtain a copy of the License at
8+ *
9+ * http://www.apache.org/licenses/LICENSE-2.0
10+ *
11+ * Unless required by applicable law or agreed to in writing, software
12+ * distributed under the License is distributed on an "AS IS" BASIS,
13+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ * See the License for the specific language governing permissions and
15+ * limitations under the License.
16+ */
217
318namespace DummyApp ;
419
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * Copyright 2019 Cloud Creativity Limited
4+ *
5+ * Licensed under the Apache License, Version 2.0 (the "License");
6+ * you may not use this file except in compliance with the License.
7+ * You may obtain a copy of the License at
8+ *
9+ * http://www.apache.org/licenses/LICENSE-2.0
10+ *
11+ * Unless required by applicable law or agreed to in writing, software
12+ * distributed under the License is distributed on an "AS IS" BASIS,
13+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ * See the License for the specific language governing permissions and
15+ * limitations under the License.
16+ */
217
318namespace DummyApp \JsonApi \Histories ;
419
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * Copyright 2019 Cloud Creativity Limited
4+ *
5+ * Licensed under the Apache License, Version 2.0 (the "License");
6+ * you may not use this file except in compliance with the License.
7+ * You may obtain a copy of the License at
8+ *
9+ * http://www.apache.org/licenses/LICENSE-2.0
10+ *
11+ * Unless required by applicable law or agreed to in writing, software
12+ * distributed under the License is distributed on an "AS IS" BASIS,
13+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ * See the License for the specific language governing permissions and
15+ * limitations under the License.
16+ */
217
318namespace DummyApp ;
419
You can’t perform that action at this time.
0 commit comments