Mapster 2.1.2

A fast, fun and stimulating object to object mapper.  Kind of like AutoMapper, just simpler and way, way faster.

There is a newer version of this package available.
See the version list below for details.
Install-Package Mapster -Version 2.1.2
dotnet add package Mapster --version 2.1.2
<PackageReference Include="Mapster" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mapster --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Release Notes (2.0)
- Performance improvement (2-3x)
- Projection is improved to generate better sql queries
- Mapster is now able to map structs
- Flagged enums are supported
- You can now both opt-in and opt-out of settings
- Settings inheritance is able to inherit from interfaces
- Settings inheritance is now combined (it does not only pick from the closest parent)
- New rule based settings, you can defined your settings at a more granular level
- Settings are no longer only static, you can use different setting configurations for particular mappings
- You can ignore properties by attributes
- Now you can set up mapping between different types. Ex: config.Map(dest => dest.AgeString, src => src.AgeInt)
- Mapster now supports circular reference mapping!
- Supports more frameworks (.NET 4.0, 4.5, .NET Core RC 5.4)

Added in 2.1.0
- Support for Projecting to List<T>
- Support for Assembly scanning for registration
- Small optimizations
- Consistency improvements for Registration patterns

Version History

Version Downloads Last updated
4.1.0 5,157 6/15/2019
4.0.0 26,781 4/13/2019
3.3.2 21,696 3/6/2019
3.3.1 17,787 2/5/2019
3.3.0 3,053 1/29/2019
3.2.0 86,052 9/9/2018
3.1.8 139,917 11/16/2017
3.1.7 1,049 11/11/2017
3.1.6 15,165 10/15/2017
3.1.5 1,309 10/9/2017
3.1.4 2,626 10/1/2017
3.1.3 22,270 8/22/2017
3.1.1 14,862 6/19/2017
3.1.0 3,264 6/11/2017
3.0.4 2,931 5/28/2017
2.6.1 26,814 12/8/2016
2.6.0 650 12/3/2016
2.5.0 26,929 8/7/2016
2.4.3 1,937 7/14/2016
2.4.2 715 7/4/2016
2.4.1 725 6/22/2016
2.4.0 585 6/18/2016
2.3.0 4,998 3/18/2016
2.1.2 3,071 2/15/2016
2.1.1 724 1/29/2016
2.1.0 826 1/25/2016
2.0.4 543 1/21/2016
2.0.3 554 1/20/2016
2.0.2 483 1/19/2016
2.0.1 492 1/19/2016
2.0.0 477 1/19/2016
1.14.0 10,340 3/4/2015
1.12.0 629 3/2/2015
Show less