Skip to content

Releases: rekalogika/mapper

v2.0.0

30 Apr 06:05
962f50c

Choose a tag to compare

New major release because there might be unforeseen implication with PHP 8.4 lazy objects.

What's Changed

Full Changelog: v1.15.0...v2.0.0

v1.15.0

21 Mar 14:30
89f0ccf

Choose a tag to compare

What's Changed

Full Changelog: v1.14.0...v1.15.0

v1.14.0

27 Jan 10:34
decad8e

Choose a tag to compare

What's Changed

  • chore: rector run by @priyadi in #255
  • fix: check file existence before unlinking, suppresses warning by @priyadi in #256
  • feat: RefuseToMapException, thrown by property mapper if it needs to leave the target property unmapped by @priyadi in #258
  • build: update phpstan and psalm by @priyadi in #259
  • feat: ignoreUninitialized argument in AsPropertyMapper to ignore uninitialized properties by @priyadi in #260

Full Changelog: v1.13.5...v1.14.0

v1.13.5

12 Nov 18:24
b91b897

Choose a tag to compare

What's Changed

Full Changelog: v1.13.4...v1.13.5

v1.13.4

12 Nov 17:41
d117d4d

Choose a tag to compare

What's Changed

Full Changelog: v1.13.3...v1.13.4

v1.13.3

30 Oct 14:04
3c40856

Choose a tag to compare

What's Changed

  • fix: rethrow our exceptions in writeTargetProperty, fix confusing error message by @priyadi in #247
  • fix: error when mapping null to existing target by @priyadi in #248

Full Changelog: v1.13.2...v1.13.3

v1.13.2

23 Oct 17:08
c199b85

Choose a tag to compare

What's Changed

  • feat: Map now accepts false, for the more expressive #[Map(false)] by @priyadi in #244
  • refactor: remove property processor for easier future optimization by @priyadi in #245
  • fix: turn NewInstanceReturnedButCannotBeSetOnTargetException into a warning by @priyadi in #246

Full Changelog: v1.13.1...v1.13.2

v1.13.1

22 Oct 17:02
f21b1ac

Choose a tag to compare

What's Changed

  • fix: allow interfaces as the target type of object mapper by @priyadi in #242

Full Changelog: v1.13.0...v1.13.1

v1.13.0

22 Oct 07:36
a9e4a19

Choose a tag to compare

What's Changed

  • feat: Map(property: null) ignores the mapping by @priyadi in #239
  • fix: only remove source property mapping if it maps to the same name on the target side by @priyadi in #240

Full Changelog: v1.12.0...v1.13.0

v1.12.0

15 Oct 16:29
431c16b

Choose a tag to compare

What's Changed

  • refactor: refactor ObjectToObjectTransformer for future optimization by @priyadi in #231
  • fix: remove unalterable check in ObjectProcessor` to allow transformers to handle the current target value in all cases by @priyadi in #233
  • test: test lazy constructor by @priyadi in #235
  • fix: double mapping if a property is in the constructor and also has a setter by @priyadi in #236
  • fix: remove heuristics of value object detection to reduce confusion by @priyadi in #238
  • fix: issue 232 by @priyadi in #237

Full Changelog: v1.11.0...v1.12.0