Skip to content

Releases: rekalogika/mapper

v3.0.0

31 Mar 20:17
7e60960

Choose a tag to compare

Interim release to allow Symfony 8.x, except for symfony/property-info which is still pinned to 7.x. Supporting property-info or type-info 8.x requires changing the interface, which is planned for the next major version.

Drops support for Symfony 6.x

What's Changed

  • test: add test for persisting proxy by @priyadi in #276
  • test: convert phpunit phpdoc to attributes by @priyadi in #277
  • test: clarification in ConstructorAndPropertyTest by @priyadi in #278
  • chore: undeprecate symfony 7.3 deprecations for now by @priyadi in #279
  • perf: change xxh64 to xxh128 by @priyadi in #280
  • test: satisfy static analyses by @priyadi in #281
  • test: satisfy phpstan by @priyadi in #284
  • chore: allow symfony 8, and various dependency bumps by @priyadi in #294
  • deps: bump phpdocumentor/reflection-docblock by @priyadi in #295

Full Changelog: v2.0.0...v3.0.0

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