Skip to content

Releases: riok/mapperly

v3.5.0-next.3

18 Mar 20:35
3bf7bba
Compare
Choose a tag to compare
v3.5.0-next.3 Pre-release
Pre-release

3.5.0-next.3 (2024-03-18)

Bug Fixes

  • Increase RMG060 default severity from info to warning (#1173) (3cba05b)

Features

  • improve generated method names by including generic type names (#1168) (fb482a0)
  • Inline user implemented queryable mapping expressions (#1169) (530066f), closes #953

v3.5.0-next.2

11 Mar 13:10
ebce68e
Compare
Choose a tag to compare
v3.5.0-next.2 Pre-release
Pre-release

3.5.0-next.2 (2024-03-11)

Bug Fixes

  • resolve user mappings correctly when reference handling is enabled (#1162) (d303198)

Features

  • Add MapperIgnoreMemberAttribute to ignore members at declaration (#1143) (ebce68e)

v3.5.0-next.1

09 Mar 04:01
b4d5e74
Compare
Choose a tag to compare
v3.5.0-next.1 Pre-release
Pre-release

3.5.0-next.1 (2024-03-09)

Bug Fixes

  • do not generalise enumerable dictionary value types (#1155) (b4d5e74)

Features

  • add diagnostic if no members are mapped (#1129) (732cec4)
  • Add option to disable automatic discovery of user implemented mapping method and to include/exclude specific user implemented mapping methods (#1070) (4e4937c)
  • allow property mappings to use specific conversion (#1072) (61716b9)
  • allow usage of mappings in MapPropertyAttribute.Use which are attributed with UserMappingAttribute (#1151) (1f0b3c5)
  • allow user implemented mappings to be marked as default (#1071) (79f60cd)
  • report a diagnostic for invalid MapPropertyAttribute usages (#1130) (b8b9e2a)
  • support required mapping strategies on enums (#1073) (edc4933)
  • validate usage of MapProperty attributes on enum and queryable mapping methods (#1074) (fbe7894)

v3.4.0

23 Feb 03:11
8b14725
Compare
Choose a tag to compare

3.4.0 (2024-02-23)

Bug Fixes

  • correctly annotate nullable generics in disabled nullable contexts (#1020) (d35c52d)
  • do not resolve existing one sideded loose nullable property mappings (#1090) (7998720)
  • don't diagnostic for constructor mappings when no instance can be created but none is needed anyway (450d7ca)
  • generate enumerable mapping methods with interface parameters instead of concrete types to reduce generated methods (#1088) (66752cf)
  • generate generic mapping only for matching source / target types if non-generic (#1000) (9a2916f)
  • handle nullable correctly in nullable disabled contexts for generics and arrays (#1029) (132b8cc)
  • prevent collection mapping from using invalid length property (#1108) (216f791)
  • prevent crash for delegate fields when deep mapping is enabled (#1058) (88dd1ff)
  • remove Runtime suffix of MapperlyAbstractionsScope msbuild option (#1049) (54b0eea)
  • upgrade parameter nullability correctly (#1057) (ad917ee)
  • use correct argument types in user defined enumerable mappings with an array source parameter (#1125) (8b14725)

Features

  • add option to prefer parameterised constructors (#1061) (e606f93)
  • annotate all emitted methods and classes with GeneratedCodeAttribute. (#1069) (374e6cb)
  • remove runtime dependency (#1027) (ca3ea5a)

v3.4.0-next.5

20 Feb 14:32
8b14725
Compare
Choose a tag to compare
v3.4.0-next.5 Pre-release
Pre-release

3.4.0-next.5 (2024-02-20)

Bug Fixes

  • use correct argument types in user defined enumerable mappings with an array source parameter (#1125) (8b14725)

v3.4.0-next.4

16 Feb 10:22
450d7ca
Compare
Choose a tag to compare
v3.4.0-next.4 Pre-release
Pre-release

3.4.0-next.4 (2024-02-16)

Bug Fixes

  • don't diagnostic for constructor mappings when no instance can be created but none is needed anyway (450d7ca)
  • prevent collection mapping from using invalid length property (#1108) (216f791)

v3.4.0-next.3

05 Feb 11:00
7998720
Compare
Choose a tag to compare
v3.4.0-next.3 Pre-release
Pre-release

3.4.0-next.3 (2024-02-05)

Bug Fixes

  • do not resolve existing one sideded loose nullable property mappings (#1090) (7998720)
  • generate enumerable mapping methods with interface parameters instead of concrete types to reduce generated methods (#1088) (66752cf)

Features

  • add option to prefer parameterised constructors (#1061) (e606f93)
  • annotate all emitted methods and classes with GeneratedCodeAttribute. (#1069) (374e6cb)

v3.4.0-next.2

10 Jan 07:03
88dd1ff
Compare
Choose a tag to compare
v3.4.0-next.2 Pre-release
Pre-release

3.4.0-next.2 (2024-01-10)

Bug Fixes

  • prevent crash for delegate fields when deep mapping is enabled (#1058) (88dd1ff)
  • remove Runtime suffix of MapperlyAbstractionsScope msbuild option (#1049) (54b0eea)
  • upgrade parameter nullability correctly (#1057) (ad917ee)

v3.4.0-next.1

06 Jan 14:45
7a5cbe4
Compare
Choose a tag to compare
v3.4.0-next.1 Pre-release
Pre-release

3.4.0-next.1 (2024-01-06)

Bug Fixes

  • handle nullable correctly in nullable disabled contexts for generics and arrays (#1029) (132b8cc)

Features

v3.3.1-next.1

18 Dec 08:48
d35c52d
Compare
Choose a tag to compare
v3.3.1-next.1 Pre-release
Pre-release

3.3.1-next.1 (2023-12-18)

Bug Fixes

  • correctly annotate nullable generics in disabled nullable contexts (#1020) (d35c52d)
  • generate generic mapping only for matching source / target types if non-generic (#1000) (9a2916f)