Skip to content

Releases: nilportugues/php-json-api

2.4.3

20 Jul 10:03
Compare
Choose a tag to compare
Merge pull request #73 from franbenz/doctrine-tests

New Doctrine serialization test: Comment refers to Comment

2.4.2

18 Jul 07:01
Compare
Choose a tag to compare
Merge pull request #72 from franbenz/doctrine-tests

New Doctrine test

2.4.1

12 Jul 18:14
Compare
Choose a tag to compare
fixing path for cli-config.php

2.4.0

11 Jul 20:40
Compare
Choose a tag to compare

Serialization changes

  • None

Behaviour changes

  • Access $data in updateCallable ca13df2

Other changes

  • Adding integration tests. Added tests for Doctrine. 688130a

2.3.1

04 Jul 18:16
Compare
Choose a tag to compare
  • Fixing usage of $errorBag in *Resource::getErrorResponse methods.

2.3.0

01 Jul 18:20
Compare
Choose a tag to compare

Serialization changes

  • Id field will start appearing in attributes and won't be removed anymore. This BC as new attributes will appear in all serialized objects. 63aa731 + bf5da25
  • Filter keys remove ids values from attributes too 9171b7e
  • Seralization of any unmapped object is allowed by transforming them into an array. For instance a DateTime object. #64 + 9a27b9e + 582c05a
  • Return always the same attribute order by using ksort 92e19ed

Server changes

  • Add ability to add ErrorBag to DataException #63
  • Add ForbiddenException and forbidden response method #66

2.2.3

28 Jun 23:50
Compare
Choose a tag to compare
  • Fix for incorrectly filtered-out elements by \NilPortugues\Api\JsonApi\Helpers\DataAttributesHelper::hasClassIdentifierKey method as reported in nilportugues/laravel5-jsonapi#67

2.2.2

23 Jun 13:32
Compare
Choose a tag to compare
PropertyHelper::setResponseDataTypeAndId - Adding check before ready …

2.2.1

22 Jun 21:00
Compare
Choose a tag to compare
Fixing relationships: one element vs many

2.2.0

22 Jun 14:47
Compare
Choose a tag to compare
  • Removing and updating dev dependencies from composer.json
  • Added condition to ensure relationships member never nest arrays instead of data objects.
  • All objects have a links top-level member with a self link.