Release notes
Sourced fromAutoMapper's releases.
15.1.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v15.0.1...v15.1.0
15.0.1
What's Changed
Full Changelog:LuckyPennySoftware/AutoMapper@v15.0.0...v15.0.1
This release supersedes the 15.0.0 release, reverting behavior and overloads so that theAddAutoMapper overloads separate the "scanning for maps" from the "scanning for dependencies". Unfortunately it's not really possible to combine these two together.
This also fixes a critical bug in #4545 that does not work with .NET 4.x applications (as intended).
Because of this, the 15.0.0 will be delisted because of the breaking changes there.
15.0.0
Full Changelog:LuckyPennySoftware/AutoMapper@v14.0.0...v15.0.0
- Added support for .NET Standard 2.0
- Requiring license key
- Moving from MIT license to dual commercial/OSS license
To set your license key:
services.AddAutoMapper(cfg=>{cfg.LicenseKey="<License key here>";});This also introduced a breaking change withMapperConfiguration requiring anILoggerFactory for logging purposes:
publicMapperConfiguration(MapperConfigurationExpression configurationExpression,ILoggerFactory loggerFactory)
Registering AutoMapper withservices.AddAutoMapper will automatically supply this parameter. Otherwise you'll need to supply the logger factory.
You can obtain your license key atAutoMapper.io
14.0.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v13.0.1...v14.0.0
13.0.1
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v13.0.0...v13.0.1
13.0.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v12.0.1...v13.0.0
12.0.1
What's Changed
Full Changelog:LuckyPennySoftware/AutoMapper@v12.0.0...v12.0.1
12.0.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v11.0.1...v12.0.0
Upgrade Guide:https://docs.automapper.org/en/latest/12.0-Upgrade-Guide.html
11.0.1
As part of this release we had10 issues closed.
Bugs
- #3870 Handle identity lambda resolvers with ProjectTo subquery
- #3869 v11 InvalidOperationException: Stack Empty on mapping which used to generate a subquery
- #3856 Allow non-public Enumerator.Current
- #3821 Assign collections we can't handle
- #3820 StackOverflowException when using JObject.Parse
- #3818 Return the first method we find
- #3817 Calling IMapper.Map with an OrderBy causes an AmbiguousMatchException to be thrown
Improvements/Features
- #3874 Fix EF6 relationships and Id initialization
- #3839 Add AsProxy property to AutoMapAttribute
- #3830 Adding information to exception message; Addresses #3828
Where to get it
You can download this release fromnuget
11.0.0
The upgrade guide.
As part of this release we had17 issues closed.
Bugs
- #3676 Error when using nullables with an implicit conversion operation.
- #3595 Open Generics with base generic
- #3565 Evaluate Conditional Expressions for projections with subqueries
- #3563 Query projection with subquery can generate non-compiling expression
- #3523 Multiple source matches for a destination property
- #3516 Static field requires null instance, non-static field requires non-null instance
Improvements/Features
- #3723 Inherited source operators support for ConversionOperatorMapper
- #3613 Map closed to ienumerable generic destination
- #3605 Generic destination value resolver
- #3596 11.0 upgrade guide
- #3593 InvalidCastException with multi-dimensional arrays
- #3537 CreateProjection
- #3532 IncludeBase is ignored when ForAllOtherMembers are used
- #3526 Expression of type 'TInterface' cannot be used for parameter of type 'TConcrete' (Parameter 'arg1')
- #3518 Global pre and postfixes
- #3510 Unable to map byte[] or byte[]? (nullable byte[]) using AutoMapper ForCtorParam function
- #3504 Separate internal APIs
Where to get it
You can download this release fromnuget
10.1.1
As part of this release we had3 issues closed.
Bugs
- #3520 NonNullableToNullable
- #3519 InvalidProgramException with ProjectTo and nullable ints
- #3517 Operation could destabilize the runtime with ProjectTo and NHibernate
10.1.0
As part of this release we had6 issues closed.
Bugs
- #3490 Ignore static constructors
- #3458 Null destination value type with mapper
- #3453 Mapping with struct destination
Improvements/Features
- #3509 Update 10.0-Upgrade-Guide.md
- #3487 Trim keys when mapping from dictionaries
- #3473 Issue 3422 ExplicitExpansion
Where to get it
You can download this release fromnuget
10.0.0
https://docs.automapper.org/en/latest/10.0-Upgrade-Guide.html
As part of this release we had30 issues closed.
Bugs
- #3413 Enable ForAllMaps to work with ForCtorParam
- #3334 The source type must be assignable to the type of the transformation
Improvements/Features
- #3451 Update 10.0-Upgrade-Guide.md
- #3448 10.0 upgrade guide and some refactorings
- #3443 Links to more ReadableExpressions resources
- #3438 Clean up Mapper and friends
- #3437 AllowNull overrides per member AllowNullDestinationValues/Collections
- #3424 Allow any expression with IncludeMembers
- #3415 Exclude some public members from api checks
- #3411 EF Core; generalize constructor mapping for ProjectTo
- #3408 Update Open-Generics.md
- #3405 Improve cycle detection with inheritance
- #3403 Example for setting up DI for Catel.IoC
- #3401 Matching source values should override constructor parameters default…
- #3400 ExactMatchNamingConvention
- #3396 Only check simple member expressions for source members
- #3393 Avoid collections with null values when reaching max depth
- #3387 Non generic member transformer
- #3379 ProjectTo does not load expanded child collections.
- #3374 Generic value resolvers
- #3373 String based MapFrom for constructors
- #3368 Map read-only collections by default
- #3356 Reverse naming conventions for reverse maps by default
- #3349 Allow recursive queries
- #3347 Add brief documentation for 8.1.1 upgrade
- #3337 Attribute-based reverse mapping with SourceMemberAttribute
- #3336 Reverse the string based MapFrom
- #3319 Update Expression-Translation-(UseAsDataSource).md
- #3314 Fix .NET standard link on docs homepage
- #3306 Update Flattening.md
Where to get it
You can download this release fromnuget
9.0.0
As part of this release we had21 issues closed.
This release completely removes the static mapper (Mapper.Map) and dynamic mapping. See the9.0 upgrade guide for details on how to migrate.
Improvements/Features
- #3134 Remove dynamic maps
- #3136 Removing static API
- #3187 Match destination enumerable types with it's enumerable for LINQ
- #3182 Help the runtime find the AM assembly
- #3180 Update Custom-value-resolvers.md
- #3173 Don't check for IDisposable at runtime for value types
- #3170 Update Conditional Mapping docs
- #3169 ForCtorParam MapFrom any expression
- #3162 Inherit included members
- #3160 WIP ForCtorParam MapFrom any expression
- #3158 Call dispose on the enumerator while avoiding boxing
- #3150 When using the context, check that the right Map overload was used
- #3149 Public Source property for ContextCacheKey
- #3144 Automate updating last version binary
- #3141 Moving enums after assignable to simplify assignable enums
- #3135 Remove static API
- #3127 Respect AllowNullCollections
- #3106 Adding ResolutionContext to IMappingAction<TSource, TDestination>.Process()
- #3105 ResolutionContext unavailable in IMappingAction
- #3063 Remove dynamic maps
Bugs
- #3172 Allow non nullable default values for nullable enum constructor param…
Where to get it
You can download this release fromnuget
8.1.1
As part of this release we had10 issues closed.
Improvements
- #3102 Deprecate CreateMissingTypeMaps and change the default to false
- #3082 Deprecate the static mapper
- #3101 Validate all member maps, not only the property maps
- #3096 Type.EmptyTypes instead of new Type[0]
- #3050 Enabled multiple usage of AutoMapAttribute
Bugs
- #3098 IncludeMembers with Include
- #3072 Revert a recent change to Include
- #3061 Null check
- #3060 Check for extension methods
- #3056 Resolve can create new maps
Where to get it
You can download this release fromnuget
8.1.0
As part of this release we had31 issues closed.
New feature:attribute-based maps
Bugs
- #3040 Match members by name
- #3038 ForAllOtherMembers rewrites mapping of properties.
- #3021 Checking collections for null is not allowed in EF6
- #3020 fixed enum values caseinsensitivity bug
- #2977 Skip generic mappings when precompiling
- #2967 Handle redirected properties in the let clause
- #2927 Generics with untyped MapFrom
- #2902 Validation fails despite a value resolver being configured
- #2901 A value converter/resolver always returns a value of the destination …
- #2887 A constructor parameter with no name won't match anything
Improvements/Features
- #3041 Refactor feature extensions
- #3030 Features cleanup
- #3004 Obsolete Profile.CreateMissingTypeMaps
- #3003 IncludeMembers with MemberList.Source validation
- #3001 Respect PathMappings in unmapped property names list
- #2997 Dropping value tuples.
- #2981 AutoMap attribute configuration options
- #2978 AutoMap attribute configuration options
- #2972 Include members
- #2969 Consolidate ProjectTo parameters handling
- #2960 Add support to specify ShouldMapMethod
- #2952 Added AddProfiles method that takes an IEnumerable
- #2944 Attribute map configuration
- #2940 Flow resolution context to nested mappings
- #2938 Assume single automap attribute
- #2936 Support configuring attribute maps with additional properties
- #2933 Attributes to define a type map configuration
- #2930 Support creating maps via attributes
- #2928 Set UseDestinationValue for readonly members
- #2895 Throw a detailed exception when sourceExpression is null in MapFrom.
- #2892 Added methods BeforeMap and AfterMap for IMappingExpression with ResolutionContext
Where to get it
You can download this release fromnuget
8.0.0
As part of this release we had45 issues closed.
Bugs
- #2746 Check for generic instances of included maps
- #2742 IncludeBase doesn't work with a generic map
- #2741 fix PropertiesWithAnInaccessibleSetter
- #2740 IgnoreAllPropertiesWithAnInaccessibleSetter not working with base classes
Improvements/Features
- #2874 [Simplify include base with IncludeAllDerived](http://docs.automapper.org/en/stable/Mapping-inheritance.html?highlight=includeallderived
- #2873 Read only dictionaries support
- #2867 Update Dependency-injection.md
- #2866 Added IMapper.ProjectTo
- #2859 Generic maps validation
- #2857 IMapper.ProjectTo
- #2850 Added example for Castle Windsor
- #2849 Validate closed generic maps
- #2848 Closed generic maps validation
- #2846 ForPath works only with Map
- #2844 Dynamic child maps validation
- #2840 Xml docs
- #2838 Consider ISet as a collection type when mapping null
- #2834 Remove the symbols package
- #2827 Rename ISourceMemberConfigurationExpression.Ignore to DoNotValidate
- #2826 Replace all .DestinationMember.Name with .DestinationName and revert …
- #2820 Contextual exceptions for path maps
- #2817 Path property map refactor
- #2814 Set ignored in the property map constructed from a path map
- #2813 Mapping with ForPath causes StackOverflowException
- #2809 Consolidate ResolveUsing to MapFrom
- #2808 Consolidate construct using
- #2807 Consolidating ProjectUsing to ConvertUsing
- #2806Value converters
- #2804 Drop netstandard13
- #2800 fixed whitespace
- #2795 Remove ConstructProjectionUsing
- #2794 Support readonly collection types
- #2790 ProxyGenerator: The fully qualified type name must be less than 1,024 characters.
- #2780 Remove Substitute
- #2778 AssertConfigurationIsValid(profileName) should throw if name does not exist
- #2776 Proposal: Kill Substitute
- #2774 Update Value-transformers.md
- #2764 Open generic and destination type redirect not working
- #2751 System.ValueTuple is included from 4.7 on
- #2728 Allow PreCondition to modify destination object.
- #2727 Provide the destination object in a PreCondition overload
- #2698 Implement ShouldUseConstructor
- #2691 Limit which constructors can be used
... (truncated)
7.0.1
As part of this release we had11 issues closed.
This is a bugfix release to remove the dependency on the deprecatedSystem.Reflection.Emit package from Microsoft.
Bugs
- #2661 Regression: Exception during Expression Builder Map Creation
Improvements/Features
- #2682 Remove package references to System.Reflection.Emit
- #2681 ProjectTo : An edge case with the let clause
- #2679 Adding sourcelink to enable PDB debugging
- #2677 Parameterized queries
- #2675 Unable to cast TypedConstantExpression to MemberExpression in ProjectTo
- #2671 Include with open generics
- #2669 Fix SetTraceIdentifierAction constructor name
- #2665 Does AutoMapper support Open Generics with inheritance from a non-generic base class?
- #2664 Link to the new expressions package
- #2662 Fix bad similar type replacement in parameters
Where to get it
You can download this release fromnuget
7.0.0
As part of this release we had48 issues closed.
This release contains mainly bug fixes and afew breaking API changes, as well as an explicitnetstandard2.0 target.
Bugs
- #2521 #2520 - Fixed Effort- and ODataQueryTests and a bug in ExpressionVisitor
- #2502 Return the same type on both branches
- #2501 ProjectTo Exception: Argument types do not match
- #2466 Mapping from ExpandoObject to existing destination
- #2461 The MapFrom should have higher priority than postfixes
- #2459 ForMember doesn't work after AddMemberConfiguration().AddName()
Improvements/Features
- #2658 Break out expression mapper
- #2651 Add a section about conditions and resolvers
- #2650 Condition vs PreCondition docs
- #2641 Nullable untyped MapFrom
- #2640 Dynamic mapping : Map null to the default for value types
- #2633 Exception when mapping from an ExpandoObject.
- #2632 Add repository information to csproj
- #2621 Say that it's a dynamic map when validation fails
- #2616 Fixed documentation to not have DuplicateTypeMap
- #2614 Update unit test to match behavior as explained
- #2610 Extract NullsafeQueryRewriter to separate licensed file
- #2606 From #2515
- #2605 Removing preview version of VS 2017
- #2604 Fix to issue #2578
- #2603 Fix TypeDetails ignoring non-generic extension methods #2593
- #2602 Fix projection to destinations using extension methods #2593
- #2596 ##2594: Remove empty profile name from MapperConfigurationException
- #2594 Exception Message for DuplicateTypeMapConfigurationException
- #2593 ProjectTo error with aggregate functions on IEnumerable
- #2586 Update build status link
- #2580 Fix for Issue #2578
- #2578 Automapper should sort properties in ProjectTo consistently
- #2575 .NET Standard 2.0 support
- #2568 ProjectTo : Expose binders and result converters
- #2560 Define ComVisible Attribute
- #2541 Missing closing bracket in example code
- #2518 Use resolve when looking for included maps
- #2513 Open generics in combination with mapping inheritance do not work
- #2504 fix whitespace
- #2499 Let clause : explicitly generate just the properties we need
- #2495 Update Lists-and-arrays.md
- #2494 Ignore properties that are not expanded
- #2491 Update copy of NeinLinq.NullsafeQueryRewriter
- #2490 Massive performance issues from 6.1.0 upwards
- #2488 Custom validation docs
- #2487 Test for #2486
- #2477 Added doc for IMappingAction and Asp.Net Core Dependency Injection.
... (truncated)
6.2.2
As part of this release we had7 issues closed.
Improvement
- #2421 Better error message when the creation of the instantiation expression fails
Bugs
- #2450 Collection bug
- #2438 We don't need the property map when mapping the item; for nested coll…
- #2437 NullReferenceException when mapping List to ObservableCollection and CollectionChanged event not fired
- #2419 Consider value types
- #2418 Struct self-mapping
- #2397 Mapping between different ICollection implementations fails
Where to get it
You can download this release fromnuget
6.2.1
As part of this release we had7 issues closed.
Improvements
- #2407 Add Mapper.Reset to reset static mapping
- #2406 Adding ability to configure the member list to validate; closes #2402
- #2404 Add Mapper.Reset back
Bugs
- #2403 Moving inline map creation back to inside type map resolving
- #2402 6.2.0 Broke Conventions-Based Mappings With Missing Target Members
- #2399 After upgrade to 6.2.0 - xUnit test fixtures throw exception
- #2394 Inline maps broke missing type map creation for ProjectTo.
Where to get it
You can download this release fromnuget
6.2.0
As part of this release we had70 issues closed.
Features
Improvements
- #2389 Allow ToList/ToArray for primitive types
- #2387 Can't map IEnumerable to List
- #2382 Better error message
- #2380 Identified property parent incorrect in error message following ReverseMap() in nested models.
- #2362 Consider derived maps when setting PreserveReferences
- #2356 PreserveReferences with inheritance
- #2308 Mention ForPath
- #2307 Added NeutralResourcesLanguageAttribute
- #2303 Missing NeutralResourcesLanguageAttribute
- #2297 Enforce calling Mapper.Initialize once
- #2295 Enforce calling Mapper.Initialize once
- #2282 Null check static methods too
- #2252 Add PreCondition overload that takes source and ResolutionContext as parameters
- #2247 Make debugging easier
- #2243 Speed up the tests
- #2224 Inherit ForPath
- #2222 Validate included types
- #2221 Allow constructor mapping for value types
- #2207 Constructor mapping with struct
- #2191 Reverse mapping unflattening not working with IncludeBase
- #2190 Use Resolve instead of Find for expression generation
- #2185 Allow simple MapFrom-s to pass validation
- #2180 Sdk style tests
- #2177 Fix for #2166 and #2167.
- #2172 AssertConfigurationIsValid with MemberList.Source doesn't recognize inherited ForMember mapping
- #2166 Issue with MapExpression when expression checks if a string equals null
Bugs
- #2383 Fix for #2378 Expression mapping with coalesce operator is extremely slow or just hangs up.
- #2378 Expression mapping with coalesce operator is extremely slow or just hangs up
- #2376 Preserve references with ctor mapping
- #2363 ArgumentException: An item with the same key has already been added.
... (truncated)
6.1.1
As part of this release we had12 issues closed.
This release includes the ability to turn off the un-flattening behavior added in 6.1.0 usingForPath.Ignore
Bugs
- #2156 Generate setters only when they are required
- #2155 NotSupportedException exception with EF unmapped members
- #2152 Unexpected behavior for CustomValueResolver
- #2151 ReverseMap creates object for navigation property
- #2147 Allow null colections
- #2145 AllowNullCollections=false not honored for ICollection
- #2144 Avoid conflicts between path maps and property maps
- #2143 ResolveUsing not working correctly after ReverseMap
Improvements/Features
- #2162 Allow ignores on reverse map paths
- #2161 Allow ignoring a path in ReverseMap
- #2158 Request a repro
- #2153 Fix ExpressionBuilder GetMapExpression behaviour
Where to get it
You can download this release fromnuget
6.1.0
As part of this release we had28 issues closed.
Bugs
- #2115 Null checks
- #2109 Consider only constructors that can resolve all parameters
- #2102 ResolveUsing problem
- #2100 Check the underlying type
- #2097 Use the runtime type for the destination too
- #2096 ArgumentException when trying to map a ViewModel List to Domain List
- #2065 Use the existing destination
- #2064 Mapping to readonly IEnumerable property
- #2054 Regression - Exception in System.Linq from NullableSourceMapper
- #2025 Passing the type doesn't seem to help
Improvements/Features
Where to get it
You can download this release fromnuget
6.0.2
Removed the unused ValueTuple dependency
6.0.1
Stupid assembly version was missing.
6.0.0
As part of this release we had62 issues closed.
List of breaking changes:
5.2.0...6.0.0
Features
- #1916 Provide an alternative to using ProjectTo() and static initialization…
- #1906 Support older collection types
- #1883 Add Advanced property and put BeforeSeal function in it
- #1876 Add a per member option DoNotInline
- #1866 Need to get ProfileConfiguration before sealed
- #1848 Avoid static state; Mapper registry managed through mapper configuration
Improvements
- #1957 5.2.0 issue value type projection expression
- #1956 ProjectTo<>(...,Expession<<>>[]membersToExpand): lambda for a Value Type causes NullReferenceException
- #1933 Exclude more system base types
- #1930 Concurrency
- #1922 Remove DoNotUseDestinationValue
- #1919 Custom config validation
- #1913 Inherit ignore unless overriden in the derived map; fixes #1910; fixe…
- #1910 inheritedMapper for map to a existed object is not working right.
- #1895 Use ReverseTypeMaps when configuring closed generic TypeMaps
- #1889 Multiple value resolver interfaces
- #1887 To support resolver that implements multiple IValueResolver interfaces
- #1877 Handle fields too; fixes #1875
- #1875 Simple ProjectTo throws Exception, stating an incorrect Property type
- #1872 Match on requested types if runtime types don't match; fixes #1865
- #1865 Mapping nullable does not use nullable map when called with a non-null value
- #1861 Add link to BuildExecutionPlan
- #1860 Add a link to the wiki
- #1844 Expose the execution plan
- #1842 AutoMapper.Debugging
- #1822 Just look for IMemberValueResolver; fixes #1813
- #1813 Interfaces derived from IMemberValueResolver<,,,> break BuildValueResolverFunc
- #1732 Inherited Ignore Ignored
Bugs
- #1991 We need the lock
- #1931 AutoMapper 4.1.1 -> 5.2.0 Dynamic Enum Mapping differences
- #1911 fix for issue 1886 and unit test in SourceInjectedQuery class
- #1908 Missing property name on AssertConfigurationIsValid exception
- #1905 InvalidOperationException when mapping IList to CollectionBase via ResolveUsing
- #1901 Preserve references
- #1892 Best way to preserve compatibility for v4 to v5 upgrade
- #1890 Correct order of ExpressionBinders
- #1886 Mapping of Expression<Func<T,bool>> causes exception starting from AutoMapper 5.2.0
- #1879 QueryableExtensions: NullableExpressionBinder used in preference to CustomExpressionBinder
- #1863 Default enum value to string
... (truncated)
5.2.0
As part of this release we had74 issues closed.
Features
Improvements
- #1809 Check the destination type override to be a derived type
- #1753 Expose the destination member
- #1746 Make IncludeBase work with ReverseMap
- #1745 Add .editorconfig
- #1743 ReverseMap ignores mapping inheritance (AutoMapper 5.1.1)
- #1734 Compile once
- #1719 Add some helpful casts
- #1714 Always map array contents & remove the primitive array mapper.
- #1687 Make it easier to spot missing services
- #1677 Lazily create convert expressions
- #1655 UWP 5.2.2 + AutoMapper 5.1.1 = Insanely long builds
- #1628 Match by name; the member type can be generic and so the types won't …
- #1624 InvalidOperaionException when automapping using open generics and including the source in a ForMember statement
- #1530 Make constructor mapping a little more lenient
- #1528 Invalid constructor mappings throw exceptions at seal-time
Bugs
- #1814 Filtering dynamic assemblies
- #1812 Applying partially trusted callers only for full .NET
- #1806 Catch NRE in MapFrom with value types; fixes #1798
- #1805 Return null when mapping from null string to nullable
- #1804 string -> int? conversion returning 0 rather than null
- #1798 In AutoMapper 5.1.1 MapFrom method does not ignore Null Reference Exception but throws it
- #1788 Checking for closures (constant expressions) when mapping expressions
- #1785 Fixing expression visitors to properly visit the underlying expressio…
- #1778 MapFrom variable 'src' of type 'Xyz' referenced from scope '', but it is not defined
- #1774 Mapping from "string" to "nullable enum" throws exception
- #1772 Map string to nullable enum
- #1765 Fix #1482
- #1764 MapFrom/ResolveUsing no longer support null assignment
- #1752 Consider VB closures
- #1748 Paramterized mappings not working using VB.NET and Profiles
- #1740 Mapping to/from object doesn't seem useful
- #1731 Bugfix #1727
- #1727 Automapper v5.1.1 does not work with ObservableDictionary where Automapper 4 does
- #1718 When we map a nullable, we should map the underlying type unless an e…
- #1717 Mapping from nullable enum stopped working in AutoMapper 5
- #1711 Multiple IEnumerable interfaces
- #1697 AddProfiles Blows Up With NotSupportedException if Any of the Assemblies are Dynamic
- #1692 Fixed memory leaks
... (truncated)
5.1.0
As part of this release we had57 issues closed.
Features
- #1573 Base class for simple object mappers that don't want to use expressions.
- #1572 Constructor tests with prefixes and postfixes for source and destination
- #1568Profile scanning
- #1253 Recognize pre/postfixes in ctor args
Improvements
- #1559 Add an AllowNull configuration
- #1557 Inline the easy cases
- #1549 Break long line in AutoMapperConfigurationException
- #1547 [aestethic] Missing newline in AssertConfigurationIsValid output
- #1533 Portable profile 111 support
- #1527 Better exception messages
- #1512 Configuration faster
- #1493 Enumerators
- #1377 Inline sub map expressions
- #1001 Expression.NotEqual causing an exception when using queryable projections
Bugs
- #1612 Automapper is actually built with debug flags / non optimized when building in release mode.
- #1602 Don't fail when the parameter name is null
- #1601 Map from null interface
- #1588 Struct with collection
- #1579 The null substitute should have the same type as the value resolved
- #1578 Using NullSubstitute with different source/destination types throws ArgumentException
- #1567 Consider the underlying nullable type a related type when resolving t…
- #1566 ConvertUsing from value type to the same value type doesn't work
- #1558 Resorting to nuspec because of nuget weirdness
- #1555 Don't allow duplicate After/Before Map registrations
- #1554 Add a null guard instead of rewriting each node
- #1552 5.0.2 Can't create map where source is DateTime.Date
- #1550 Update to 5.0.2 broke existing maps
- #1538 Map to existing object
- #1537 Convert using to string
- #1529 Possible regression: AutoMapper 5.0.2 calls ToString() where 4.x didn't
- #1523 Reuse the default context even only when MaxDepth and PreserverRefer…
- #1522 ExpandoObject is a dictionary and should be mapped as such
- #1520 Fix #1518
- #1519 Added failing unit test for #1518
- #1518 Index was outside the bounds of the array.
- #1516 Multiple destination type maps for the same source type fails and uses the first type instead when PreserveReferences is specified.
- #1511 Revert the order of the binders; I'm guessing this is the root cause …
- #1509 Projecting EF queryables with AllowNullCollections throws exception
- #1508 Only doing null fixing on custom member mappings when there are only …
- #1505 Exception when configuring mappings (worked in 4.2.1)
- #1502 Fixes #1495...
Description has been truncated
UpdatedAutoMapper from 1.1.0.118 to 15.1.0.
Release notes
Sourced fromAutoMapper's releases.
15.1.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v15.0.1...v15.1.0
15.0.1
What's Changed
Full Changelog:LuckyPennySoftware/AutoMapper@v15.0.0...v15.0.1
This release supersedes the 15.0.0 release, reverting behavior and overloads so that the
AddAutoMapperoverloads separate the "scanning for maps" from the "scanning for dependencies". Unfortunately it's not really possible to combine these two together.This also fixes a critical bug in #4545 that does not work with .NET 4.x applications (as intended).
Because of this, the 15.0.0 will be delisted because of the breaking changes there.
15.0.0
Full Changelog:LuckyPennySoftware/AutoMapper@v14.0.0...v15.0.0
To set your license key:
This also introduced a breaking change with
MapperConfigurationrequiring anILoggerFactoryfor logging purposes:Registering AutoMapper with
services.AddAutoMapperwill automatically supply this parameter. Otherwise you'll need to supply the logger factory.You can obtain your license key atAutoMapper.io
14.0.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v13.0.1...v14.0.0
13.0.1
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v13.0.0...v13.0.1
13.0.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v12.0.1...v13.0.0
12.0.1
What's Changed
Full Changelog:LuckyPennySoftware/AutoMapper@v12.0.0...v12.0.1
12.0.0
What's Changed
New Contributors
Full Changelog:LuckyPennySoftware/AutoMapper@v11.0.1...v12.0.0
Upgrade Guide:https://docs.automapper.org/en/latest/12.0-Upgrade-Guide.html
11.0.1
As part of this release we had10 issues closed.
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
11.0.0
The upgrade guide.
As part of this release we had17 issues closed.
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
10.1.1
As part of this release we had3 issues closed.
Bugs
10.1.0
As part of this release we had6 issues closed.
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
10.0.0
https://docs.automapper.org/en/latest/10.0-Upgrade-Guide.html
As part of this release we had30 issues closed.
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
9.0.0
As part of this release we had21 issues closed.
This release completely removes the static mapper (
Mapper.Map) and dynamic mapping. See the9.0 upgrade guide for details on how to migrate.Improvements/Features
Bugs
Where to get it
You can download this release fromnuget
8.1.1
As part of this release we had10 issues closed.
Improvements
Bugs
Where to get it
You can download this release fromnuget
8.1.0
As part of this release we had31 issues closed.
New feature:attribute-based maps
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
8.0.0
As part of this release we had45 issues closed.
Bugs
Improvements/Features
... (truncated)
7.0.1
As part of this release we had11 issues closed.
This is a bugfix release to remove the dependency on the deprecated
System.Reflection.Emitpackage from Microsoft.Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
7.0.0
As part of this release we had48 issues closed.
This release contains mainly bug fixes and afew breaking API changes, as well as an explicit
netstandard2.0target.Bugs
Improvements/Features
... (truncated)
6.2.2
As part of this release we had7 issues closed.
Improvement
Bugs
Where to get it
You can download this release fromnuget
6.2.1
As part of this release we had7 issues closed.
Improvements
Bugs
Where to get it
You can download this release fromnuget
6.2.0
As part of this release we had70 issues closed.
Features
Improvements
Bugs
... (truncated)
6.1.1
As part of this release we had12 issues closed.
This release includes the ability to turn off the un-flattening behavior added in 6.1.0 usingForPath.Ignore
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
6.1.0
As part of this release we had28 issues closed.
Bugs
Improvements/Features
Where to get it
You can download this release fromnuget
6.0.2
Removed the unused ValueTuple dependency
6.0.1
Stupid assembly version was missing.
6.0.0
As part of this release we had62 issues closed.
List of breaking changes:
5.2.0...6.0.0
Features
Improvements
Bugs
... (truncated)
5.2.0
As part of this release we had74 issues closed.
Features
Improvements
Bugs
... (truncated)
5.1.0
As part of this release we had57 issues closed.
Features
Improvements
Bugs
Description has been truncated