0.3.0
ADDED:
- Ability to define options for
JsonApiClient
Document::error($number)
utility method to retrieve only one errorResponse::isSuccessful()
to determine if the response was successfulResponse::isSuccessful()
to determine if the response was successful and contains a document- Support for PHPUnit 5.0
CHANGED:
- Improved performance
FIXED:
- PHP version constraint in composer.json
- If the response didn't contain a valid JSON,
Response::document()
could have raised a fatal error - The type and id weren't included in the request body
- Empty responses weren't considered successful by
JsonApiResponse::isSuccessful()
- Empty relationship data can now be discovered
- Sorting does not happen on resource ID