Releases: LuckyPennySoftware/AutoMapper
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
10.1.1
10.1.0
As part of this release we had 6 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 from nuget
10.0.0
https://docs.automapper.org/en/latest/10.0-Upgrade-Guide.html
As part of this release we had 30 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 from nuget