Releases: nilportugues/php-json-api
Releases · nilportugues/php-json-api
2.4.3
Merge pull request #73 from franbenz/doctrine-tests New Doctrine serialization test: Comment refers to Comment
2.4.2
Merge pull request #72 from franbenz/doctrine-tests New Doctrine test
2.4.1
fixing path for cli-config.php
2.4.0
2.3.1
- Fixing usage of
$errorBag
in *Resource::getErrorResponse methods.
2.3.0
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
2.2.3
- Fix for incorrectly filtered-out elements by
\NilPortugues\Api\JsonApi\Helpers\DataAttributesHelper::hasClassIdentifierKey
method as reported in nilportugues/laravel5-jsonapi#67
2.2.2
PropertyHelper::setResponseDataTypeAndId - Adding check before ready …
2.2.1
Fixing relationships: one element vs many
2.2.0
- Removing and updating dev dependencies from
composer.json
- Added condition to ensure
relationships
member never nest arrays instead ofdata
objects. - All objects have a
links
top-level member with a self link.