Releases: MapsterMapper/Mapster
Releases · MapsterMapper/Mapster
2.3.0 Add features
FIX: ignore null value
Add ProjectToType and obsolete Project.To
Support RecordType
Clone setting
Support AfterMapping
Allow sending runtime value
Support converting object to dict and dict to object
Flexible name mapping strategy
Sign assembly
2.1.2
2.1.1
2.1.0 Added Registration and Projection List<T> creation
Support for Projecting to List
Support for Assembly scanning for registration
Small optimizations
Consistency improvements for Registration patterns
v2.0.4: - Add extension method
- Add extension method
- FIX: RequireExplicitMapping should apply to only classes (not lists & primitives)
- FIX: Compile didn't work when map enum to string
- FIX: Adapt method will complain about optional argument in expression
v2.0.3
v2.0.2
v2.0.1
Mapster 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)
Small (very) perf improvement and update to primitivetypes config
Small (very) perf improvement and update to primitivetypes config.
Allows registering of custom primitive types.