Releases: nilportugues/php-api-transformer
Releases · nilportugues/php-api-transformer
3.1.1
3.1.0
3.0.0
- Changed
\NilPortugues\Api\Mappings\ApiMapping
interface.- BC: Added to the interface getRequiredProperties.
NilPortugues\Api\Mapping\Mapping
added methodsgetRequiredProperties
andsetRequiredProperties
.- These are now fetched in
\NilPortugues\Api\Mapping\MappingFactory
.
- These are now fetched in
1.6.1
- Added
\NilPortugues\Api\Transformer\Helpers\RecursiveRenamerHelper::serializedObjectToArray
. Transforms unmapped objects (Serializer::CLASS_IDENTIFIER_KEY) to arrays (Serializer::MAP_TYPE)
1.5.2
- Fix for RecursiveFormatterHelper::getIdPropertyAndValues accessing undefined array position.
1.5.1
Merge pull request #7 from OskarD/patch-1 Changed default value to filter included
1.5.0
- Added to Mapping class
Mapping::isFilteringIncludedResources
method, to add an additional check for 1.4.0
1.4.0
- Added new methods:
Mapping::addIncludedResource
,Mapping::getIncludedResources
andMapping::isFilteringIncludedResources
1.3.2
NilPortugues\Api\Transformer\Helpers\RecursiveFilterHelper::filterKeys
keys that are filtered out are those that have been explicitly mapped, other should remain intact.
1.3.1
RecursiveFilterHelper::deleteMatchedClassNotInFilterProperties
was not using real property names but its aliases