As part of this release we had 60 issues closed.
Features
- #1464 Explicit skipping of individual type maps configuration validation
- #1416 Opt-out configuration validation
- #1405 Conditional property map configs
Improvements
- #1466 Validating constructor mapping as part of configuration validation
- #1457 AutoMapper 5.0.0 introduces runtime errors that AssertConfigurationIsValid doesn't catch
- #1456 AutoMapper fails to map class with non-default constructor
- #1452 Open generics allow any member configuration; removed a ton of dead c…
- #1451 Inheriting resolvers from base maps
- #1450 Adding back in destinations for value resolvers; Added new member val…
- #1445 Restoring destination value in type converters
- #1444 ResolveUsing<> not being inherited by IncludeBase<>
- #1415 Better error message
- #1412 Avoid boxing when calling before/after map actions
- #1411 Restoring easy static config validation
- #1392 Update copyright year in readme
Bugs
- #1478 Fixing pack options to include PDBs and XML docs
- #1476 If all we got from the constructor was a default value, try property …
- #1475 Bug: Ctor with default values overrides mapped values (Automapper 5.0.0)
- #1473 Bug: AutoMapper 5.0 nuget doesn't contain xml files with documentation
- #1471 Fixes #1469; Removed not needed accessor code
- #1470 Correctly setting null type for allowing null collections
- #1469 Null flattening has changed in 5.0
- #1468 Using the resolve value expression to determine how to map member ins…
- #1467 ArgumentException when mapping from IEnumerable to T[] when AllowNullCollections is on
- #1463 Map only the dynamic members necessary
- #1458 Fixes #1453
- #1453 Mapper.Initialize throw ArgumentNullException
- #1437 ProjectTo stack overflow
- #1434 Fixes #1417
- #1433 5.0.0 - AutoMapper.QueryableExtensions Project fails when source and destination contain MS-SQL timestamp
- #1430 Expando object bug
- #1429 Create missing map circular reference
- #1427 Calling ForMember with open generics throws NullRef
- #1423 On .NET Core, Length is not a property of string[] for example; a bug…
- #1422 StackOverflowException related to CreateMissingTypeMaps and AddConditionalObjectMapper
- #1421 Make Condition like pre-condition with IfThen
- #1418 Can't map between Lists
- #1417 Not all members are being mapped
- #1413 Conditional Mapping Issue (vers 5.0)
- #1402 Catch NRE in MapFrom; closes #1382
- #1401 IfNullVisitor memory leak
- #1400 Fixes #1380
- #1397 Closes #1389
- #1396 Fixes #1394
- #1394 Automapper 5.0.0 can map flags enum to nullable flags enum
- #1393 Can't configure mapping where source and destination have byte[] properties
- #1391 Preferring type map even if a mapper matches for property maps
- #1389 This operation is only valid on generic types
- #1388 Explicit dependencies
- #1385 Fixed all sorts of nuget problems
- #1384 CreateMissingTypeMaps sets properties of complex objects to null
- #1382 MapFrom not applying Null Checking all of the way in 5.0
- #1381 Fixes #1379
- #1380 Additional Type Checks still run after ConvertUsing in 5.0
- #1379
ITypeConverter
from int/int? to bool throws exception in 5.0 but works in 4.2.1 - #1378 Complex mapping fails in 5.0
- #1352 UseAsDataSource StackOverflow Error
- #1342 Map Automatic Property to ExpandoObject causes many k__BackingField member
- #1131 Automapper fails when using .NET Native - Part 2
Where to get it
You can download this release from nuget