Mapster 2.1.0
A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, just simpler and way, way faster.
No packages depend on Mapster.
Release Notes (2.0)
- Performance improvement (2-3x)
- Projection is improved to generate nicer sql query
- Mapster is now able to map struct
- Flagged enum is supported
- You can now both opt-in and opt-out setting
- Setting inheritance is able to inherit from interface
- Setting inheritance is now combined (it does not only pick from the closest parent)
- New rule based setting, you can defined your setting more granular level
- Setting is no more static, you can overload your setting to use different setting for your mapping
- You can ignore properties by attributes
- Now you can setup your map from different type ie config.Map(dest => dest.AgeString, src => src.AgeInt)
- Mapster is now support circular reference mapping!
- Supported 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
.NET Framework 4.0
- No dependencies.
.NET Framework 4.5
- No dependencies.
.NETPlatform 5.4
- Microsoft.CSharp (>= 4.0.0)
- System.Collections.NonGeneric (>= 4.0.0)
- System.Linq.Queryable (>= 4.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 9.0.0-pre01 | 1 | 2025/11/18 |
| 7.4.2-pre02 | 0 | 2025/1/13 |
| 7.4.2-pre01 | 0 | 2025/1/2 |
| 7.4.1-pre01 | 0 | 2023/9/22 |
| 7.4.0 | 10 | 2025/6/9 |
| 7.4.0-pre06 | 1 | 2025/8/23 |
| 7.4.0-pre05 | 0 | 2023/1/7 |
| 7.4.0-pre04 | 0 | 2023/1/3 |
| 7.4.0-pre03 | 1 | 2025/8/23 |
| 7.4.0-pre02 | 0 | 2022/4/5 |
| 7.4.0-pre01 | 0 | 2022/4/4 |
| 7.3.0 | 2 | 2025/8/21 |
| 7.2.0 | 2 | 2025/8/21 |
| 7.1.5 | 2 | 2025/8/21 |
| 7.1.3 | 2 | 2025/8/21 |
| 7.0.1 | 3 | 2025/6/10 |
| 7.0.0 | 2 | 2025/8/21 |
| 6.5.1 | 3 | 2025/6/10 |
| 6.5.0 | 3 | 2025/6/10 |
| 6.1.1 | 3 | 2025/6/10 |
| 6.0.0 | 3 | 2025/6/10 |
| 5.3.2 | 3 | 2025/6/10 |
| 5.3.1 | 2 | 2025/8/21 |
| 5.3.0 | 2 | 2025/8/21 |
| 5.2.0 | 3 | 2025/6/10 |
| 5.1.0 | 2 | 2025/8/21 |
| 5.0.0 | 2 | 2025/8/21 |
| 4.1.1 | 3 | 2025/6/10 |
| 4.1.0 | 2 | 2025/8/21 |
| 4.0.0 | 3 | 2025/6/10 |
| 3.3.2 | 2 | 2025/8/21 |
| 3.3.1 | 2 | 2025/8/21 |
| 3.3.0 | 3 | 2025/6/10 |
| 3.2.0 | 3 | 2025/6/10 |
| 3.1.8 | 3 | 2025/6/10 |
| 3.1.7 | 2 | 2025/8/21 |
| 3.1.6 | 2 | 2025/8/21 |
| 3.1.5 | 3 | 2025/6/10 |
| 3.1.4 | 2 | 2025/8/21 |
| 3.1.3 | 2 | 2025/8/21 |
| 3.1.1 | 3 | 2025/6/10 |
| 3.1.0 | 2 | 2025/8/21 |
| 3.0.4 | 2 | 2025/8/21 |
| 2.6.1 | 2 | 2025/8/21 |
| 2.6.0 | 2 | 2025/8/21 |
| 2.5.0 | 2 | 2025/8/21 |
| 2.4.3 | 2 | 2025/8/21 |
| 2.4.2 | 3 | 2025/6/10 |
| 2.4.1 | 2 | 2025/8/21 |
| 2.4.0 | 3 | 2025/6/10 |
| 2.3.0 | 3 | 2025/6/10 |
| 2.1.2 | 2 | 2025/8/21 |
| 2.1.1 | 2 | 2025/8/21 |
| 2.1.0 | 2 | 2025/8/21 |
| 2.0.4 | 3 | 2025/6/10 |
| 2.0.3 | 2 | 2025/8/21 |
| 2.0.2 | 2 | 2025/8/21 |
| 2.0.1 | 3 | 2025/6/10 |
| 2.0.0 | 2 | 2025/8/21 |
| 1.14.0 | 3 | 2025/6/10 |
| 1.12.0 | 3 | 2025/6/10 |