Skip to content

Releases: rekalogika/mapper

v1.13.5

12 Nov 18:24
b91b897
Compare
Choose a tag to compare

What's Changed

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

v1.13.4

12 Nov 17:41
d117d4d
Compare
Choose a tag to compare

What's Changed

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

v1.13.3

30 Oct 14:04
3c40856
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v1.11.0

13 Oct 11:16
ac70b31
Compare
Choose a tag to compare

What's Changed

  • refactor: spin off resolveTargetClass() to separate class by @priyadi in #220
  • perf: proxy warming by @priyadi in #221
  • feat: process proxies of all classes in the inheritance chain by @priyadi in #222
  • feat: throws exception if the paired property does not exist in the other class if the Map attribute has class set by @priyadi in #224
  • perf: Context optimization by @priyadi in #225
  • perf: ObjectToObjectTransformer optimization by @priyadi in #226
  • perf: move TypeResolver outside of the hot path by @priyadi in #227
  • perf(ObjectCache): use sentinel value instead of exception by @priyadi in #228
  • feat: extra target values by @priyadi in #229
  • chore: rector run by @priyadi in #230

Full Changelog: v1.10.0...v1.11.0

v1.10.0

11 Oct 01:55
7798c35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.4...v1.10.0

v1.9.4

07 Oct 14:47
e27903b
Compare
Choose a tag to compare

What's Changed

  • fix: Map now works with unpromoted constructor parameters by @priyadi in #201
  • fix: restore throwing NewInstanceReturnedButCannotBeSetOnTargetException by @priyadi in #202
  • deps: fix symfony/stopwatch dependency by @priyadi in #206
  • fix: do not run DebugPass if symfony/stopwatch is not present by @priyadi in #207

Full Changelog: v1.9.3...v1.9.4