Skip to content

Releases: LuckyPennySoftware/AutoMapper

v15.0.1

11 Jul 01:24
Compare
Choose a tag to compare

What's Changed

Full Changelog: v15.0.0...v15.0.1

This release supersedes the 15.0.0 release, reverting behavior and overloads so that the AddAutoMapper 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.

v15.0.0

02 Jul 14:30
Compare
Choose a tag to compare

Full Changelog: 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 with MapperConfiguration requiring an ILoggerFactory for logging purposes:

public MapperConfiguration(MapperConfigurationExpression configurationExpression, ILoggerFactory loggerFactory)

Registering AutoMapper with services.AddAutoMapper will automatically supply this parameter. Otherwise you'll need to supply the logger factory.

You can obtain your license key at AutoMapper.io

v14.0.0

14 Feb 21:02
bf76a58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v13.0.1...v14.0.0

v13.0.1

07 Feb 21:42
f137534
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v13.0.0...v13.0.1

v13.0.0

05 Feb 16:15
f937b0f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v12.0.1...v13.0.0

v12.0.1

16 Jan 15:28
8d027f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v12.0.0...v12.0.1

v12.0.0

30 Sep 09:44
73ba400
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v11.0.1...v12.0.0
Upgrade Guide: https://docs.automapper.org/en/latest/12.0-Upgrade-Guide.html

11.0.1

04 Feb 15:51
9ccbd7c
Compare
Choose a tag to compare

As part of this release we had 10 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 from nuget

11.0.0

05 Jan 15:29
ad5a6f8
Compare
Choose a tag to compare

The upgrade guide.

As part of this release we had 17 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 from nuget

10.1.1

16 Oct 16:02
f31e398
Compare
Choose a tag to compare

As part of this release we had 3 issues closed.

Bugs

  • #3520 NonNullableToNullable
  • #3519 InvalidProgramException with ProjectTo and nullable ints
  • #3517 Operation could destabilize the runtime with ProjectTo and NHibernate