Skip to content

Releases: Art4/json-api-client

1.2.0

28 Nov 13:34
b2b886f
Compare
Choose a tag to compare
Merge pull request #94 from Art4/release-1.2.0

Release 1.2.0

1.1.0

05 Oct 11:53
Compare
Choose a tag to compare
Release 1.1.0

1.0.0

05 Mar 08:34
Compare
Choose a tag to compare
Release 1.0.0

0.10.2

23 Jun 14:01
Compare
Choose a tag to compare
Release 0.10.2

0.10.1

23 Sep 17:51
Compare
Choose a tag to compare
Release 0.10.1

0.10

07 Nov 10:40
Compare
Choose a tag to compare

Added

  • Support for PHP 7.3 added
  • New class Art4\JsonApiClient\Helper\Parser to parse or validate a JSON API string
  • New class Art4\JsonApiClient\Manager\ErrorAbortManager to parse a JSON API input
  • New class Art4\JsonApiClient\Serializer\ArraySerializer to create an array from an Art4\JsonApiClient\Accessable
  • New class Art4\JsonApiClient\V1\Attributes to represent an Attributes element
  • New class Art4\JsonApiClient\V1\Document to represent a Document element
  • New class Art4\JsonApiClient\V1\DocumentLink to represent a DocumentLink element
  • New class Art4\JsonApiClient\V1\Error to represent an Error element
  • New class Art4\JsonApiClient\V1\ErrorCollection to represent an ErrorCollection element
  • New class Art4\JsonApiClient\V1\ErrorLink to represent an ErrorLink element
  • New class Art4\JsonApiClient\V1\ErrorSource to represent an ErrorSource element
  • New class Art4\JsonApiClient\V1\Jsonapi to represent a Jsonapi element
  • New class Art4\JsonApiClient\V1\Link to represent a Link element
  • New class Art4\JsonApiClient\V1\Meta to represent a Meta element
  • New class Art4\JsonApiClient\V1\Relationship to represent a Relationship element
  • New class Art4\JsonApiClient\V1\RelationshipCollection to represent a RelationshipCollection element
  • New class Art4\JsonApiClient\V1\RelationshipLink to represent a RelationshipLink element
  • New class Art4\JsonApiClient\V1\ResourceCollection to represent a ResourceCollection element
  • New class Art4\JsonApiClient\V1\ResourceIdentifier to represent a ResourceIdentifier element
  • New class Art4\JsonApiClient\V1\ResourceIdentifierCollection to represent a ResourceIdentifierCollection element
  • New class Art4\JsonApiClient\V1\ResourceItem to represent a ResourceItem element
  • New class Art4\JsonApiClient\V1\ResourceItemLink to represent a ResourceItemLink element
  • New class Art4\JsonApiClient\V1\ResourceNull to represent a ResourceNull element

Changed

  • Support for PHP 5.5 dropped, PHP >=5.6 is now required

Deprecated

  • Art4\JsonApiClient\AccessInterface::asArray() will be removed in v1.0, use Art4\JsonApiClient\Serializer\ArraySerializer::serialize() instead
  • Art4\JsonApiClient\AccessInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Attributes will be removed in v1.0, use Art4\JsonApiClient\V1\Attributes instead
  • Art4\JsonApiClient\AttributesInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Document will be removed in v1.0, use Art4\JsonApiClient\V1\Document instead
  • Art4\JsonApiClient\DocumentInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\DocumentLink will be removed in v1.0, use Art4\JsonApiClient\V1\DocumentLink instead
  • Art4\JsonApiClient\DocumentLinkInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ElementInterface will be removed in v1.0, use Art4\JsonApiClient\Element instead
  • Art4\JsonApiClient\Error will be removed in v1.0, use Art4\JsonApiClient\V1\Error instead
  • Art4\JsonApiClient\ErrorCollection will be removed in v1.0, use Art4\JsonApiClient\V1\ErrorCollection instead
  • Art4\JsonApiClient\ErrorCollectionInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ErrorInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ErrorLink will be removed in v1.0, use Art4\JsonApiClient\V1\ErrorLink instead
  • Art4\JsonApiClient\ErrorLinkInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ErrorSource will be removed in v1.0, use Art4\JsonApiClient\V1\ErrorSource instead
  • Art4\JsonApiClient\ErrorSourceInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Jsonapi will be removed in v1.0, use Art4\JsonApiClient\V1\Jsonapi instead
  • Art4\JsonApiClient\JsonapiInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Link will be removed in v1.0, use Art4\JsonApiClient\V1\Link instead
  • Art4\JsonApiClient\LinkInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Meta will be removed in v1.0, use Art4\JsonApiClient\V1\Meta instead
  • Art4\JsonApiClient\MetaInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Relationship will be removed in v1.0, use Art4\JsonApiClient\V1\Relationship instead
  • Art4\JsonApiClient\RelationshipCollection will be removed in v1.0, use Art4\JsonApiClient\V1\RelationshipCollection instead
  • Art4\JsonApiClient\RelationshipCollectionInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\RelationshipInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\RelationshipLink will be removed in v1.0, use Art4\JsonApiClient\V1\RelationshipLink instead
  • Art4\JsonApiClient\RelationshipLinkInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ResourceCollection will be removed in v1.0, use Art4\JsonApiClient\V1\ResourceCollection instead
  • Art4\JsonApiClient\ResourceCollectionInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ResourceIdentifier will be removed in v1.0, use Art4\JsonApiClient\V1\ResourceIdentifier instead
  • Art4\JsonApiClient\ResourceIdentifierCollection will be removed in v1.0, use Art4\JsonApiClient\V1\ResourceIdentifierCollection instead
  • Art4\JsonApiClient\ResourceIdentifierCollectionInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ResourceIdentifierInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ResourceItem will be removed in v1.0, use Art4\JsonApiClient\V1\ResourceItem instead
  • Art4\JsonApiClient\ResourceItemInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ResourceItemLink will be removed in v1.0, use Art4\JsonApiClient\V1\ResourceItemLink instead
  • Art4\JsonApiClient\ResourceItemLinkInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\ResourceNull will be removed in v1.0, use Art4\JsonApiClient\V1\ResourceNull instead
  • Art4\JsonApiClient\ResourceNullInterface will be removed in v1.0, use Art4\JsonApiClient\Accessable instead
  • Art4\JsonApiClient\Utils\AccessKey will be removed in v1.0
  • Art4\JsonApiClient\Utils\AccessTrait will be removed in v1.0
  • Art4\JsonApiClient\Utils\DataContainer will be removed in v1.0
  • Art4\JsonApiClient\Utils\DataContainerInterface will be removed in v1.0
  • Art4\JsonApiClient\Utils\Factory will be removed in v1.0, use Art4\JsonApiClient\V1\Factory instead
  • Art4\JsonApiClient\Utils\FactoryInterface will be removed in v1.0, use Art4\JsonApiClient\Factory instead
  • Art4\JsonApiClient\Utils\FactoryManagerInterface will be removed in v1.0
  • Art4\JsonApiClient\Utils\Helper::decodeJson() will be removed in v1.0, use Art4\JsonApiClient\Input\ResponseStringInput::getAsObject() instead
  • Art4\JsonApiClient\Utils\Helper will be removed in v1.0, use Art4\JsonApiClient\Helper\Parser instead
  • Art4\JsonApiClient\Utils\Manager will be removed in v1.0, use Art4\JsonApiClient\Manager\ErrorAbortManager instead
  • Art4\JsonApiClient\Utils\ManagerInterface will be removed in v1.0, use Art4\JsonApiClient\Manager instead

You can find more details in the CHANGELOG.md

0.9.1

22 Dec 07:43
Compare
Choose a tag to compare

This is only a maintenance update.

  • Code Style was changed to PSR-2
  • Tests in Travis for PHP 7.2 and nightly added

You can find more details in the CHANGELOG.md

0.9

06 Jun 14:06
Compare
Choose a tag to compare
0.9
  • New method Utils\Helper::parseResponseBody() to parse a JSON API response body
  • New method Utils\Helper::isValidResponseBody() to validate a JSON API response body
  • New method Utils\Helper::isValidRequestBody() to validate a JSON API request body with optional item id
  • Utils\Helper::parse() will be removed in v1.0, use Utils\Helper::parseResponseBody() instead
  • Utils\Helper::isValid() will be removed in v1.0, use Utils\Helper::isValidResponseBody() instead

You can find more details in the CHANGELOG.md

0.8.1

01 Jun 13:09
Compare
Choose a tag to compare
  • Fixed a bug in the decission if a data attribute is a ResourceItem or ResourceIdentifier

You can find more details in the CHANGELOG.md

0.8

29 May 12:05
Compare
Choose a tag to compare
0.8
  • New method Utils\Helper::parseRequestBody() to parse JSON API with optional item id
  • Support for PHP 7.1
  • BREAKING: New method Utils\ManagerInterface::getConfig() to get a config value
  • BREAKING: New method Utils\ManagerInterface::setConfig() to set a config value
  • BREAKING: Drop support for PHP 5.4

You can find more details in the CHANGELOG.md