As part of this release we had 93 issues closed.
Features
- #1278 Supporting official RC2 bits
- #1274 Dot not core rc2
- #1210 Implement ResolveUsing for constructor parameters
- #1209 Constructor mapping doesn't honor
ResolveUsing
- #1207 Implemented mapping between open generic and nongeneric or closed generic types
- #1072 Argument type 'IMapper' is not CLS-compliant
- #1055 Remove all obsolete static APIs
- #1049 ForAllOtherMembers #602
- #922 Allow disabling the default naming convention
- #611 Fixes #602: Added ForAllOtherMembers implementation. Not sure how I should do ...
- #602 FR: ForAllOtherMembers
Improvements
- #1280 Adding convenience property for easier access to context items
- #1275 Finish IObjectMapExpression conversions
- #1263 Default value for Guid; fixes #1254
- #1251 Expand object mappers to provide expression-based mapping
- #1245 Switching construct using to use expressions
- #1244 Generic type converter with two type parameters
- #1243 Generic mappers
- #1222 Expression optimization
- #1211 Property map mapping via compiled expressions
- #1186 Base interface members
- #1185 Make the null substitute type safe
- #1184 Can not map inherited property by its name
- #1181 ProjectTo throws an exception when an interface is mapped with a base-interface property mapping
- #1172 Disable the cache by default
- #1152 Property map performance enhancements
- #1130 Small changes to expression-binding behaviour II
- #1103 Extension methods per type
- #1096 Add DestinationType back into resolving member info conventions. Part 2
- #1090 Restore some static api
- #1086 Configuration Overhaul
- #1081 Make create mapper more pure
- #1079 Fixes #1077
- #1077 4.2.0 .Include<DerivedSourceType, DerivedTargetType> throws exception with base type names
- #1060 Passing test; closes #944
- #1056 Add DestinationType back into resolving member info conventions.
- #1050 Added sorting of interfaces (2)
- #1007 Add methods to streamline member resolution using ResolutionContext.Options.Items
- #1004 Add an AllowNull configuration
- #1001 Expression.NotEqual causing an exception when using queryable projections
- #944 Open generic mappings failed with derived types
- #938 Complex types bug 925
- #852 Small changes to expression-binding behaviour
Bugs
- #1281 Pre and post fixes now case insensitive
- #1265 Always generate typed mapping funcs
- #1240 MapFrom should override matching source member
- #1237 The wrong null check now that Types is a value type
- #1236 DoNotUseDestinationValue should work for value types too
- #1230 Inherit the mapping order
- #1217 Flatten nested children using ProjectTo
- #1216 Flatten nested children using ProjectTo
- #1204 Use the runtime type of the source object when mapping collections
- #1203 Dynamic mapping in 4.2.1 not behaving as expected
- #1198 Include recursively all the base maps
- #1197 Condition override custom resolver defined in inherited mapping.
- #1093 When using resolve, infer the type of the resolved value
- #1089 Fix the generics test
- #1075 IncludeBase failure in 4.2 (worked in 4.1 and below)
- #1059 Compile the mapping lambda for the constructor argument; closes #1047
- #1048 Passing test for #1046
- #1047 Problem with mapping constructor arguments from nested classes
- #1046 Mapping to base class does not work
- #1024 Faling test for #1023
- #999 Broken inheritance after upgrading to version 4.1.1 (in RELEASE mode only)
- #967 Prefix/Postfix property matching is now case sensitive
Where to get it
You can download this release from nuget