Skip to content

Releases: MapsterMapper/Mapster

2.1.0 Added Registration and Projection List<T> creation

Choose a tag to compare

@eswann eswann released this 25 Jan 21:52

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

v2.0.4: - Add extension method

Choose a tag to compare

@chaowlert chaowlert released this 03 Dec 03:53
  • 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

Choose a tag to compare

@chaowlert chaowlert released this 03 Dec 03:52
  • FIX: do not validate explicit mapping for child property

v2.0.2

Choose a tag to compare

@chaowlert chaowlert released this 03 Dec 03:52
  • Improve array copy performance

v2.0.1

Choose a tag to compare

@chaowlert chaowlert released this 03 Dec 03:51
  • FIX: TypeAdapt.Adapt(obj) cannot convert in some cases.

Mapster 2.0

Choose a tag to compare

@chaowlert chaowlert released this 22 Mar 00:13
  • 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

Choose a tag to compare

@eswann eswann released this 04 Mar 17:57

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

Allows registering of custom primitive types.

Pull request for better EF support

Choose a tag to compare

@eswann eswann released this 27 Feb 22:57

Thanks to @chaowlert for the pull requests that better support EF and correct a hashkey issue.