Skip to content

Releases: riok/mapperly

v3.3.0

12 Dec 03:23
73d1c71
Compare
Choose a tag to compare

3.3.0 (2023-12-12)

Bug Fixes

  • escape method parameters with reserved keywords (#756) (8f7528a)
  • extension method parameters for existing target mappings (#923) (86408ce)
  • improve location of reported diagnostics (#937) (980ac3e)
  • obsolete constructors should have the last priority whlie matching constructors (regression) (#898) (20b7da6)
  • remove unnecessary null conditional access in conditions of property mappings (#788) (c4eed62)
  • resolve correct mapper defaults for roslyn versions <= 4.4 (#958) (14a4ed3)
  • Respect AllowNullPropertyAssignment correctly when mapping code is not a direct assignment (#939) (cac2f2e)
  • when resolving constructors allow a non-nullable value type to be assigned to a nullable value type (#938) (6e08f8e)

Features

  • add diagnostic for nested ignores (#818) (0f61698)
  • add IncludedMembers configuration option and support private member mapping (c0ed6eb)
  • Add option to specify the format provider or culture of a property (#929) (42d3e26)
  • Add option to specify the string format of a property (#921) (236a46f)
  • add strict mapping (#700) (9d6c21a)
  • case-insensitive MapProperty configurations matching for constructor parameters (#957) (b9db799)
  • fix incorrect private set when ~MemberVisibility.Accessible is used (#933) (b60441a)
  • improve ToString handling and use simplest overloads available (#950) (574cef7)
  • support derived type mappings for existing target objects (918f59d)
  • support static mapping methods in non-static mappers (#681) (1724124)
  • use IEnumerable Dictionary constructor for synthetic mappings (#755) (1bc7bdd)

v3.3.0-next.6

06 Dec 12:24
73d1c71
Compare
Choose a tag to compare
v3.3.0-next.6 Pre-release
Pre-release

3.3.0-next.6 (2023-12-06)

Bug Fixes

  • resolve correct mapper defaults for roslyn versions <= 4.4 (#958) (14a4ed3)

Features

  • case-insensitive MapProperty configurations matching for constructor parameters (#957) (b9db799)
  • support derived type mappings for existing target objects (918f59d)

v3.3.0-next.5

28 Nov 09:27
574cef7
Compare
Choose a tag to compare
v3.3.0-next.5 Pre-release
Pre-release

3.3.0-next.5 (2023-11-28)

Bug Fixes

  • improve location of reported diagnostics (#937) (980ac3e)
  • Respect AllowNullPropertyAssignment correctly when mapping code is not a direct assignment (#939) (cac2f2e)
  • when resolving constructors allow a non-nullable value type to be assigned to a nullable value type (#938) (6e08f8e)

Features

  • improve ToString handling and use simplest overloads available (#950) (574cef7)

v3.3.0-next.4

22 Nov 12:24
42d3e26
Compare
Choose a tag to compare
v3.3.0-next.4 Pre-release
Pre-release

3.3.0-next.4 (2023-11-22)

Bug Fixes

  • extension method parameters for existing target mappings (#923) (86408ce)

Features

  • Add option to specify the format provider or culture of a property (#929) (42d3e26)
  • Add option to specify the string format of a property (#921) (236a46f)
  • fix incorrect private set when ~MemberVisibility.Accessible is used (#933) (b60441a)

v3.3.0-next.3

19 Nov 14:52
1724124
Compare
Choose a tag to compare
v3.3.0-next.3 Pre-release
Pre-release

3.3.0-next.3 (2023-11-19)

Bug Fixes

  • obsolete constructors should have the last priority whlie matching constructors (regression) (#898) (20b7da6)

Features

  • support static mapping methods in non-static mappers (#681) (1724124)

v3.3.0-next.2

26 Oct 08:58
c0ed6eb
Compare
Choose a tag to compare
v3.3.0-next.2 Pre-release
Pre-release

3.3.0-next.2 (2023-10-26)

Features

  • add diagnostic for nested ignores (#818) (0f61698)
  • add IncludedMembers configuration option and support private member mapping (c0ed6eb)

v3.3.0-next.1

11 Oct 15:13
7bf0e5e
Compare
Choose a tag to compare
v3.3.0-next.1 Pre-release
Pre-release

3.3.0-next.1 (2023-10-11)

Bug Fixes

  • escape method parameters with reserved keywords (#756) (8f7528a)
  • remove unnecessary null conditional access in conditions of property mappings (#788) (c4eed62)

Features

  • add strict mapping (#700) (9d6c21a)
  • use IEnumerable Dictionary constructor for synthetic mappings (#755) (1bc7bdd)

v3.2.0

18 Sep 06:41
6dc12c7
Compare
Choose a tag to compare

3.2.0 (2023-09-18)

Bug Fixes

  • add correct type for default null-fallback statements when using nullable value types (4fa4163)
  • Allow multiple MapEnumValueAttribute (#672) (71cbfdd)
  • fix spacing for casts and enum parse mappings (#747) (137f2fb)
  • generate correct nullability for external array elements (#715) (7bf8104)
  • prevent null initializing readonly members (#678) (f3d78b4)
  • remove interface from attribute targets on the mapper attribute (#686) (b7e6e20)
  • resolve user implemented mappings correctly in queryable projections (#736) (8cee739)
  • reuse user defined modifiers in method signatures (#734) (dcb2eff)

Features

  • add mapper defaults attribute for assemblies (#657) (765aa0b)
  • Add option to use other mappers (#661) (975f374)
  • C#12 type alias support (#719) (c2f1f4f)
  • generate diagnostic warning when ignored members are explicitly mapped (#708) (4cd4e3a)
  • Implement custom source formatting to improve performance (#706) (44b5df9)
  • Remove runtime dependency on Riok.Mapperly.Abstractions (#711) (f26f026), closes #685
  • Support C#12 primary constructors (#720) (b54b9a5)
  • support for Roslyn 4.7 (#718) (876713d)

v3.2.0-next.4

12 Sep 13:21
4fa4163
Compare
Choose a tag to compare
v3.2.0-next.4 Pre-release
Pre-release

3.2.0-next.4 (2023-09-12)

Bug Fixes

  • add correct type for default null-fallback statements when using nullable value types (4fa4163)

v3.2.0-next.3

11 Sep 09:48
6c11f1a
Compare
Choose a tag to compare
v3.2.0-next.3 Pre-release
Pre-release

3.2.0-next.3 (2023-09-11)

Bug Fixes

  • resolve user implemented mappings correctly in queryable projections (#736) (8cee739)
  • reuse user defined modifiers in method signatures (#734) (dcb2eff)