Releases: LuckyPennySoftware/AutoMapper
v15.0.1
What's Changed
- Removing public signing; fixes #4545 by @jbogard in #4552
- Adding back missing overloads and reverting registering behavior by @jbogard in #4554
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
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
What's Changed
- Reverted the nullable annotations by @lbargaoanu in #4390
- Fix polymorphic mapping when some derived types have explicit mappings and others do not by @kev-andrews in #4402
- The default naming conventions for a profile should come from the glo… by @lbargaoanu in #4428
- Fix Issue #4502 - Confusing exception when trying to map types with … by @Biotronic in #4503
- Target .net 8 and seal more classes by @lbargaoanu in #4474
- Target .Net 9 in tests by @lbargaoanu in #4507
- Changed lock-threads parameters by @lbargaoanu in #4516
- Don't throw and catch on validation by @lbargaoanu in #4526
New Contributors
- @kev-andrews made their first contribution in #4402
- @Biotronic made their first contribution in #4503
Full Changelog: v13.0.1...v14.0.0
v13.0.1
What's Changed
- Updating to latest template from readthedocs.io by @jbogard in #4380
- Remove Microsoft.CSharp nuget dependency by @Romfos in #4381
- We build for .net 6 now by @lbargaoanu in #4382
- Revert "nullable annotations for the runtime public API" by @jbogard in #4388
New Contributors
Full Changelog: v13.0.0...v13.0.1
v13.0.0
What's Changed
- Emphasized the ProjectTo method call location by @jbogard in #4105
- Target .NET 6 by @lbargaoanu in #4202
- Add the DI code by @lbargaoanu in #4278
- Support mapping of polymorphic collection with abstract parent type by @kvpt in #4304
- Constructor mapping inheritance by @rubengonzalezlodeiro in #4314
- Add integration test case by @kvpt in #4320
- add options to disable and override ExplicitExpansion by @Angelinsky7 in #4327
- ProjectTo runtime polymorphic mapping with Include/IncludeBase by @lbargaoanu in #4280
New Contributors
- @kvpt made their first contribution in #4304
- @rubengonzalezlodeiro made their first contribution in #4314
- @Angelinsky7 made their first contribution in #4327
Full Changelog: v12.0.1...v13.0.0
v12.0.1
What's Changed
- Don't mention a specific upgrade guide anymore by @lbargaoanu in #4078
- Null source member should overwrite existing destination member by @lbargaoanu in #4083
- Only consider explicitly included maps by @lbargaoanu in #4097
- Only dotnet test is needed by @lbargaoanu in #4197
Full Changelog: v12.0.0...v12.0.1
v12.0.0
What's Changed
- Prefer derived interfaces by @lbargaoanu in #3887
- Converting integration tests to EF Core by @jbogard in #3881
- Use TypePair.ContainsGenericParameters by @lbargaoanu in #3918
- allow building on Linux (and probably macOS) by @adamralph in #3938
- Continue chaining after AsProxy by @korser1 in #3895
- chore: Set permissions for GitHub actions by @naveensrinivasan in #3987
- Suppress generic constraint exceptions in GetPublicNoArgExtensionMethods by @stephentoub in #3999
- Default implementation for GetSubQueryMarker by @lbargaoanu in #3920
- install command from cli is added in README.md by @nameson2672 in #3982
- Consider member value resolvers and value converters for source valid… by @lbargaoanu in #4011
- Use Enum.Parse by @lbargaoanu in #4032
New Contributors
- @naveensrinivasan made their first contribution in #3987
- @stephentoub made their first contribution in #3999
- @nameson2672 made their first contribution in #3982
Full Changelog: 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 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
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