Releases: jolicode/automapper
Releases · jolicode/automapper
9.4.1
9.4.0
Added
- GH#246 Add support for PHP 8.4
- GH#246 Add support for API Platform 4
- GH#252 Add support for SerializedName attributes
- GH#251 Allow to map extra properties on array/object
- GH#242 Add support for DiscriminatorMap with interface
- GH#256 Allow nested array to be transformed to object
- GH#262 Allow to extract types from getter
- GH#261 Remove existing values when using adder and remover on collection
Changed
- GH#243 GH#258 Clean the tests suite
- GH#264 Upgrade phpstan to make it work with PHP 8.4
- GH#257 Better error reporting of missing 'typePropery' when using DiscriminatorMap
- GH#265 Set deep populate to true if passing an existing value
- GH#266 Use composer to get installed versions instead of const
Fixed
9.3.1
9.3.0
Added
- GH#223 Handle array to Doctrine Collection transformations
- GH#225 Add mapCollection method to base interface
- GH#200 Added skip_uninitialized_values context to skip non initialized properties
- GH#200 Changed skip_null_values behavior to not handle initialized properties anymore
- GH#230 Allow to map unknown array into object when it's nested
- GH#235 Add possibility to use the
NameConverterInterface
from symfony 7.2
Removed
- GH#200 Drop nikic/php-parser < 5.0 compatibility
Fixed
- GH#231 Fix cases where constructor arguments were missing but not detected
- GH#188 Correctly handle default constructor arguments when they are objects.
- GH#234 Fix custom providers not being registered inside the bundle
Miscellaneous
- GH#232 Use castor for local and CI checks on the library
9.2.1
9.2.0
9.1.2
9.1.1
9.1.0
9.0.2
Deprecated
- GH#136 Deprecate the ability to inject AST transformer factories withing stand-alone AutoMapper
Fixed
- GH#131 Require mandatory packages
- GH#132 Use DI Extension class instead of deprecated HttpKernel Extension
- GH#130 Make ClassDiscriminatorResolver optional
- GH#135 Fix return type of AutoMapper::create()
- GH#139 Fix unreachable variable in BuitinTransformer
- GH#138 Declare CopyTransformerFactory as a service
- GH#142 Make MapperMetadata non-internal because it is used within PropertyTransformerSupportInterface interface
- GH#148 Handle deprecated class LNumber in nikic/php-parser v5
- GH#151 Fix type in generated code