Skip to content

Releases: LuckyPennySoftware/AutoMapper

10.1.0

14 Oct 20:01
daf978f
Compare
Choose a tag to compare

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

01 Jul 17:45
Compare
Choose a tag to compare

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

9.0.0

12 Aug 13:07
53faf3f
Compare
Choose a tag to compare

As part of this release we had 21 issues closed.

This release completely removes the static mapper (Mapper.Map) and dynamic mapping. See the 9.0 upgrade guide for details on how to migrate.

Improvements/Features

  • #3134 Remove dynamic maps
  • #3136 Removing static API
  • #3187 Match destination enumerable types with it's enumerable for LINQ
  • #3182 Help the runtime find the AM assembly
  • #3180 Update Custom-value-resolvers.md
  • #3173 Don't check for IDisposable at runtime for value types
  • #3170 Update Conditional Mapping docs
  • #3169 ForCtorParam MapFrom any expression
  • #3162 Inherit included members
  • #3160 WIP ForCtorParam MapFrom any expression
  • #3158 Call dispose on the enumerator while avoiding boxing
  • #3150 When using the context, check that the right Map overload was used
  • #3149 Public Source property for ContextCacheKey
  • #3144 Automate updating last version binary
  • #3141 Moving enums after assignable to simplify assignable enums
  • #3135 Remove static API
  • #3127 Respect AllowNullCollections
  • #3106 Adding ResolutionContext to IMappingAction<TSource, TDestination>.Process()
  • #3105 ResolutionContext unavailable in IMappingAction
  • #3063 Remove dynamic maps

Bugs

  • #3172 Allow non nullable default values for nullable enum constructor param…

Where to get it

You can download this release from nuget

8.1.1

03 Jun 18:28
94bd958
Compare
Choose a tag to compare

As part of this release we had 10 issues closed.

Improvements

  • #3102 Deprecate CreateMissingTypeMaps and change the default to false
  • #3082 Deprecate the static mapper
  • #3101 Validate all member maps, not only the property maps
  • #3096 Type.EmptyTypes instead of new Type[0]
  • #3050 Enabled multiple usage of AutoMapAttribute

Bugs

  • #3098 IncludeMembers with Include
  • #3072 Revert a recent change to Include
  • #3061 Null check
  • #3060 Check for extension methods
  • #3056 Resolve can create new maps

Where to get it

You can download this release from nuget

8.1.0

25 Apr 20:56
d1c77a4
Compare
Choose a tag to compare

As part of this release we had 31 issues closed.

New feature: attribute-based maps

Bugs

  • #3040 Match members by name
  • #3038 ForAllOtherMembers rewrites mapping of properties.
  • #3021 Checking collections for null is not allowed in EF6
  • #3020 fixed enum values caseinsensitivity bug
  • #2977 Skip generic mappings when precompiling
  • #2967 Handle redirected properties in the let clause
  • #2927 Generics with untyped MapFrom
  • #2902 Validation fails despite a value resolver being configured
  • #2901 A value converter/resolver always returns a value of the destination …
  • #2887 A constructor parameter with no name won't match anything

Improvements/Features

  • #3041 Refactor feature extensions
  • #3030 Features cleanup
  • #3004 Obsolete Profile.CreateMissingTypeMaps
  • #3003 IncludeMembers with MemberList.Source validation
  • #3001 Respect PathMappings in unmapped property names list
  • #2997 Dropping value tuples.
  • #2981 AutoMap attribute configuration options
  • #2978 AutoMap attribute configuration options
  • #2972 Include members
  • #2969 Consolidate ProjectTo parameters handling
  • #2960 Add support to specify ShouldMapMethod
  • #2952 Added AddProfiles method that takes an IEnumerable
  • #2944 Attribute map configuration
  • #2940 Flow resolution context to nested mappings
  • #2938 Assume single automap attribute
  • #2936 Support configuring attribute maps with additional properties
  • #2933 Attributes to define a type map configuration
  • #2930 Support creating maps via attributes
  • #2928 Set UseDestinationValue for readonly members
  • #2895 Throw a detailed exception when sourceExpression is null in MapFrom.
  • #2892 Added methods BeforeMap and AfterMap for IMappingExpression with ResolutionContext

Where to get it

You can download this release from nuget

8.0.0

17 Nov 14:17
af60a49
Compare
Choose a tag to compare

As part of this release we had 45 issues closed.

Bugs

  • #2746 Check for generic instances of included maps
  • #2742 IncludeBase doesn't work with a generic map
  • #2741 fix PropertiesWithAnInaccessibleSetter
  • #2740 IgnoreAllPropertiesWithAnInaccessibleSetter not working with base classes

Improvements/Features

  • #2874 [Simplify include base with IncludeAllDerived](http://docs.automapper.org/en/stable/Mapping-inheritance.html?highlight=includeallderived
  • #2873 Read only dictionaries support
  • #2867 Update Dependency-injection.md
  • #2866 Added IMapper.ProjectTo
  • #2859 Generic maps validation
  • #2857 IMapper.ProjectTo
  • #2850 Added example for Castle Windsor
  • #2849 Validate closed generic maps
  • #2848 Closed generic maps validation
  • #2846 ForPath works only with Map
  • #2844 Dynamic child maps validation
  • #2840 Xml docs
  • #2838 Consider ISet as a collection type when mapping null
  • #2834 Remove the symbols package
  • #2827 Rename ISourceMemberConfigurationExpression.Ignore to DoNotValidate
  • #2826 Replace all .DestinationMember.Name with .DestinationName and revert …
  • #2820 Contextual exceptions for path maps
  • #2817 Path property map refactor
  • #2814 Set ignored in the property map constructed from a path map
  • #2813 Mapping with ForPath causes StackOverflowException
  • #2809 Consolidate ResolveUsing to MapFrom
  • #2808 Consolidate construct using
  • #2807 Consolidating ProjectUsing to ConvertUsing
  • #2806 Value converters
  • #2804 Drop netstandard13
  • #2800 fixed whitespace
  • #2795 Remove ConstructProjectionUsing
  • #2794 Support readonly collection types
  • #2790 ProxyGenerator: The fully qualified type name must be less than 1,024 characters.
  • #2780 Remove Substitute
  • #2778 AssertConfigurationIsValid(profileName) should throw if name does not exist
  • #2776 Proposal: Kill Substitute
  • #2774 Update Value-transformers.md
  • #2764 Open generic and destination type redirect not working
  • #2751 System.ValueTuple is included from 4.7 on
  • #2728 Allow PreCondition to modify destination object.
  • #2727 Provide the destination object in a PreCondition overload
  • #2698 Implement ShouldUseConstructor
  • #2691 Limit which constructors can be used
  • #2684 Drop netstandard1.3 support
  • #2628 Simplify inclusion of base mappings

Where to get it

You can download this release from nuget

7.0.1

18 Jun 13:04
Compare
Choose a tag to compare

As part of this release we had 11 issues closed.

This is a bugfix release to remove the dependency on the deprecated System.Reflection.Emit package from Microsoft.

Bugs

  • #2661 Regression: Exception during Expression Builder Map Creation

Improvements/Features

  • #2682 Remove package references to System.Reflection.Emit
  • #2681 ProjectTo : An edge case with the let clause
  • #2679 Adding sourcelink to enable PDB debugging
  • #2677 Parameterized queries
  • #2675 Unable to cast TypedConstantExpression to MemberExpression in ProjectTo
  • #2671 Include with open generics
  • #2669 Fix SetTraceIdentifierAction constructor name
  • #2665 Does AutoMapper support Open Generics with inheritance from a non-generic base class?
  • #2664 Link to the new expressions package
  • #2662 Fix bad similar type replacement in parameters

Where to get it

You can download this release from nuget

7.0.0

05 Jun 18:38
1b2c759
Compare
Choose a tag to compare

As part of this release we had 48 issues closed.

This release contains mainly bug fixes and a few breaking API changes, as well as an explicit netstandard2.0 target.

Bugs

  • #2521 #2520 - Fixed Effort- and ODataQueryTests and a bug in ExpressionVisitor
  • #2502 Return the same type on both branches
  • #2501 ProjectTo Exception: Argument types do not match
  • #2466 Mapping from ExpandoObject to existing destination
  • #2461 The MapFrom should have higher priority than postfixes
  • #2459 ForMember doesn't work after AddMemberConfiguration().AddName()

Improvements/Features

  • #2658 Break out expression mapper
  • #2651 Add a section about conditions and resolvers
  • #2650 Condition vs PreCondition docs
  • #2641 Nullable untyped MapFrom
  • #2640 Dynamic mapping : Map null to the default for value types
  • #2633 Exception when mapping from an ExpandoObject.
  • #2632 Add repository information to csproj
  • #2621 Say that it's a dynamic map when validation fails
  • #2616 Fixed documentation to not have DuplicateTypeMap
  • #2614 Update unit test to match behavior as explained
  • #2610 Extract NullsafeQueryRewriter to separate licensed file
  • #2606 From #2515
  • #2605 Removing preview version of VS 2017
  • #2604 Fix to issue #2578
  • #2603 Fix TypeDetails ignoring non-generic extension methods #2593
  • #2602 Fix projection to destinations using extension methods #2593
  • #2596 ##2594: Remove empty profile name from MapperConfigurationException
  • #2594 Exception Message for DuplicateTypeMapConfigurationException
  • #2593 ProjectTo error with aggregate functions on IEnumerable
  • #2586 Update build status link
  • #2580 Fix for Issue #2578
  • #2578 Automapper should sort properties in ProjectTo consistently
  • #2575 .NET Standard 2.0 support
  • #2568 ProjectTo : Expose binders and result converters
  • #2560 Define ComVisible Attribute
  • #2541 Missing closing bracket in example code
  • #2518 Use resolve when looking for included maps
  • #2513 Open generics in combination with mapping inheritance do not work
  • #2504 fix whitespace
  • #2499 Let clause : explicitly generate just the properties we need
  • #2495 Update Lists-and-arrays.md
  • #2494 Ignore properties that are not expanded
  • #2491 Update copy of NeinLinq.NullsafeQueryRewriter
  • #2490 Massive performance issues from 6.1.0 upwards
  • #2488 Custom validation docs
  • #2487 Test for #2486
  • #2477 Added doc for IMappingAction and Asp.Net Core Dependency Injection.
  • #2476 Include<,> and IncludeBase<,> is not creating equal TypeMap.IncludedBaseTypes
  • #2475 Include<,> and IncludeBase<,> is not creating equal TypeMap.IncludedBaseTypes
  • #2471 Update Value-transformers.md
  • #2469 Make mapping at runtime closer to inline mapping
  • #2446 Adding missing docs from wiki

Where to get it

You can download this release from nuget

6.2.2

06 Dec 15:24
877d917
Compare
Choose a tag to compare

As part of this release we had 7 issues closed.

Improvement

  • #2421 Better error message when the creation of the instantiation expression fails

Bugs

  • #2450 Collection bug
  • #2438 We don't need the property map when mapping the item; for nested coll…
  • #2437 NullReferenceException when mapping List to ObservableCollection and CollectionChanged event not fired
  • #2419 Consider value types
  • #2418 Struct self-mapping
  • #2397 Mapping between different ICollection implementations fails

Where to get it

You can download this release from nuget

6.2.1

16 Nov 14:53
146be21
Compare
Choose a tag to compare

As part of this release we had 7 issues closed.

Improvements

  • #2407 Add Mapper.Reset to reset static mapping
  • #2406 Adding ability to configure the member list to validate; closes #2402
  • #2404 Add Mapper.Reset back

Bugs

  • #2403 Moving inline map creation back to inside type map resolving
  • #2402 6.2.0 Broke Conventions-Based Mappings With Missing Target Members
  • #2399 After upgrade to 6.2.0 - xUnit test fixtures throw exception
  • #2394 Inline maps broke missing type map creation for ProjectTo.

Where to get it

You can download this release from nuget