Releases: riok/mapperly
Releases · riok/mapperly
v3.3.0
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
v3.3.0-next.5
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
v3.3.0-next.4
v3.3.0-next.3
3.3.0-next.3 (2023-11-19)
Bug Fixes
- obsolete constructors should have the last priority whlie matching constructors (regression) (#898) (20b7da6)
Features
v3.3.0-next.2
3.3.0-next.2 (2023-10-26)
Features
v3.3.0-next.1
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
v3.2.0
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
3.2.0-next.4 (2023-09-12)
Bug Fixes
- add correct type for default null-fallback statements when using nullable value types (4fa4163)