Skip to content

Releases: MapsterMapper/Mapster

2.3.0 Add features

22 Mar 00:12
Compare
Choose a tag to compare

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

03 Dec 03:53
Compare
Choose a tag to compare

FIX: ignore null values
Add descriptive exception when map immutable type
Create ProjectToType and obsolete Project.To

2.1.1

03 Dec 03:53
Compare
Choose a tag to compare
  • FIX: EF should not create empty object on null property in projection
  • Add more descriptive error message for projection

2.1.0 Added Registration and Projection List<T> creation

25 Jan 21:52
Compare
Choose a tag to compare

Support for Projecting to List
Support for Assembly scanning for registration
Small optimizations
Consistency improvements for Registration patterns

v2.0.4: - Add extension method

03 Dec 03:53
Compare
Choose a tag to compare
  • 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

03 Dec 03:52
Compare
Choose a tag to compare
  • FIX: do not validate explicit mapping for child property

v2.0.2

03 Dec 03:52
Compare
Choose a tag to compare
  • Improve array copy performance

v2.0.1

03 Dec 03:51
Compare
Choose a tag to compare
  • FIX: TypeAdapt.Adapt(obj) cannot convert in some cases.

Mapster 2.0

22 Mar 00:13
Compare
Choose a tag to compare
  • 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

04 Mar 17:57
Compare
Choose a tag to compare

Small (very) perf improvement and update to primitivetypes config.

Allows registering of custom primitive types.