Skip to content

0.3.0

Compare
Choose a tag to compare
@kocsismate kocsismate released this 30 Jul 17:46
· 295 commits to master since this release

ADDED:

  • Ability to define options for JsonApiClient
  • Document::error($number) utility method to retrieve only one error
  • Response::isSuccessful() to determine if the response was successful
  • Response::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