As part of this release we had 36 issues closed.
Features
- Provide option for custom constructor for LINQ projection#560
- Open Generic mappings#549
- Support string conversion in LINQ projections#545
- Added Functionality to Support Web Api expands on Projections#520
- Request: Mapper.Map() callbacks.#503
- Missing feature of handling enum to string mappings in queryable projections#494
- Replace member names with Mapper.Initialize#479
- Partial Aliases - Need to replace characters in member names#471
- Allow parameterizing LINQ queries#393
- Support converting expression trees#294
- Configuration setting: allow public vs. internal properties to map.#218
- Support open generic types#59
Improvements
- Mapper.Reset does not clear the Project().To() expression trees.#614
- AddGlobalIgnore does not work when the property name exists on both source and destination, but types are not compatible.#585
- Addressing issues with ExpressionMapper logic.#584
- Work around xunit issue which drops everything after dashes.#564
- Support nullable destination when using custom MapFrom#559
- Inheritance Include with Unincluded inherited mappings#537
- Expose TypeMap in MappingExpression#531
- Automapper projection don't support custom type converters#522
- Fixed #511 - error when trying to map to a ReadOnlyCollection at top-level (i.e. not a property)#512
- Mapping List to ReadOnlyCollection no longer works#511
- Non Generic Version of .UseDestinationValue#509
- Support NullSubstitute in LINQ expressions#506
- Inheritance Maps specified from Derived Class#456
- NotSupportedException on clear in ListSourceMapper #404
Bugs
- Automapper 3.2.1 and appharbor -> failure#609
- Fix Automapper.targets to not use Content type item#581
- AssertConfigurationIsValid fails for destination overrides (As)#574
- .targets file causes AutoMapper to be included by Web Publishing#556
- Fixed #511 - error when trying to map to a ReadOnlyCollection at top-level (i.e. not a property)#532
- Null array properties behaviour changes 3.0 -> 3.1#526
- Using AutoMapper breaks design time experience in Expression Blend #524
- AssertConfigurationIsValid ignore provided typemaps for DryRun#505
- In post 3.0.0 builds, using NullSubstitute results in model type name being substituted instead of value provided#469
Where to get it
You can download this release from nuget