Release notes
*Sourced from [Automapper's releases](https://github.com/AutoMapper/AutoMapper/releases).*
> ## 8.1.0
> As part of this release we had [31 issues](https://github.com/AutoMapper/AutoMapper/issues?milestone=34&state=closed) closed.
>
> New feature: [attribute-based maps](https://docs.automapper.org/en/latest/Attribute-mapping.html)
>
> __Bugs__
> - [__[#3040](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3040)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3040) Match members by name
> - [__[#3038](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3038)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3038) ForAllOtherMembers rewrites mapping of properties.
> - [__[#3021](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3021)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3021) Checking collections for null is not allowed in EF6
> - [__[#3020](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3020)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3020) fixed enum values caseinsensitivity bug
> - [__[#2977](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2977)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2977) Skip generic mappings when precompiling
> - [__[#2967](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2967)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2967) Handle redirected properties in the let clause
> - [__[#2927](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2927)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2927) Generics with untyped MapFrom
> - [__[#2902](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2902)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2902) Validation fails despite a value resolver being configured
> - [__[#2901](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2901)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2901) A value converter/resolver always returns a value of the destination …
> - [__[#2887](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2887)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2887) A constructor parameter with no name won't match anything
>
> __Improvements/Features__
> - [__[#3041](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3041)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3041) Refactor feature extensions
> - [__[#3030](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3030)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3030) Features cleanup
> - [__[#3004](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3004)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3004) Obsolete Profile.CreateMissingTypeMaps
> - [__[#3003](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3003)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3003) IncludeMembers with MemberList.Source validation
> - [__[#3001](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3001)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3001) Respect PathMappings in unmapped property names list
> - [__[#2997](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2997)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2997) Dropping value tuples.
> - [__[#2981](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2981)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2981) AutoMap attribute configuration options
> - [__[#2978](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2978)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2978) AutoMap attribute configuration options
> - [__[#2972](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2972)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2972) Include members
> - [__[#2969](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2969)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2969) Consolidate ProjectTo parameters handling
> - [__[#2960](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2960)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2960) Add support to specify ShouldMapMethod
> - [__[#2952](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2952)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2952) Added AddProfiles method that takes an IEnumerable
> - [__[#2944](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2944)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2944) Attribute map configuration
> - [__[#2940](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2940)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2940) Flow resolution context to nested mappings
> - [__[#2938](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2938)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2938) Assume single automap attribute
> - [__[#2936](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2936)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2936) Support configuring attribute maps with additional properties
> - [__[#2933](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2933)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2933) Attributes to define a type map configuration
> - [__[#2930](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2930)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2930) Support creating maps via attributes
> - [__[#2928](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2928)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2928) Set UseDestinationValue for readonly members
> - [__[#2895](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2895)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2895) Throw a detailed exception when sourceExpression is null in MapFrom.
> - [__[#2892](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2892)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2892) Added methods BeforeMap and AfterMap for IMappingExpression with ResolutionContext
>
> ## Where to get it
> You can download this release from [nuget](https://www.nuget.org/packages/automapper/)
>
> ## 8.0.0
>
> As part of this release we had [45 issues](https://github.com/AutoMapper/AutoMapper/issues?milestone=33&state=closed) closed.
>
>
> __Bugs__
> - [__[#2746](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2746)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2746) Check for generic instances of included maps
> ... (truncated)
Commits
- [`d1c77a4`](https://github.com/AutoMapper/AutoMapper/commit/d1c77a45bf6ad996bfdbc1cb67d6761b0ecc51ab) Merge pull request [#3048](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3048) from AutoMapper/attribute-mapping-docs
- [`a354cdc`](https://github.com/AutoMapper/AutoMapper/commit/a354cdc6fde94cb399d6a7334253f6b500a9e03b) Adding new docs for mapping attributes
- [`a393714`](https://github.com/AutoMapper/AutoMapper/commit/a3937149affd8967e95da66a44f550a57a406c21) Merge pull request [#3043](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3043) from AutoMapper/lbargaoanu-patch-1
- [`8a379c0`](https://github.com/AutoMapper/AutoMapper/commit/8a379c08c9cbdffd0fb00caef77b18f88f321f1a) Update README.md
- [`4c8b805`](https://github.com/AutoMapper/AutoMapper/commit/4c8b8059058c558bf5c98c048dfa6cbe853bf030) Update README.md
- [`fe7a905`](https://github.com/AutoMapper/AutoMapper/commit/fe7a905dc0e986c1aa440c008e71cb62017c6a9a) Changing to HTTPS
- [`eef28df`](https://github.com/AutoMapper/AutoMapper/commit/eef28df782c921e2ec5976b2d39ab617aca9d785) Merge pull request [#3034](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3034) from AutoMapper/lbargaoanu-patch-1
- [`574593b`](https://github.com/AutoMapper/AutoMapper/commit/574593b809c69c23f1d7be411e1492ba1a585467) Merge pull request [#3040](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3040) from lbargaoanu/ForAllOtherMembers
- [`4332187`](https://github.com/AutoMapper/AutoMapper/commit/4332187a821c768231438f98de5f2293163d5082) Merge pull request [#3041](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3041) from lbargaoanu/feature_extensions
- [`23abc78`](https://github.com/AutoMapper/AutoMapper/commit/23abc7814c1d4f560bef2f556dfe087132f829c3) cosmetic
- Additional commits viewable in [compare view](https://github.com/AutoMapper/AutoMapper/compare/v6.2.2...v8.1.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps Automapper from 6.2.2 to 8.1.0.
Release notes
*Sourced from [Automapper's releases](https://github.com/AutoMapper/AutoMapper/releases).* > ## 8.1.0 > As part of this release we had [31 issues](https://github.com/AutoMapper/AutoMapper/issues?milestone=34&state=closed) closed. > > New feature: [attribute-based maps](https://docs.automapper.org/en/latest/Attribute-mapping.html) > > __Bugs__ > - [__[#3040](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3040)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3040) Match members by name > - [__[#3038](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3038)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3038) ForAllOtherMembers rewrites mapping of properties. > - [__[#3021](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3021)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3021) Checking collections for null is not allowed in EF6 > - [__[#3020](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3020)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3020) fixed enum values caseinsensitivity bug > - [__[#2977](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2977)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2977) Skip generic mappings when precompiling > - [__[#2967](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2967)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2967) Handle redirected properties in the let clause > - [__[#2927](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2927)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2927) Generics with untyped MapFrom > - [__[#2902](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2902)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2902) Validation fails despite a value resolver being configured > - [__[#2901](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2901)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2901) A value converter/resolver always returns a value of the destination … > - [__[#2887](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2887)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2887) A constructor parameter with no name won't match anything > > __Improvements/Features__ > - [__[#3041](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3041)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3041) Refactor feature extensions > - [__[#3030](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3030)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3030) Features cleanup > - [__[#3004](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3004)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3004) Obsolete Profile.CreateMissingTypeMaps > - [__[#3003](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3003)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3003) IncludeMembers with MemberList.Source validation > - [__[#3001](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3001)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/3001) Respect PathMappings in unmapped property names list > - [__[#2997](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2997)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2997) Dropping value tuples. > - [__[#2981](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2981)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2981) AutoMap attribute configuration options > - [__[#2978](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2978)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2978) AutoMap attribute configuration options > - [__[#2972](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2972)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2972) Include members > - [__[#2969](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2969)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2969) Consolidate ProjectTo parameters handling > - [__[#2960](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2960)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2960) Add support to specify ShouldMapMethod > - [__[#2952](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/2952)__](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/pull/2952) Added AddProfiles method that takes an IEnumerableCommits
- [`d1c77a4`](https://github.com/AutoMapper/AutoMapper/commit/d1c77a45bf6ad996bfdbc1cb67d6761b0ecc51ab) Merge pull request [#3048](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3048) from AutoMapper/attribute-mapping-docs - [`a354cdc`](https://github.com/AutoMapper/AutoMapper/commit/a354cdc6fde94cb399d6a7334253f6b500a9e03b) Adding new docs for mapping attributes - [`a393714`](https://github.com/AutoMapper/AutoMapper/commit/a3937149affd8967e95da66a44f550a57a406c21) Merge pull request [#3043](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3043) from AutoMapper/lbargaoanu-patch-1 - [`8a379c0`](https://github.com/AutoMapper/AutoMapper/commit/8a379c08c9cbdffd0fb00caef77b18f88f321f1a) Update README.md - [`4c8b805`](https://github.com/AutoMapper/AutoMapper/commit/4c8b8059058c558bf5c98c048dfa6cbe853bf030) Update README.md - [`fe7a905`](https://github.com/AutoMapper/AutoMapper/commit/fe7a905dc0e986c1aa440c008e71cb62017c6a9a) Changing to HTTPS - [`eef28df`](https://github.com/AutoMapper/AutoMapper/commit/eef28df782c921e2ec5976b2d39ab617aca9d785) Merge pull request [#3034](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3034) from AutoMapper/lbargaoanu-patch-1 - [`574593b`](https://github.com/AutoMapper/AutoMapper/commit/574593b809c69c23f1d7be411e1492ba1a585467) Merge pull request [#3040](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3040) from lbargaoanu/ForAllOtherMembers - [`4332187`](https://github.com/AutoMapper/AutoMapper/commit/4332187a821c768231438f98de5f2293163d5082) Merge pull request [#3041](https://github-redirect.dependabot.com/AutoMapper/AutoMapper/issues/3041) from lbargaoanu/feature_extensions - [`23abc78`](https://github.com/AutoMapper/AutoMapper/commit/23abc7814c1d4f560bef2f556dfe087132f829c3) cosmetic - Additional commits viewable in [compare view](https://github.com/AutoMapper/AutoMapper/compare/v6.2.2...v8.1.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.