Skip to content

Commit 8c16ded

Browse files
committed
Update CHANGELOG.md [skip ci]
1 parent e7017e8 commit 8c16ded

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

CHANGELOG.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88

99
### Added
1010

11-
* Added `DocumentFactory`.
11+
* Added `DocumentFactory` [#52](https://github.com/swisnl/json-api-client/pull/52).
1212
* Added facades for `DocumentFactory`, `DocumentParser`, `ItemHydrator`, `ResponseParser` and `TypeMapper`.
13-
* Added `DocumentParserInterface` and `ResponseParserInterface` interfaces and implementations.
13+
* Added `DocumentParserInterface` and `ResponseParserInterface` interfaces and implementations [#54](https://github.com/swisnl/json-api-client/pull/54).
1414

1515
### Changed
1616

1717
* The `TypeMapper` now checks if the class exists in the setter instead of the getter.
18-
* The `ItemHydrator` now also hydrates the id if provided.
19-
* Added `hasType`, `hasAttributes`, `hasRelationships` and `getRelations` to `ItemInterface`.
20-
* Removed `canBeIncluded` and `getIncluded` from `ItemInterface` as the `DocumentFactory` is now responsible for gathering the included items.
21-
* Renamed `getRelationship` to `getRelation`, `hasRelationship` to `hasRelation` and `removeRelationship` to `unsetRelation` in `Item`.
22-
* Renamed/aligned some parameters in several relation methods in `Item`.
23-
* Renamed namespace `Swis\JsonApi\Client\Traits` to `Swis\JsonApi\Client\Concerns`.
24-
* Renamed namespace `Swis\JsonApi\Client\JsonApi` to `Swis\JsonApi\Client\Parsers`.
25-
* Renamed `ServiceProvider::registerParser` (singular) to `ServiceProvider::registerParsers` (plural).
18+
* The `ItemHydrator` now also hydrates the id if provided [#53](https://github.com/swisnl/json-api-client/pull/53).
19+
* Added `hasType`, `hasAttributes`, `hasRelationships` and `getRelations` to `ItemInterface` [#53](https://github.com/swisnl/json-api-client/pull/53).
20+
* Removed `canBeIncluded` and `getIncluded` from `ItemInterface` as the `DocumentFactory` is now responsible for gathering the included items [#53](https://github.com/swisnl/json-api-client/pull/53).
21+
* Renamed `getRelationship` to `getRelation`, `hasRelationship` to `hasRelation` and `removeRelationship` to `unsetRelation` in `Item` [#53](https://github.com/swisnl/json-api-client/pull/53).
22+
* Renamed/aligned some parameters in several relation methods in `Item` [#53](https://github.com/swisnl/json-api-client/pull/53).
23+
* Renamed namespace `Swis\JsonApi\Client\Traits` to `Swis\JsonApi\Client\Concerns` [#53](https://github.com/swisnl/json-api-client/pull/53).
24+
* Renamed namespace `Swis\JsonApi\Client\JsonApi` to `Swis\JsonApi\Client\Parsers` [#54](https://github.com/swisnl/json-api-client/pull/54).
25+
* Renamed `ServiceProvider::registerParser` (singular) to `ServiceProvider::registerParsers` (plural) [#54](https://github.com/swisnl/json-api-client/pull/54).
2626

2727
### Removed
2828

29-
* Removed `CollectionDocumentBuilder` and `ItemDocumentBuilder` in favor of `DocumentFactory`.
30-
* Removed `JsonApi\Parser` in favor of `JsonApi\DocumentParser` and `JsonApi\ResponseParser`.
29+
* Removed `CollectionDocumentBuilder` and `ItemDocumentBuilder` in favor of `DocumentFactory` [#52](https://github.com/swisnl/json-api-client/pull/52).
30+
* Removed `ParserInterface` in favor of `DocumentParserInterface` and `ResponseParserInterface` [#54](https://github.com/swisnl/json-api-client/pull/54).
3131

3232
## [0.18.0] - 2019-07-01
3333

3434
### Added
3535

36-
* The id of an item can be set/get using magic accessors just like the attributes.
36+
* The id of an item can be set/get using magic accessors just like the attributes [#51](https://github.com/swisnl/json-api-client/pull/51).
3737

3838
### Changed
3939

@@ -46,23 +46,23 @@ N.B. This is a breaking change and all calls to `deleteById` should simply be ch
4646

4747
### Added
4848

49-
* Added support for Laravel 5.8.
49+
* Added support for Laravel 5.8 [#50](https://github.com/swisnl/json-api-client/pull/50).
5050

5151
### Changed
5252

53-
* Dropped Laravel <5.5 support.
54-
* Dropped PHP <7.1 support.
53+
* Dropped Laravel <5.5 support [#50](https://github.com/swisnl/json-api-client/pull/50).
54+
* Dropped PHP <7.1 support [#50](https://github.com/swisnl/json-api-client/pull/50).
5555

5656
## [0.16.0] - 2019-03-14
5757

5858
### Added
5959

60-
* Added `DocumentInterface::getResponse()` so every document instance can have its corresponding response. This allows access to the underlying response to check headers or status codes etc.
60+
* Added `DocumentInterface::getResponse()` so every document instance can have its corresponding response. This allows access to the underlying response to check headers or status codes etc [#48](https://github.com/swisnl/json-api-client/pull/48).
6161
* Added `ParserInterface::deserializeResponse($reponse)` to deserialize a `\Psr\Http\Message\ResponseInterface`.
6262

6363
### Changed
6464

65-
* `ClientInterface` must now return a `\Psr\Http\Message\ResponseInterface` for requests instead of our own (removed) `ResponseInterface`.
65+
* `ClientInterface` must now return a `\Psr\Http\Message\ResponseInterface` for requests instead of our own (removed) `ResponseInterface` [#48](https://github.com/swisnl/json-api-client/pull/48).
6666
N.B. This is a breaking change if you use the `Client` directly, the `DocumentClient` isn't affected.
6767
* Changed namespace of error classes:
6868
```
@@ -73,7 +73,7 @@ N.B. This is a breaking change if you use the `Client` directly, the `DocumentCl
7373

7474
### Removed
7575

76-
* Removed `ResponseInterface` and `Response` classes.
76+
* Removed `ResponseInterface` and `Response` classes [#48](https://github.com/swisnl/json-api-client/pull/48).
7777

7878
## [0.15.0] - 2019-02-21
7979

0 commit comments

Comments
 (0)