github AutoMapper/AutoMapper v4.1.0
4.1.0

As part of this release we had 49 issues closed.

Features

Improvements

  • #933 ProjectUsing for the entity being queried
  • #929 Allow custom factories in PlatformAdapter
  • #927 ProxyGenerator injection support
  • #894 Fixed Issues with property map inheritance
  • #853 Added Serializable attribute to AutoMapperMappingException
  • #849 Initial types in the resolution context
  • #840 Mapping and Projecting enum strange behavior
  • #836 Obsolete all Project.To and replace with ProjectTo
  • #830 Projections should honour As
  • #827 Use the constructor map only when we can resolve parameters
  • #824 The test execution process crashed while running the tests
  • #822 AutoMapper 4.0.4 - How to fix this breaking change: Base class mapping is now default for derived class mapping
  • #816 Fix for #815
  • #815 Strange issue with Automapper 4 and overloaded constructors
  • #624 Consistent ResolveUsing and ConvertUsing interfaces
  • #551 Error: Type does not have a default constructor when using destination override and abstract types

Bugs

  • #941 Inheritance bug 910
  • #924 Derived type is created instead of requested type
  • #920 Fix for #918
  • #914 NestedDtos
  • #912 Auto-selecting child class even if you map from the parent one
  • #910 Unexpected behavior of AllowNullDestinationValues and Map(object) (Part 2)
  • #909 DTOs with ctors issue when mapping ef models
  • #893 Incorrect mapping chosen when immediate source type is not mapped.
  • #887 Subtype mappings declares using As() or Include() are ignored when mapping subtypes of the subtype.
  • #877 Non generic ConstructProjectionUsing bug
  • #868 As<>() is completely ignored. Can't specify subtypes to use in mapping.
  • #857 Nested explicit expand bug 838
  • #847 AutoMapper 4 targeting wrong constructor on instantiation
  • #846 Fix typo in AfterMap xml comment
  • #844 RT error calling CreateMap: Cannot find a field or property named X
  • #842 InvalidCastException when using mapping inheritance
  • #841 StackOverflowException on « GetCustomAttributes » when mapping Enum to Enum
  • #838 StackOverflowException with ExplicitExpand
  • #833 Fix for #832
  • #832 ReverseMap and ReplaceMemberName don't work together
  • #828 Overriding destination type with .As<> does not work as in 3.3.1.0
  • #825 System.AggregateException incluided in AutoMapper 4.0.4
  • #823 Overlapping assembly references after updating to 4.0.4
  • #819 Mapping inheritance doesn't work in 4.0.4
  • #812 Fixed misspelling of 'extension' in intellisense comments

Where to get it

You can download this release from nuget

latest releases: v10.1.1, v10.1.0, v10.0.0...
5 years ago