Skip to content

Releases: Art4/json-api-client

0.7

24 Nov 10:13
Compare
Choose a tag to compare
0.7
  • Update license to GPL3
  • BREAKING: Rename all resource namespaces

You can find more details in the CHANGELOG.md

0.6.3

26 Apr 17:45
Compare
Choose a tag to compare
  • Fixed: Prevent PHP bug in json_decode() if option JSON_BIGINT_AS_STRING is not implemented, see #28

0.6.2

15 Apr 11:38
Compare
Choose a tag to compare
  • Fixed: links in document object can contain objects, see #26

0.6.1

28 Dec 02:23
Compare
Choose a tag to compare
  • Added: New Resource\ItemLink object; was seperated from Link object
  • Fixed: links and pagination are now parsed spec conform, see #23

0.6

06 Nov 15:32
Compare
Choose a tag to compare
0.6
  • Added Helper::isValid() to checks if a string is valid JSON API
  • BREAKING: pagination links moved from Pagination to DocumentLink and RelationshipLink, see #19
  • BREAKING: object Pagination was removed

0.5

12 Oct 12:11
Compare
Choose a tag to compare
0.5
  • Added dot-notation support in AccessInterface::has() and AccessInterface::get()
  • every object has now his own interface, eg. DocumentInterface, MetaInterface or Resource\ItemInterface
  • BREAKING: object PaginationLink was renamed to Pagination
  • BREAKING: nearly all classes was set to final and can't be extended anymore. Implement the new interfaces instead. See also #18.

0.4

01 Sep 13:59
Compare
Choose a tag to compare
0.4
  • Introduce Utils\Manager and Utils\Factory for injecting own classes into the client
  • Every object inside the document implements AccessInterface
  • AccessInterface supports asArray() for transforming an object into an array
  • Added a Resource\IdentifierCollection that is either empty or holds only Resource\Identifier objects
  • Relationship::get('data') returns a Resource\IdentifierCollection object instead of an array
  • 100% test coverage

0.3

24 Aug 15:04
Compare
Choose a tag to compare
0.3
  • Document::get('data') returns always a ResourceInterface object
  • Document::get('error') returns a ErrorCollection object
  • Document::get('included') returns a Resource\Collection object
  • \Art4\JsonApiClient\Exception\ValidationException will be thrown instead of InvalidArgumentException
  • \Art4\JsonApiClient\Exception\AccessException will be thrown instead of RuntimetException
  • Added better documentation

0.2

12 Aug 09:03
Compare
Choose a tag to compare
0.2
  • Added Documentation, see folder docs/
  • Every object has got a get() and has() method for better value access
  • Every object can list his own keys with keyKeys()
  • All old getter like getMeta() or hasId() were removed

0.1

11 Aug 07:39
Compare
Choose a tag to compare
0.1
  • Validator fits nearly 100% specification
  • Full test coverage