Releases: riok/mapperly
Releases · riok/mapperly
v4.1.1
v4.1.1-next.0
🐛 Bug Fixes
- existing target unmapped required member should not lead to error diagnostic by @latonz in #1570
- use correct user defined mapping configuration for nullable disabled queryable mappings by @latonz in #1580
Full Changelog: v4.1.0...v4.1.1-next.0
v4.1.0
🚀 Features
- support capacity settable members by @latonz in #1526
- improve fullnameof and allow namespaced and nested types by @latonz in #1518
- add roslyn 4.11 as target by @latonz in #1555
🐛 Bug Fixes
- support capacity settable members by @latonz in #1526
- ignore capacity related diagnostics for system collection types when mapping from custom type by @latonz in #1531
- Removes the obsolete attribute from
MapProperty.ctor(string[], string[]
) by @latonz in #1535 - allow assignments of MapValue constant value types to nullable value types by @latonz in #1536
- handle nullable value types with MapValueAttribute and methods correct by @latonz in #1538
- correct analysis of property member accessors by @latonz in #1556
- simplify could not generate mapping exception syntax by @latonz in #1559
- fix inconsistent handling of mixed nullable contexts by @latonz in #1558
- allow multiple MapProperty attributes for the same target member by @latonz in #1560
- correct handling mapping to read-only target arrays by @latonz in #1562
- lazy load types which are not available on netstandard2.0 by @latonz in #1563
Full Changelog: v4.0.0...v4.1.0
v4.1.0-next.3
🐛 Bug Fixes
- fix: correctly handle mapping to read-only target arrays by @latonz in #1562
- fix: lazy load types which are not available on netstandard2.0 by @latonz in #1563
Full Changelog: v4.1.0-next.2...v4.1.0-next.3
v4.1.0-next.2
🚀 Features
🐛 Bug Fixes
- handle nullable value types with MapValueAttribute and methods correct by @latonz in #1538
- correct analysis of property member accessors by @latonz in #1556
- simplify could not generate mapping exception syntax by @latonz in #1559
- fix inconsistent handling of mixed nullable contexts by @latonz in #1558
- allow multiple MapProperty attributes for the same target member by @latonz in #1560
Full Changelog: v4.1.0-next.1...v4.1.0-next.2
v4.1.0-next.1
🐛 Bug Fixes
- ignore capacity related diagnostics for system collection types when mapping from custom type by @latonz in #1531
- Removes the obsolete attribute from
MapProperty.ctor(string[], string[]
) by @latonz in #1535 - allow assignments of MapValue constant value types to nullable value types by @latonz in #1536
Full Changelog: v4.1.0-next.0...v4.1.0-next.1
v4.1.0-next.0
🚀 Features
- support capacity settable members by @latonz in #1526
- improve fullnameof and allow namespaced and nested types by @latonz in #1518
Full Changelog: v4.0.0...v4.1.0-next.0
v4.0.0
🚨 Breaking Changes
- ignore indexed properties by @latonz in #1351
- add enum underlying type conversion by @latonz in #1352
- strict mappings by default by @latonz in #1353
- support mapping properties of custom collection mappings by @latonz in #1364
- improve handling of read-only and immutable types by @latonz in #1413
- improve member matching performance for member names with lots of upper case letters by @latonz in #1447
- enum from/to string explicit mappings by @BeeTwin in #1483
🚀 Features
- introduce MapValueAttribute to map constant values and method provided values by @latonz in #1335
- add MappingTarget attribute to set the mapping target as the first parameter by @latonz in #1376
- support additional mapping method parameters by @latonz in #1400
- inline methods consisting of a single return statement or local variable declaration expression by @hartmair in #1422
- support private constructors by @latonz in #1405
- improve handling of read-only and immutable types by @latonz in #1413
- improve constructor mapping readability by @aradalvand in #1448
- add support for mappers being nested under interfaces or records by @david-driscoll in #1464
- enum from/to string explicit mappings by @BeeTwin in #1483
- enum from/to string naming strategies for different letter casings by @BeeTwin in #1486
- enum from/to string naming strategies for DescriptionAttribute and EnumMemberAttribute by @latonz in #1507
🐛 Bug Fixes
- adjust diagnostic messages to be correct when applied with MapValue by @latonz in #1332
- allow same-name members with different casings by @latonz in #1350
- replace invalid MapPropertyAttribute constructors with valid versions by @latonz in #1354
- failing projection with static mapper from another assembly by @trejjam in #1418
- collect EnumerateUnmappedOrConfiguredTargetMembers to prevent collection was modified exception by @trejjam in #1438
- support inline expression with casting by @trejjam in #1419
- correct map nested interfaced enumerations by @latonz in #1404
- only initialize unflattened nullable target members when needed by @latonz in #1408
- improve handling of read-only and immutable types by @latonz in #1413
- improve member matching performance for member names with lots of upper case letters by @latonz in #1447
- initialize nullable values when assigning null to a child member by @latonz in #1449
- report inaccessible constructor instead of mapping could not be created by @latonz in #1462
- support inlining of method with generic type arguments by @trejjam in #1498
- refactor member matching and member mapping building process by @latonz in #1334
Full Changelog: v3.6.0...v4.0.0
Migration guide: https://mapperly.riok.app/docs/breaking-changes/4-0/
v4.0.0-next.4
🚨 Breaking Changes
🚀 Features
- Adding support for mappers being nested under interfaces or records by @david-driscoll in #1464
- Enum from/to string explicit mappings by @BeeTwin in #1483
- Enum from/to string naming strategies by @BeeTwin in #1486
- Enum naming strategies for DescriptionAttribute and EnuMemberAttribute by @latonz in #1507
🐛 Bug Fixes
- report inaccessible constructor instead of mapping could not be created by @latonz in #1462
- Support inlining of method with generic type arguments by @trejjam in #1498
Full Changelog: v4.0.0-next.3...v4.0.0-next.4
v4.0.0-next.3
🚨 Breaking Changes
- fix: improve handling of read-only and immutable types by @latonz in #1413
- fix: improve member matching performance for member names with lots of upper case letters by @latonz in #1447
🚀 Features
- private constructors support by @latonz in #1405
- fix: improve handling of read-only and immutable types by @latonz in #1413
- feat: improve constructor mapping readability by @latonz and @aradalvand in #1448
🐛 Bug Fixes
- fix: correct map nested interfaced enumerations by @latonz in #1404
- fix: only initialize unflattened nullable target members when needed by @latonz in #1408
- fix: improve handling of read-only and immutable types by @latonz in #1413
- fix: improve member matching performance for member names with lots of upper case letters by @latonz in #1447
- fix: initialize nullable values when assigning null to a child member by @latonz in #1449
Full Changelog: v4.0.0-next.2...v4.0.0-next.3