Skip to content

Releases: nilportugues/php-api-transformer

3.1.1

07 Apr 14:32
Compare
Choose a tag to compare
Update AbstractResponse.php

3.1.0

13 Mar 16:47
Compare
Choose a tag to compare
  • Make attributes case configurable. #13 by @m1n0
  • Recursive check for hidden properties. #14 by @PaulRoth

3.0.0

12 Aug 11:32
Compare
Choose a tag to compare
  • Changed \NilPortugues\Api\Mappings\ApiMapping interface.
    • BC: Added to the interface getRequiredProperties.
  • NilPortugues\Api\Mapping\Mapping added methods getRequiredProperties and setRequiredProperties.
    • These are now fetched in \NilPortugues\Api\Mapping\MappingFactory.

1.6.1

30 Jun 22:41
Compare
Choose a tag to compare
  • Added \NilPortugues\Api\Transformer\Helpers\RecursiveRenamerHelper::serializedObjectToArray. Transforms unmapped objects (Serializer::CLASS_IDENTIFIER_KEY) to arrays (Serializer::MAP_TYPE)

1.5.2

22 Jun 10:31
Compare
Choose a tag to compare
  • Fix for RecursiveFormatterHelper::getIdPropertyAndValues accessing undefined array position.

1.5.1

09 May 14:32
Compare
Choose a tag to compare
Merge pull request #7 from OskarD/patch-1

Changed default value to filter included

1.5.0

06 Dec 15:47
Compare
Choose a tag to compare
  • Added to Mapping class Mapping::isFilteringIncludedResources method, to add an additional check for 1.4.0

1.4.0

06 Dec 15:01
Compare
Choose a tag to compare
  • Added new methods: Mapping::addIncludedResource, Mapping::getIncludedResources and Mapping::isFilteringIncludedResources

1.3.2

05 Dec 23:17
Compare
Choose a tag to compare
  • 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

26 Nov 23:42
Compare
Choose a tag to compare
  • RecursiveFilterHelper::deleteMatchedClassNotInFilterProperties was not using real property names but its aliases