As part of this release we had 58 issues closed.
Features
- #1374 Supporting .NET Core RTM
- #1340 Net standard 1.3 Support
- #1321 Don't map through properties members mapped through the constructor
- #1304 Configuration expression separating
- #1300 AutoMapper 4.2.1 Abstract Mapping Issue
Improvements
- #1370 Reuse the context when it's generic
- #1360 Make As work with generics; fixes #1349
- #1359 Fixes #1350
- #1356 Try to skip the security check
- #1354 Inline the lambdas as necessary
- #1351 Simplify Resolution Context
- #1349 The interface has a conflicting property ID Parameter name: interfaceType
- #1345 Remove null checks from map when src allready checked
- #1344 Better Array Mappings
- #1336 Ignore explicit interface implementations with no setter
- #1333 IgnoreAllPropertiesWithAnInaccessibleSetter throws ArugmentOutOfRangeException when destination has explicit interface implementation property
- #1332 A typo and some unnecessary work
- #1319 Avoid calling IsDictionaryType because it allocates
- #1315 Eliminate some allocations and some refactoring
- #1306 Share the context between property mapping and constructor mapping
- #1303 Reuse the context for properties and constructor parameters
- #1294 Do not catch exceptions inside Resolve; closes #1293
- #1293 5.0 Beta1 will swallow exceptions
- #1290 Reuse the context for collections
- #1288 Resolve using with different types
- #1284 Make seal last and move newing up create map functions before do config and seal.
- #1282 Use casting instead of DynamicInvoke
Bugs
- #1373 Map from nullable source; fixes #1372
- #1372 Value lost when mapping from Nullable to Nullable
- #1371 Define NET45 in debug too; this caused the System.FieldAccessExceptio…
- #1369 Specify the type of the parameter for missing map exception
- #1367 Test-case for #1366
- #1366 Strange exception if trying to map unmapped type.
- #1364 Fix buildOptions
- #1363 project.json contains wrong json element for signed dll's
- #1355 Use type maps in item mapping for collections if exists
- #1338 Allow overriding the built in object mapper with a custom type converter
- #1337 Eliminate duplicate extension methods; fixes #1297
- #1330 Error trying to map System.Collections.Immutable.ImmutableDictionary
- #1314 Allow custom resolved values to validate; I didn't try to get the typ…
- #1308 Test for #1307
- #1305 Fixing bug on mapping null objects
- #1302 Passing NULL objects to mapper.Map() raises exception
- #1297 AutoMapper 5.0.0-beta-1 with ASP.NET Core RC2 throws System.ArgumentException: An item with the same key has already been added
- #1289 Mapping structs
Where to get it
You can download this release from nuget