Releases: swisnl/json-api-client
Releases · swisnl/json-api-client
0.9.0
0.8.0
This release includes breaking changes to the items. EloquentItem is removed and JenssegersItem is renamed to simply Item. Please update your import statements to reflect these changes.
Changed
- Refactored name(space) of
\Swis\JsonApi\Client\Items\JenssegersItemto\Swis\JsonApi\Client\Itemas we only have one item now. #21
Removed
0.7.5
0.7.4
Fixed
- Reverted the behaviour of handling duplicate items back to what it was in <= 0.7.2. This change in behaviour was introduced in the last performance update (0.7.3).
N.B. This change will only affect you if you parse documents with duplicate items, which violates the JSON API spec:
A compound document MUST NOT include more than one resource object for each type and id pair.
0.7.3
0.7.2
0.7.1
0.7.0
Update art4/json-api-client to latest version
The following classes are changed in some arguments and some method returns, if you extended or directly use \Swis\JsonApi\Client\JsonApi\Hydrator or \Swis\JsonApi\Client\JsonApi\Parser please check your code.
\Art4\JsonApiClient\Resource\CollectionInterface -> \Art4\JsonApiClient\ResourceCollectionInterface
\Art4\JsonApiClient\Resource\ItemInterface -> \Art4\JsonApiClient\ResourceItemInterface
\Art4\JsonApiClient\Resource\IdentifierCollection -> \Art4\JsonApiClient\ResourceIdentifierCollection
\Art4\JsonApiClient\Resource\Identifier -> \Art4\JsonApiClient\ResourceIdentifier
\Art4\JsonApiClient\Resource\Collection -> \Art4\JsonApiClient\ResourceCollection
0.6.0
0.5.0
Added
- Added a proper README with instructions.
Changed
- Updated namespace to
Swis\JsonApi\Clientfor consistency. - Split service provider binds so overwriting is easier.
Removed
- Extracted fixtures client to swisnl/php-http-fixture-client and swisnl/guzzle-fixture-handler
- Removed resources as it was redundant.