Skip to content

Releases: jolicode/automapper

8.2.0

11 Mar 10:14
0061605
Compare
Choose a tag to compare

Added

  • GH#25 Pass full input object to property custom transformers
  • GH#10 Introduce custom transformers
  • GH#26 Fix mappings involving DateTimeInterface type
  • GH#37 Adds useful phpDoc annotation in generated mappers

Changed

  • GH#27 Use PhpStanExtractor instead of PhpDocExtractor
  • GH#35 Refactoring Mapper Generator
  • GH#47 Use directly the custom transformer instead of extracting it as a callback
  • GH#48 Change the way transformer factory are injected to make it work as soon as automapper is created

Fixed

  • GH#33 Allow usage of imported class names in custom transformers
  • GH#45 Fix composer.lock for phpstan and php-cs-fixer tooling
  • GH#44 Allow skipping uninitialized property when skipping null values

8.1.0

14 Dec 16:22
0377390
Compare
Choose a tag to compare

Added

  • GH#22 Added generic AST extractor
  • GH#21 Add VERSION constants within AutoMapper class and use it for transformers hashes

Changed

  • GH#19 Use attributes everywhere instead of annotations
  • GH#18 Symfony 7 support

8.0.2

06 Nov 13:40
a2110e9
Compare
Choose a tag to compare

Added

  • GH#11 Added phpstan level 5 in CI

Fixed

  • GH#9 fix: mapPrivatePropertiesAndMethod should not be mandatory
  • GH#15 fix: check class existence in SymfonyUidTransformerFactory

8.0.1

04 Oct 12:29
64e2fb3
Compare
Choose a tag to compare

Changed

  • GH#6 Document all AST code by explaining what it generates

Fixed

  • GH#7 Fix NullableTransformer should check if array key exists

8.0.0

26 Sep 13:10
24e0a8b
Compare
Choose a tag to compare

Changed

  • Modernization, PHP 8.2 and typed properties everywhere
  • GH#1 Better private properties handling

Fixed

  • GH#753 Fix: AutoMapper should accept getters with default properties